-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
The latest version of the crate (0.19.6) and the one before (0.19.5) fail to build with the bundled feature. The build is done inside an arch linux container.
Clang version is 21.1.6:
mayday@dev-box ~/Coding/conjure/conjure-oxide (gs248/misc *) > clang -v
clang version 21.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/15.2.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/15.2.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/15.2.1
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
The build error is:
...
Compiling z3-sys v0.10.3
error: failed to run custom build command for `z3-sys v0.10.3`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `/home/mayday/Coding/conjure/conjure-oxide/target/debug/build/z3-sys-e1c29077158cf782/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build.rs
downloading to /home/mayday/Coding/conjure/conjure-oxide/target/debug/build/z3-sys-d2b304c340be7b4f/out/z3
--- stderr
error: error decoding response body
thread 'main' (267429) panicked at /home/mayday/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/z3-sys-0.10.3/build.rs:404:17:
Could not get submodule asset for z3-sys-0.10.3
stack backtrace:
0: __rustc::rust_begin_unwind
at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/std/src/panicking.rs:698:5
1: core::panicking::panic_fmt
at /rustc/ed61e7d7e242494fb7057f2657300d9e77bb4fcb/library/core/src/panicking.rs:75:14
2: build_script_build::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Our Cargo.toml for the crate which links to z3-sys:
[package]
name = "conjure-cp-core"
version = "0.0.1"
edition = "2024"
[features]
default = []
smt = ["dep:z3"]
extra-rule-checks = []
[dependencies]
conjure-cp-rule-macros = { path = "../conjure-cp-rule-macros" }
conjure-cp-enum-compatibility-macro = { path = "../conjure-cp-enum-compatibility-macro" }
minion-sys = { path = "../minion-sys" }
tree-morph = { path = "../tree-morph" }
z3 = { version = "0.19.6", default-features = false, features = ["bundled"], optional = true }
uniplate = { workspace = true }
project-root = { workspace = true }
linkme = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_with = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
thiserror = { workspace = true }
log = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
anyhow = { workspace = true }
regex = { workspace = true }
walkdir = { workspace = true }
derivative = { workspace = true }
schemars = { workspace = true }
clap = { workspace = true }
itertools = { workspace = true }
git-version = { workspace = true }
rustsat-minisat = { workspace = true }
rustsat = { workspace = true }
paste = { workspace = true }
static_assertions = { workspace = true }
defile = { workspace = true }
ustr = { workspace = true }
polyquine = { workspace = true }
syn = { workspace = true }
quote = { workspace = true }
proc-macro2 = { workspace = true }
num-traits = { workspace = true }
[dev-dependencies]
conjure-cp = { path = "../conjure-cp" }
[lints]
workspace = true
The build used to work before, but seems to be reliably failing now
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels