[INFO] cloning repository https://github.com/Lightcoindev/Lightcoin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lightcoindev/Lightcoin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightcoindev%2FLightcoin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightcoindev%2FLightcoin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8555320bebbf95545bc8c2841f1fadc38f5bd53 [INFO] testing Lightcoindev/Lightcoin against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLightcoindev%2FLightcoin" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 20% (385/1881) Updating files: 21% (396/1881) Updating files: 22% (414/1881) Updating files: 23% (433/1881) Updating files: 24% (452/1881) Updating files: 25% (471/1881) Updating files: 26% (490/1881) Updating files: 27% (508/1881) Updating files: 28% (527/1881) Updating files: 29% (546/1881) Updating files: 30% (565/1881) Updating files: 31% (584/1881) Updating files: 32% (602/1881) Updating files: 33% (621/1881) Updating files: 34% (640/1881) Updating files: 35% (659/1881) Updating files: 36% (678/1881) Updating files: 37% (696/1881) Updating files: 38% (715/1881) Updating files: 39% (734/1881) Updating files: 40% (753/1881) Updating files: 41% (772/1881) Updating files: 42% (791/1881) Updating files: 43% (809/1881) Updating files: 44% (828/1881) Updating files: 45% (847/1881) Updating files: 46% (866/1881) Updating files: 47% (885/1881) Updating files: 48% (903/1881) Updating files: 49% (922/1881) Updating files: 50% (941/1881) Updating files: 51% (960/1881) Updating files: 52% (979/1881) Updating files: 53% (997/1881) Updating files: 54% (1016/1881) Updating files: 55% (1035/1881) Updating files: 56% (1054/1881) Updating files: 57% (1073/1881) Updating files: 58% (1091/1881) Updating files: 59% (1110/1881) Updating files: 60% (1129/1881) Updating files: 61% (1148/1881) Updating files: 62% (1167/1881) Updating files: 63% (1186/1881) Updating files: 64% (1204/1881) Updating files: 65% (1223/1881) Updating files: 66% (1242/1881) Updating files: 67% (1261/1881) Updating files: 68% (1280/1881) Updating files: 69% (1298/1881) Updating files: 70% (1317/1881) Updating files: 71% (1336/1881) Updating files: 72% (1355/1881) Updating files: 73% (1374/1881) Updating files: 74% (1392/1881) Updating files: 75% (1411/1881) Updating files: 76% (1430/1881) Updating files: 77% (1449/1881) Updating files: 78% (1468/1881) Updating files: 79% (1486/1881) Updating files: 80% (1505/1881) Updating files: 81% (1524/1881) Updating files: 82% (1543/1881) Updating files: 83% (1562/1881) Updating files: 84% (1581/1881) Updating files: 85% (1599/1881) Updating files: 86% (1618/1881) Updating files: 87% (1637/1881) Updating files: 88% (1656/1881) Updating files: 89% (1675/1881) Updating files: 90% (1693/1881) Updating files: 91% (1712/1881) Updating files: 92% (1731/1881) Updating files: 93% (1750/1881) Updating files: 94% (1769/1881) Updating files: 95% (1787/1881) Updating files: 96% (1806/1881) Updating files: 97% (1825/1881) Updating files: 98% (1844/1881) Updating files: 99% (1863/1881) Updating files: 100% (1881/1881) Updating files: 100% (1881/1881), done. [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Lightcoindev/Lightcoin [INFO] finished tweaking git repo https://github.com/Lightcoindev/Lightcoin [INFO] tweaked toml for git repo https://github.com/Lightcoindev/Lightcoin written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Lightcoindev/Lightcoin on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Lightcoindev/Lightcoin 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c6f75e5fb85cfbd3e418ad884fa0cdc14cac338a2c51e6af14fb2259ec900e2 [INFO] running `Command { std: "docker" "start" "-a" "5c6f75e5fb85cfbd3e418ad884fa0cdc14cac338a2c51e6af14fb2259ec900e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c6f75e5fb85cfbd3e418ad884fa0cdc14cac338a2c51e6af14fb2259ec900e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6f75e5fb85cfbd3e418ad884fa0cdc14cac338a2c51e6af14fb2259ec900e2", kill_on_drop: false }` [INFO] [stdout] 5c6f75e5fb85cfbd3e418ad884fa0cdc14cac338a2c51e6af14fb2259ec900e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 77947ddde8afc0f5cfea61a785323e8c8168215cbdea80912cce10ba1c9c85a3 [INFO] running `Command { std: "docker" "start" "-a" "77947ddde8afc0f5cfea61a785323e8c8168215cbdea80912cce10ba1c9c85a3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling proc-macro2 v1.0.3 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling constant_time_eq v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling blake2s_simd v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling crypto_api v0.2.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling fpe v0.2.0 [INFO] [stderr] Compiling crossbeam v0.7.2 [INFO] [stderr] Compiling crypto_api_chachapoly v0.2.2 [INFO] [stderr] Compiling blake2b_simd v0.5.8 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling ff_derive v0.4.0 [INFO] [stderr] Compiling ff v0.5.0 [INFO] [stderr] Compiling group v0.2.0 [INFO] [stderr] Compiling pairing v0.15.0 [INFO] [stderr] Compiling bellman v0.2.0 [INFO] [stderr] Compiling zcash_primitives v0.1.0 [INFO] [stderr] Compiling zcash_proofs v0.1.0 [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/rust/src/rustzcash.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` 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_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:699:18 [INFO] [stdout] | [INFO] [stdout] 699 | 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:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | 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] 856 | 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:916:18 [INFO] [stdout] | [INFO] [stdout] 916 | 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:963:18 [INFO] [stdout] | [INFO] [stdout] 963 | 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:1114:22 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1115:22 [INFO] [stdout] | [INFO] [stdout] 1115 | 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.44s [INFO] running `Command { std: "docker" "inspect" "77947ddde8afc0f5cfea61a785323e8c8168215cbdea80912cce10ba1c9c85a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77947ddde8afc0f5cfea61a785323e8c8168215cbdea80912cce10ba1c9c85a3", kill_on_drop: false }` [INFO] [stdout] 77947ddde8afc0f5cfea61a785323e8c8168215cbdea80912cce10ba1c9c85a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5bb72e481fe63cdf5a1fcc04fbc79a0fdc9b347399beac0c8b1028e345eae5a1 [INFO] running `Command { std: "docker" "start" "-a" "5bb72e481fe63cdf5a1fcc04fbc79a0fdc9b347399beac0c8b1028e345eae5a1", kill_on_drop: false }` [INFO] [stderr] Compiling librustzcash v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stdout] --> src/rust/src/rustzcash.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/key_components.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/notes.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/signatures.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/rust/src/tests/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | }; [INFO] [stdout] | ^ help: remove this semicolon [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_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:699:18 [INFO] [stdout] | [INFO] [stdout] 699 | 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:856:18 [INFO] [stdout] | [INFO] [stdout] 856 | 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] 856 | 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:916:18 [INFO] [stdout] | [INFO] [stdout] 916 | 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:963:18 [INFO] [stdout] | [INFO] [stdout] 963 | 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:1114:22 [INFO] [stdout] | [INFO] [stdout] 1114 | 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:1115:22 [INFO] [stdout] | [INFO] [stdout] 1115 | 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "5bb72e481fe63cdf5a1fcc04fbc79a0fdc9b347399beac0c8b1028e345eae5a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb72e481fe63cdf5a1fcc04fbc79a0fdc9b347399beac0c8b1028e345eae5a1", kill_on_drop: false }` [INFO] [stdout] 5bb72e481fe63cdf5a1fcc04fbc79a0fdc9b347399beac0c8b1028e345eae5a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d0c2bebe4d9a58f92d80ddeb62bd55d80aa7dd96cc696e0411cb7369824459f6 [INFO] running `Command { std: "docker" "start" "-a" "d0c2bebe4d9a58f92d80ddeb62bd55d80aa7dd96cc696e0411cb7369824459f6", kill_on_drop: false }` [INFO] [stderr] warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead [INFO] [stderr] --> src/rust/src/rustzcash.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![deny(intra_doc_link_resolution_failure)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/key_components.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/notes.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/signatures.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/rust/src/tests/mod.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:656:18 [INFO] [stderr] | [INFO] [stderr] 656 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:699:18 [INFO] [stderr] | [INFO] [stderr] 699 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:856:18 [INFO] [stderr] | [INFO] [stderr] 856 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 856 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:916:18 [INFO] [stderr] | [INFO] [stderr] 916 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:963:18 [INFO] [stderr] | [INFO] [stderr] 963 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:1114:22 [INFO] [stderr] | [INFO] [stderr] 1114 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/rust/src/rustzcash.rs:1115:22 [INFO] [stderr] | [INFO] [stderr] 1115 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `librustzcash` (lib test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/rust/src/rustzcash.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustzcash-735f721e3b958e51) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_gen_r ... ok [INFO] [stdout] test tests::sapling_generators ... ok [INFO] [stdout] test tests::key_agreement::test_key_agreement ... ok [INFO] [stdout] test tests::notes::notes ... ok [INFO] [stdout] test tests::key_components::key_components ... ok [INFO] [stdout] test tests::signatures::redjubjub_signatures ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.55s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0c2bebe4d9a58f92d80ddeb62bd55d80aa7dd96cc696e0411cb7369824459f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c2bebe4d9a58f92d80ddeb62bd55d80aa7dd96cc696e0411cb7369824459f6", kill_on_drop: false }` [INFO] [stdout] d0c2bebe4d9a58f92d80ddeb62bd55d80aa7dd96cc696e0411cb7369824459f6