[INFO] fetching crate lib-bn 0.4.4... [INFO] checking lib-bn-0.4.4 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate lib-bn 0.4.4 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate lib-bn 0.4.4 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lib-bn 0.4.4 [INFO] finished tweaking crates.io crate lib-bn 0.4.4 [INFO] tweaked toml for crates.io crate lib-bn 0.4.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.6.1 (available: v1.3.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bincode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b262c51e388700fe9ce7edfdf3500f057094f832bd15268b2b9c27700b78b59b [INFO] running `Command { std: "docker" "start" "-a" "b262c51e388700fe9ce7edfdf3500f057094f832bd15268b2b9c27700b78b59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b262c51e388700fe9ce7edfdf3500f057094f832bd15268b2b9c27700b78b59b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b262c51e388700fe9ce7edfdf3500f057094f832bd15268b2b9c27700b78b59b", kill_on_drop: false }` [INFO] [stdout] b262c51e388700fe9ce7edfdf3500f057094f832bd15268b2b9c27700b78b59b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb3b29afadf31f3d3f1e7c6b17d3cb115acb44f98e57278223a244e97f1656db [INFO] running `Command { std: "docker" "start" "-a" "eb3b29afadf31f3d3f1e7c6b17d3cb115acb44f98e57278223a244e97f1656db", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking bincode v0.6.1 [INFO] [stderr] Checking lib-bn v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `bn` [INFO] [stdout] --> benches/api.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate bn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G1` in this scope [INFO] [stdout] --> benches/api.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `G2` in this scope [INFO] [stdout] --> benches/api.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | decode::(input).unwrap() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | input(rng) = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | input(rng) = {let mut tmp = G1::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | input(rng) = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:52:40 [INFO] [stdout] | [INFO] [stdout] 52 | input(rng) = {let mut tmp = G2::random(rng); tmp.normalize(); tmp}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | input(rng) = {encode(&G1::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | input(rng) = {encode(&G2::random(rng), Infinite).unwrap()}; [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:82:43 [INFO] [stdout] | [INFO] [stdout] 82 | input(rng) = (Fr::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | input(rng) = Fr::random(rng); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 94 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | input(rng) = (G1::random(rng), G1::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | input(rng) = (G1::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | input(rng) = (G2::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | input(rng) = (G2::random(rng), Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | let g1_1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let g2_1 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | let g1_2 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:135:27 [INFO] [stdout] | [INFO] [stdout] 135 | let g2_2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | (pairing(g1_1, g2_1), pairing(g1_2, g2_2)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | let g1 = G1::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | let g2 = G2::random(rng); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | pairing(g1, g2) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr` [INFO] [stdout] --> benches/api.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | }, Fr::random(rng)); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Fr` [INFO] [stdout] | help: a trait with a similar name exists: `Fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G1` [INFO] [stdout] --> benches/api.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `G2` [INFO] [stdout] --> benches/api.rs:155:43 [INFO] [stdout] | [INFO] [stdout] 155 | input(rng) = (G1::random(rng), G2::random(rng)); [INFO] [stdout] | ^^ use of undeclared type `G2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pairing` in this scope [INFO] [stdout] --> benches/api.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pairing(input.0, input.1) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lib-bn` (bench "api") due to 41 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "eb3b29afadf31f3d3f1e7c6b17d3cb115acb44f98e57278223a244e97f1656db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3b29afadf31f3d3f1e7c6b17d3cb115acb44f98e57278223a244e97f1656db", kill_on_drop: false }` [INFO] [stdout] eb3b29afadf31f3d3f1e7c6b17d3cb115acb44f98e57278223a244e97f1656db