[INFO] fetching crate zero-bls12-381 0.1.11... [INFO] checking zero-bls12-381-0.1.11 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate zero-bls12-381 0.1.11 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate zero-bls12-381 0.1.11 [INFO] finished tweaking crates.io crate zero-bls12-381 0.1.11 [INFO] tweaked toml for crates.io crate zero-bls12-381 0.1.11 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zero-bls12-381 0.1.11 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 70 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56fb0600b741e63a7f069a8f54e4baaefbbd28b1ce643a6558cb3e24bc79ab28 [INFO] running `Command { std: "docker" "start" "-a" "56fb0600b741e63a7f069a8f54e4baaefbbd28b1ce643a6558cb3e24bc79ab28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56fb0600b741e63a7f069a8f54e4baaefbbd28b1ce643a6558cb3e24bc79ab28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fb0600b741e63a7f069a8f54e4baaefbbd28b1ce643a6558cb3e24bc79ab28", kill_on_drop: false }` [INFO] [stdout] 56fb0600b741e63a7f069a8f54e4baaefbbd28b1ce643a6558cb3e24bc79ab28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14a5fef86e56f136a0eb9456c58cc71d71451b5da9f2eb83a3365359450f02bd [INFO] running `Command { std: "docker" "start" "-a" "14a5fef86e56f136a0eb9456c58cc71d71451b5da9f2eb83a3365359450f02bd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking byte-slice-cast v1.2.3 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling derive-hex v0.1.2 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking dusk-bytes v0.1.7 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking zero-crypto v0.1.11 [INFO] [stderr] Checking zero-bls12-381 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] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/fqn.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | 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/fr.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | 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/g1.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | curve_test!(bls12_381, Fr, G1Affine, G1Projective, 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] error[E0432]: unresolved import `rand_core::OsRng` [INFO] [stdout] --> src/g2.rs:416:5 [INFO] [stdout] | [INFO] [stdout] 416 | curve_test!(bls12_381, Fr, G2Affine, G2Projective, 50); [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] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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-bls12-381` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "14a5fef86e56f136a0eb9456c58cc71d71451b5da9f2eb83a3365359450f02bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a5fef86e56f136a0eb9456c58cc71d71451b5da9f2eb83a3365359450f02bd", kill_on_drop: false }` [INFO] [stdout] 14a5fef86e56f136a0eb9456c58cc71d71451b5da9f2eb83a3365359450f02bd