[INFO] fetching crate substrate-bn 0.6.0... [INFO] checking substrate-bn-0.6.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate substrate-bn 0.6.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate substrate-bn 0.6.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate substrate-bn 0.6.0 [INFO] finished tweaking crates.io crate substrate-bn 0.6.0 [INFO] tweaked toml for crates.io crate substrate-bn 0.6.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate substrate-bn 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1173c239e2dcea13b3720307c77bde5fd9a1b61274164660a9d2544aa7a2f7ba [INFO] running `Command { std: "docker" "start" "-a" "1173c239e2dcea13b3720307c77bde5fd9a1b61274164660a9d2544aa7a2f7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1173c239e2dcea13b3720307c77bde5fd9a1b61274164660a9d2544aa7a2f7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1173c239e2dcea13b3720307c77bde5fd9a1b61274164660a9d2544aa7a2f7ba", kill_on_drop: false }` [INFO] [stdout] 1173c239e2dcea13b3720307c77bde5fd9a1b61274164660a9d2544aa7a2f7ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9916e588ea47435edac9c506b7f75de52785250acc24bc0f0d41a2d1abd1b7c8 [INFO] running `Command { std: "docker" "start" "-a" "9916e588ea47435edac9c506b7f75de52785250acc24bc0f0d41a2d1abd1b7c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking substrate-bn v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 27 | / benchmark!(fr_addition, [INFO] [stdout] 28 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 29 | | [INFO] [stdout] 30 | | input.0 + input.1 [INFO] [stdout] 31 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 33 | / benchmark!(fr_subtraction, [INFO] [stdout] 34 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | input.0 - input.1 [INFO] [stdout] 37 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 39 | / benchmark!(fr_multiplication, [INFO] [stdout] 40 | | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] 41 | | [INFO] [stdout] 42 | | input.0 * input.1 [INFO] [stdout] 43 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 45 | / benchmark!(fr_inverses, [INFO] [stdout] 46 | | input(rng) = Fr::random(rng); [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | input.inverse() [INFO] [stdout] 49 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 51 | / benchmark!(g1_addition, [INFO] [stdout] 52 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | input.0 + input.1 [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 57 | / benchmark!(g1_subtraction, [INFO] [stdout] 58 | | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] 59 | | [INFO] [stdout] 60 | | input.0 - input.1 [INFO] [stdout] 61 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 63 | / benchmark!(g1_scalar_multiplication, [INFO] [stdout] 64 | | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] 65 | | [INFO] [stdout] 66 | | input.0 * input.1 [INFO] [stdout] 67 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 69 | / benchmark!(g2_addition, [INFO] [stdout] 70 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | input.0 + input.1 [INFO] [stdout] 73 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 75 | / benchmark!(g2_subtraction, [INFO] [stdout] 76 | | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] 77 | | [INFO] [stdout] 78 | | input.0 - input.1 [INFO] [stdout] 79 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 81 | / benchmark!(g2_scalar_multiplication, [INFO] [stdout] 82 | | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | input.0 * input.1 [INFO] [stdout] 85 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 87 | / benchmark!(fq12_scalar_multiplication, [INFO] [stdout] 88 | | input(rng) = { [INFO] [stdout] 89 | | let g1_1 = G1::random(rng); [INFO] [stdout] 90 | | let g2_1 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 98 | | input.0 * input.1 [INFO] [stdout] 99 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 101 | / benchmark!(fq12_exponentiation, [INFO] [stdout] 102 | | input(rng) = ({ [INFO] [stdout] 103 | | let g1 = G1::random(rng); [INFO] [stdout] 104 | | let g2 = G2::random(rng); [INFO] [stdout] ... | [INFO] [stdout] 109 | | input.0.pow(input.1) [INFO] [stdout] 110 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `test` [INFO] [stdout] --> benches/api.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn $name(b: &mut test::Bencher) { [INFO] [stdout] | ^^^^ use of undeclared crate or module `test` [INFO] [stdout] ... [INFO] [stdout] 112 | / benchmark!(perform_pairing, [INFO] [stdout] 113 | | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | pairing(input.0, input.1) [INFO] [stdout] 116 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `benchmark` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `substrate-bn` due to 14 previous errors [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9916e588ea47435edac9c506b7f75de52785250acc24bc0f0d41a2d1abd1b7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9916e588ea47435edac9c506b7f75de52785250acc24bc0f0d41a2d1abd1b7c8", kill_on_drop: false }` [INFO] [stdout] 9916e588ea47435edac9c506b7f75de52785250acc24bc0f0d41a2d1abd1b7c8