[INFO] fetching crate zero-jubjub 0.1.11... [INFO] testing zero-jubjub-0.1.11 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate zero-jubjub 0.1.11 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate zero-jubjub 0.1.11 [INFO] finished tweaking crates.io crate zero-jubjub 0.1.11 [INFO] tweaked toml for crates.io crate zero-jubjub 0.1.11 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zero-jubjub 0.1.11 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding parity-scale-codec v2.3.1 (available: v3.7.5) [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [INFO] [stderr] Adding sp-std v3.0.0 (available: v14.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded proptest v1.8.0 [INFO] [stderr] Downloaded zero-bls12-381 v0.1.11 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded toml_edit v0.19.15 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded wait-timeout v0.2.1 [INFO] [stderr] Downloaded dusk-bytes v0.1.7 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded zero-crypto v0.1.11 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded winnow v0.5.40 [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded arrayvec v0.7.6 [INFO] [stderr] Downloaded bit-set v0.8.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.3 [INFO] [stderr] Downloaded bit-vec v0.8.0 [INFO] [stderr] Downloaded derive-hex v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad3c8b2e9b99fa1d1e651430811568e914e95a011e8f4be6e092c82b3f1c46a5 [INFO] running `Command { std: "docker" "start" "-a" "ad3c8b2e9b99fa1d1e651430811568e914e95a011e8f4be6e092c82b3f1c46a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad3c8b2e9b99fa1d1e651430811568e914e95a011e8f4be6e092c82b3f1c46a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad3c8b2e9b99fa1d1e651430811568e914e95a011e8f4be6e092c82b3f1c46a5", kill_on_drop: false }` [INFO] [stdout] ad3c8b2e9b99fa1d1e651430811568e914e95a011e8f4be6e092c82b3f1c46a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2a4970460ab869df59253ae35b6a6a30b35b73105b3d623e48c74fba2ce6285 [INFO] running `Command { std: "docker" "start" "-a" "b2a4970460ab869df59253ae35b6a6a30b35b73105b3d623e48c74fba2ce6285", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sp-std v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling derive-hex v0.1.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling dusk-bytes v0.1.7 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling zero-crypto v0.1.11 [INFO] [stderr] Compiling zero-bls12-381 v0.1.11 [INFO] [stderr] Compiling zero-jubjub v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asm` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.48s [INFO] running `Command { std: "docker" "inspect" "b2a4970460ab869df59253ae35b6a6a30b35b73105b3d623e48c74fba2ce6285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2a4970460ab869df59253ae35b6a6a30b35b73105b3d623e48c74fba2ce6285", kill_on_drop: false }` [INFO] [stdout] b2a4970460ab869df59253ae35b6a6a30b35b73105b3d623e48c74fba2ce6285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4085bb02cec5efb9bd1b29795fdb257f5d079c5ff2d5aa476ca754579600334 [INFO] running `Command { std: "docker" "start" "-a" "e4085bb02cec5efb9bd1b29795fdb257f5d079c5ff2d5aa476ca754579600334", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asm` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proptest v1.8.0 [INFO] [stderr] Compiling zero-jubjub v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/curve.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/fp.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | use rand_core::OsRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/curve.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | curve_test!(jubjub, Fr, JubjubAffine, JubjubExtended, 100); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsRng` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.6.4/src/lib.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "getrandom")] pub use os::OsRng; [INFO] [stdout] | --------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `getrandom` feature [INFO] [stdout] = note: this error originates in the macro `curve_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/lib.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #![cfg_attr(not(feature = "std"), no_std)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `asm` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zero-jubjub` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e4085bb02cec5efb9bd1b29795fdb257f5d079c5ff2d5aa476ca754579600334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4085bb02cec5efb9bd1b29795fdb257f5d079c5ff2d5aa476ca754579600334", kill_on_drop: false }` [INFO] [stdout] e4085bb02cec5efb9bd1b29795fdb257f5d079c5ff2d5aa476ca754579600334