-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
We've been experiencing a few issues in CI that seem to be caused by the gh-release feature and crates.io dependency.
- The feature seems to be inexplicably messing with our import of an internal macro crate which does not depend on z3. Changing to
bundledresolved this for us.
- See Failed compilation due to missing
conjure_cp_essence_macroscrate conjure-cp/conjure-oxide#1327. The first broken commit was the one which changed from a git dependency to agh-releasecrates.io dependency, in refactor: depend on z3 from crates.io conjure-cp/conjure-oxide#1304.
- When updating to 0.19.5 with gh-release we get the following error in all build environments.
error: failed to run custom build command for `z3-sys v0.10.3`
Caused by:
process didn't exit successfully: `/home/runner/work/conjure-oxide/conjure-oxide/target/debug/build/z3-sys-6814f68fac856a2c/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=Z3_SYS_Z3_VERSION
--- stderr
thread 'main' (30329) panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/z3-sys-0.10.3/build.rs:197:9:
assertion `left == right` failed
left: 401
right: 200
It seems that these two issues are related since using bundled fixes both, but in the former case there could be a silent error during compilation which messes with the macro crate? I expect this has something to do with rate limiting as mentioned in conjure-cp/conjure-oxide#1306, but we addressed that with tokens (as far as I understand, but I wasn't involved directly).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels