Skip to content

Build failure for gh-release crates.io dependency #476

@lixitrixi

Description

@lixitrixi

We've been experiencing a few issues in CI that seem to be caused by the gh-release feature and crates.io dependency.

  1. The feature seems to be inexplicably messing with our import of an internal macro crate which does not depend on z3. Changing to bundled resolved this for us.
  1. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions