[INFO] fetching crate classgroup 0.1.0... [INFO] checking classgroup-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate classgroup 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate classgroup 0.1.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 classgroup 0.1.0 [INFO] finished tweaking crates.io crate classgroup 0.1.0 [INFO] tweaked toml for crates.io crate classgroup 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e69876ae7ec4f7b9b10ce86eacfeb37344259f25d4a9fb41eea9b15468e298dc [INFO] running `Command { std: "docker" "start" "-a" "e69876ae7ec4f7b9b10ce86eacfeb37344259f25d4a9fb41eea9b15468e298dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e69876ae7ec4f7b9b10ce86eacfeb37344259f25d4a9fb41eea9b15468e298dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69876ae7ec4f7b9b10ce86eacfeb37344259f25d4a9fb41eea9b15468e298dc", kill_on_drop: false }` [INFO] [stdout] e69876ae7ec4f7b9b10ce86eacfeb37344259f25d4a9fb41eea9b15468e298dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 0cb1fda9152cc1f29f57e99437632d7ba72815c3c6e284c36ce072dcbd6b4035 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0cb1fda9152cc1f29f57e99437632d7ba72815c3c6e284c36ce072dcbd6b4035", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking textwrap v0.11.0 [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 clap v2.33.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking classgroup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gmp/mpz.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/gmp/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/gmp/mpz.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gmp/mpz.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stdout] | ------------------------------------------------------------ `__gmpz_sizeinbase` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stdout] found `for<'r> unsafe extern "C" fn(&'r Mpz, i32) -> usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_export` redeclared with a different signature [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn __gmpz_export( [INFO] [stdout] 58 | | rop: *mut c_void, [INFO] [stdout] 59 | | countp: *mut size_t, [INFO] [stdout] 60 | | order: c_int, [INFO] [stdout] ... | [INFO] [stdout] 64 | | op: &Mpz, [INFO] [stdout] 65 | | ) -> *mut c_void; [INFO] [stdout] | |_____________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gmp/mpz.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stdout] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stdout] | |___________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stdout] found `for<'r> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'r Mpz) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `gmp` [INFO] [stdout] --> bench/bench.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use gmp::mpz::Mpz; [INFO] [stdout] | ^^^ use of undeclared crate or module `gmp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mpz` [INFO] [stdout] --> bench/bench.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let m_2048 = -Mpz::from_str( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use classgroup::gmp::mpz::Mpz; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mpz` [INFO] [stdout] --> bench/bench.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let m_1024 = -Mpz::from_str( [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 | use classgroup::gmp::mpz::Mpz; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> bench/bench.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/gmp/mpz.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `classgroup` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/gmp/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/gmp/mpz.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gmp/mpz.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stdout] | ------------------------------------------------------------ `__gmpz_sizeinbase` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stdout] found `for<'r> unsafe extern "C" fn(&'r gmp::mpz::Mpz, i32) -> usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_export` redeclared with a different signature [INFO] [stdout] --> src/gmp_classgroup/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn __gmpz_export( [INFO] [stdout] 58 | | rop: *mut c_void, [INFO] [stdout] 59 | | countp: *mut size_t, [INFO] [stdout] 60 | | order: c_int, [INFO] [stdout] ... | [INFO] [stdout] 64 | | op: &Mpz, [INFO] [stdout] 65 | | ) -> *mut c_void; [INFO] [stdout] | |_____________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gmp/mpz.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stdout] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stdout] | |___________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stdout] found `for<'r> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'r gmp::mpz::Mpz) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0cb1fda9152cc1f29f57e99437632d7ba72815c3c6e284c36ce072dcbd6b4035", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb1fda9152cc1f29f57e99437632d7ba72815c3c6e284c36ce072dcbd6b4035", kill_on_drop: false }` [INFO] [stdout] 0cb1fda9152cc1f29f57e99437632d7ba72815c3c6e284c36ce072dcbd6b4035