[INFO] fetching crate bls_eth_rust 0.0.2... [INFO] checking bls_eth_rust-0.0.2 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate bls_eth_rust 0.0.2 into /workspace/builds/worker-63/source [INFO] validating manifest of crates.io crate bls_eth_rust 0.0.2 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bls_eth_rust 0.0.2 [INFO] finished tweaking crates.io crate bls_eth_rust 0.0.2 [INFO] tweaked toml for crates.io crate bls_eth_rust 0.0.2 written to /workspace/builds/worker-63/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06ff834cb3e7351e3425e996f1f1dd96b3d48c57288b4b859a3e2d5950a39655 [INFO] running `Command { std: "docker" "start" "-a" "06ff834cb3e7351e3425e996f1f1dd96b3d48c57288b4b859a3e2d5950a39655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06ff834cb3e7351e3425e996f1f1dd96b3d48c57288b4b859a3e2d5950a39655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06ff834cb3e7351e3425e996f1f1dd96b3d48c57288b4b859a3e2d5950a39655", kill_on_drop: false }` [INFO] [stdout] 06ff834cb3e7351e3425e996f1f1dd96b3d48c57288b4b859a3e2d5950a39655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a140c20d4817c3e61e97b5c15eeacdf095e94bce35a999530eba92fa2281c010 [INFO] running `Command { std: "docker" "start" "-a" "a140c20d4817c3e61e97b5c15eeacdf095e94bce35a999530eba92fa2281c010", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.75 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking bls_eth_rust v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | common_impl![SecretKey, blsSecretKeyIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | common_impl![PublicKey, blsPublicKeyIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | common_impl![Signature, blsSignatureIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/bls381_benches.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/test.rs from 2018 edition to 2021 [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:257:19 [INFO] [stdout] | [INFO] [stdout] 257 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | common_impl![SecretKey, blsSecretKeyIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | common_impl![PublicKey, blsPublicKeyIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | std::mem::uninitialized() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | common_impl![Signature, blsSignatureIsEqual]; [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurveType` [INFO] [stdout] --> benches/bls381_benches.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | init(CurveType::BLS12_381); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurveType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CurveType` [INFO] [stdout] --> benches/bls381_benches.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | init(CurveType::BLS12_381); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CurveType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> benches/bls381_benches.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | init(CurveType::BLS12_381); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> benches/bls381_benches.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | init(CurveType::BLS12_381); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use criterion::{black_box, criterion_group, criterion_main, Benchmark, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Benchmark::new("Create a Signature", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | Benchmark::new("Verify a Signature", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Benchmark::new("Serialize a Signature", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | Benchmark::new("Decompress a Signature", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Benchmark::new("Aggregate 128 Signatures", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | Benchmark::new("Aggregate 128 Public Keys", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::Benchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | Benchmark::new("Verify 128 Public Keys and 128 Messages", move |b| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 53 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:93:7 [INFO] [stdout] | [INFO] [stdout] 93 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bls381_benches.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | c.bench( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bls_eth_rust` due to 5 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a140c20d4817c3e61e97b5c15eeacdf095e94bce35a999530eba92fa2281c010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a140c20d4817c3e61e97b5c15eeacdf095e94bce35a999530eba92fa2281c010", kill_on_drop: false }` [INFO] [stdout] a140c20d4817c3e61e97b5c15eeacdf095e94bce35a999530eba92fa2281c010