[INFO] cloning repository https://github.com/andpleas1/zcash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andpleas1/zcash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89434df20270cf452598cd68727b0ecc833fc06f [INFO] testing andpleas1/zcash against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandpleas1%2Fzcash" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/andpleas1/zcash [INFO] finished tweaking git repo https://github.com/andpleas1/zcash [INFO] tweaked toml for git repo https://github.com/andpleas1/zcash written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andpleas1/zcash on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andpleas1/zcash already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1c3206a505e2422b9fa8fa8167c0d836aca4c1f341903551bb5026c089f0192 [INFO] running `Command { std: "docker" "start" "-a" "e1c3206a505e2422b9fa8fa8167c0d836aca4c1f341903551bb5026c089f0192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1c3206a505e2422b9fa8fa8167c0d836aca4c1f341903551bb5026c089f0192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c3206a505e2422b9fa8fa8167c0d836aca4c1f341903551bb5026c089f0192", kill_on_drop: false }` [INFO] [stdout] e1c3206a505e2422b9fa8fa8167c0d836aca4c1f341903551bb5026c089f0192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 93be6f023fb91243c9d8c08734cdb95f260e70d0645cbe71b3266e882c918e09 [INFO] running `Command { std: "docker" "start" "-a" "93be6f023fb91243c9d8c08734cdb95f260e70d0645cbe71b3266e882c918e09", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling wyz v0.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling bitvec v0.22.3 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling nonempty v0.7.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling base64ct v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling password-hash v0.3.2 [INFO] [stderr] Compiling bigint v4.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling poly1305 v0.7.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling metrics v0.17.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling raw-cpuid v10.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pbkdf2 v0.9.0 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling memuse v0.2.0 [INFO] [stderr] Compiling zcash_encoding v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling ff v0.11.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pairing v0.21.0 [INFO] [stderr] Compiling pasta_curves v0.2.1 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling bls12_381 v0.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling jubjub v0.8.0 [INFO] [stderr] Compiling fpe v0.5.0 [INFO] [stderr] Compiling halo2 v0.1.0-beta.1 [INFO] [stderr] Compiling quanta v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling equihash v0.1.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling atomic-shim v0.1.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling sketches-ddsketch v0.1.2 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling bellman v0.11.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling f4jumble v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling zcash_history v0.2.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling zcash_address v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling zeroize_derive v1.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling metrics-macros v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.4.1 [INFO] [stderr] Compiling metrics-util v0.10.1 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling chacha20 v0.8.1 [INFO] [stderr] Compiling bip0039 v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chacha20poly1305 v0.9.0 [INFO] [stderr] Compiling zcash_note_encryption v0.0.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling tracing-appender v0.1.2 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.6.1 [INFO] [stderr] Compiling incrementalmerkletree v0.1.0 (https://github.com/zcash/incrementalmerkletree?rev=b7bd6246122a6e9ace8edb51553fbf5228906cbb#b7bd6246) [INFO] [stderr] Compiling reddsa v0.0.0 (https://github.com/str4d/redjubjub.git?rev=416a6a8ebf8bd42c114c938883016c04f338de72#416a6a8e) [INFO] [stderr] Compiling ed25519-zebra v2.2.0 (https://github.com/ZcashFoundation/ed25519-zebra.git?rev=d3512400227a362d08367088ffaa9bd4142a69c7#d3512400) [INFO] [stderr] Compiling orchard v0.0.0 (https://github.com/zcash/orchard.git?rev=2c8241f25b943aa05203eacf9905db117c69bd29#2c8241f2) [INFO] [stderr] Compiling zcash_primitives v0.5.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling zcash_proofs v0.5.0 (https://github.com/zcash/librustzcash.git?rev=53d0a51d33a421cb76d3e3124d1e4c1c9036068e#53d0a51d) [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:612:18 [INFO] [stdout] | [INFO] [stdout] 612 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:656:18 [INFO] [stdout] | [INFO] [stdout] 656 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 722 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:792:18 [INFO] [stdout] | [INFO] [stdout] 792 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:832:18 [INFO] [stdout] | [INFO] [stdout] 832 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:990:22 [INFO] [stdout] | [INFO] [stdout] 990 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:991:22 [INFO] [stdout] | [INFO] [stdout] 991 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/orchard_ffi.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/rust/src/zip339_ffi.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | CString::from_raw(phrase as *mut c_char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = CString::from_raw(phrase as *mut c_char); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "93be6f023fb91243c9d8c08734cdb95f260e70d0645cbe71b3266e882c918e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93be6f023fb91243c9d8c08734cdb95f260e70d0645cbe71b3266e882c918e09", kill_on_drop: false }` [INFO] [stdout] 93be6f023fb91243c9d8c08734cdb95f260e70d0645cbe71b3266e882c918e09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e4bcf5c58a410adb10948a8c7b0625d98aa74478c57ea6fa0eca93f309517b27 [INFO] running `Command { std: "docker" "start" "-a" "e4bcf5c58a410adb10948a8c7b0625d98aa74478c57ea6fa0eca93f309517b27", kill_on_drop: false }` [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:612:18 [INFO] [stdout] | [INFO] [stdout] 612 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:656:18 [INFO] [stdout] | [INFO] [stdout] 656 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 722 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:792:18 [INFO] [stdout] | [INFO] [stdout] 792 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:832:18 [INFO] [stdout] | [INFO] [stdout] 832 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:990:22 [INFO] [stdout] | [INFO] [stdout] 990 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/rustzcash.rs:991:22 [INFO] [stdout] | [INFO] [stdout] 991 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/rust/src/orchard_ffi.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | let vk = unsafe { crate::ORCHARD_VK.as_ref() }.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/rust/src/zip339_ffi.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | CString::from_raw(phrase as *mut c_char); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = CString::from_raw(phrase as *mut c_char); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcqzJisM/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libzcash_history-2bb1504b5a7c2334.rlib,libzcash_address-1572cce9c0f0b6a7.rlib,libf4jumble-517fd92fff3ecf44.rlib,libbs58-2a47beae35d5f020.rlib,libbech32-b0b03f88c46dc872.rlib,libtracing_appender-c533cbf2fbce5dfe.rlib,libtracing_subscriber-2133049e761b7414.rlib,libthread_local-c9aca89996478819.rlib,libsharded_slab-61ce590931ca0465.rlib,libansi_term-bdfff57b5fb49171.rlib,libmatchers-535395ccb0a7669c.rlib,libregex_automata-a34e99598e24ddb3.rlib,libregex-d5c369978972243e.rlib,libregex_syntax-ae12054508fb30be.rlib,libchrono-2e7160a20d50ffc5.rlib,libtime-fba7284437dbbb56.rlib,libmetrics_exporter_prometheus-5402a62d385f7d21.rlib,libipnet-de7db76026111e4e.rlib,libhyper-34bf1c9b0761c7bb.rlib,libsocket2-227401dff9ff6082.rlib,libhttparse-d0c202cec822a6f8.rlib,libtower_service-a4da4ae722e0ce46.rlib,libfutures_channel-d79d97aa6d444315.rlib,libhttp_body-c760fa04ac05ba01.rlib,libfutures_util-6af757d16c6d65ad.rlib,libfutures_task-117a1e9f6d943d98.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-b70c5e14597d484f.rlib,libtokio-5cbd3847aa00e209.rlib,libmio-b49afd44d538cf10.rlib,libpin_project-606e3c7dfa865059.rlib,libhttpdate-7254a90ea045ac03.rlib,libhttp-90db212c53e29df1.rlib,libitoa-7c9a83f6047c872a.rlib,libbytes-37e68ee094a72681.rlib,libfnv-81596130b397d5c3.rlib,libmetrics_util-ed304c5a78c2432d.rlib,libquanta-a292a571a1060212.rlib,libraw_cpuid-b57199b338b9d621.rlib,libbitflags-e274cd04b58a060d.rlib,libradix_trie-987eea973cdc0a29.rlib,libnibble_vec-97341d14e4c8b627.rlib,libendian_type-a288539e743c60b9.rlib,libaho_corasick-35dda82c90652365.rlib,libmemchr-a2892755812de0fe.rlib,libsketches_ddsketch-b29cc5924bc3f277.rlib,libparking_lot-8df16bc16c21442f.rlib,libparking_lot_core-c12f415d2dff2a06.rlib,libsmallvec-58335197664382aa.rlib,liblock_api-c3c95a699de46305.rlib,libinstant-f5de8e033a09d588.rlib,libatomic_shim-39160759087727a4.rlib,libordered_float-fd5a34249db33854.rlib,libindexmap-05997d4daee1b620.rlib,libhashbrown-cc1bfa6acb9f8e52.rlib,libmetrics-4d9dfb87e786b1cb.rlib,libahash-47b61e101ed6360d.rlib,libonce_cell-4f239b47916bc9d6.rlib,libed25519_zebra-fed45a6009292489.rlib,libcurve25519_dalek-ea65b713f511f40d.rlib,librand_core-83cf5646bee1f53b.rlib,libgetrandom-6d7d462534d48a05.rlib,libzcash_proofs-db4c8e018825053d.rlib,libdirectories-71f600432ffa732a.rlib,libdirs_sys-1120821c0551870c.rlib,libzcash_primitives-c2aa6c8fbbc00736.rlib,libhex-a52fd19e29921b8e.rlib,libbip0039-def620e9e1c906b9.rlib,libpbkdf2-3c6e96bde9d121d9.rlib,libunicode_normalization-d7e3b35be371d7ef.rlib,libtinyvec-aaa49f8e9a1b60cc.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libhmac-da43106f8cdbcd73.rlib,libcrypto_mac-3e1e74441b087674.rlib,liborchard-3a6dc335dec6996c.rlib,libreddsa-83bd92b0ccf9df58.rlib,libthiserror-fdbcc477e046fd72.rlib,libfpe-f04ecfb92f2e868f.rlib,liblibm-39c890635b273f4c.rlib,libnum_bigint-e4cf6cdf9beaf044.rlib,libnum_integer-7bd55dc08ba68760.rlib,libnum_traits-e04a0b1505efd012.rlib,libblock_modes-691de83b8482babe.rlib,libblock_padding-17ea4943d4809731.rlib,libaes-01b774f95f3ff7d6.rlib,libbigint-0b0c7b66a173a9ce.rlib,libcrunchy-c7775f8cb42aa1aa.rlib,libarrayvec-49a168755ed0e232.rlib,libhalo2-57a1940dec31b603.rlib,libzcash_note_encryption-9c38759ab3356f2e.rlib,libchacha20poly1305-e02fcd68cb296f7e.rlib,libzeroize-d2542419a90bb6c1.rlib,libpoly1305-3e98e3285dcc8fbb.rlib,libuniversal_hash-9c397697228a81b0.rlib,libaead-093ae58fc87ebd47.rlib,libchacha20-8856bceb5b5b52c9.rlib,libcipher-d127e9e63afd6c05.rlib,libmemuse-cd77b8a712f859b3.rlib,libpasta_curves-c4fe5d5563338112.rlib,libstatic_assertions-df27c3b343cf637f.rlib,librand-01bb98a460934827.rlib,librand_chacha-663a41ad61f666a3.rlib,libppv_lite86-5a92c3ab26105205.rlib,libincrementalmerkletree-d8eb28616396ab6f.rlib,libserde-e1a8c7392c4b2a65.rlib,libjubjub-f3279beab1af50cc.rlib,libequihash-df3231180c315b6a.rlib,libblake2b_simd-af7867a4ca483da1.rlib,libzcash_encoding-ded260a9936c853e.rlib,libnonempty-3a8ccf34e622f118.rlib,libsha2-67e56b7f987a8807.rlib,libcpufeatures-03d302c468f0d4ec.rlib,libopaque_debug-bfd86111b0908dde.rlib,libdigest-cb6da49643218646.rlib,libblock_buffer-25706bba038043a1.rlib,libgeneric_array-1f475603ae941cbb.rlib,libtypenum-c30adc9f15bf22b3.rlib,libtracing-90dc39ce4d324cab.rlib,libpin_project_lite-668e52fe3a18bf8a.rlib,libtracing_core-cb9ff8edd824c994.rlib,libbls12_381-e9bad26baec40534.rlib,libbellman-c4cdb6593a208f19.rlib,librayon-b1cc30a17ae7baa0.rlib,librayon_core-e9c8f23795f1da17.rlib,libnum_cpus-ee0498a01e08ee82.rlib,libcrossbeam_deque-294c10ed382e9661.rlib,libcrossbeam_epoch-564866fcb1ae444f.rlib,libmemoffset-55fe4c4525b1aab8.rlib,libscopeguard-73056285f12cb829.rlib,libeither-e8a0ef7222037a64.rlib,liblog-2fa663e3959e676f.rlib,libcrossbeam_channel-eb3ebe0039fefd61.rlib,libcrossbeam_utils-3a2e50d552e81206.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libpairing-ce3897170eef1b13.rlib,libblake2s_simd-fb5de29e860bd39d.rlib,libconstant_time_eq-5cfd50e7e287192a.rlib,libarrayvec-dcf77bd1e16366f7.rlib,libarrayref-762a58c2a3b122f9.rlib,libgroup-35fbeee7b23139ba.rlib,libbyteorder-3273b38dba49bc5f.rlib,libff-510bfd1692e9fdad.rlib,librand_core-f302f45d1e462eb9.rlib,libgetrandom-f67e16458c3ee45f.rlib,liblibc-e811dea18375a072.rlib,libcfg_if-66d55f6b302e88c8.rlib,libbitvec-7424510083ca2414.rlib,libwyz-2f52dfb3e84095b6.rlib,libtap-421ae6187ba3130e.rlib,libradium-a37e361c520a46b8.rlib,libfunty-ccd605cd896f7746.rlib,libsubtle-df4431af3009e7f6.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcqzJisM/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustzcash-aef4b851bb968f02" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-f67e16458c3ee45f.rlib(getrandom-f67e16458c3ee45f.getrandom.ecd39ab8e7c28694-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hd4f8ec41d370071eE+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `librustzcash` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4bcf5c58a410adb10948a8c7b0625d98aa74478c57ea6fa0eca93f309517b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bcf5c58a410adb10948a8c7b0625d98aa74478c57ea6fa0eca93f309517b27", kill_on_drop: false }` [INFO] [stdout] e4bcf5c58a410adb10948a8c7b0625d98aa74478c57ea6fa0eca93f309517b27