[INFO] fetching crate primal-sieve 0.3.1... [INFO] checking primal-sieve-0.3.1 against master#fc81ad22c453776de16acf9938976930cf8c9401 for pr-77325 [INFO] extracting crate primal-sieve 0.3.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate primal-sieve 0.3.1 on toolchain fc81ad22c453776de16acf9938976930cf8c9401 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate primal-sieve 0.3.1 [INFO] finished tweaking crates.io crate primal-sieve 0.3.1 [INFO] tweaked toml for crates.io crate primal-sieve 0.3.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c6f977415a4ead624dceadf2dbcedc34a76d7a2a96fc1d966f11c4d898d49c4 [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" "6c6f977415a4ead624dceadf2dbcedc34a76d7a2a96fc1d966f11c4d898d49c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c6f977415a4ead624dceadf2dbcedc34a76d7a2a96fc1d966f11c4d898d49c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c6f977415a4ead624dceadf2dbcedc34a76d7a2a96fc1d966f11c4d898d49c4", kill_on_drop: false }` [INFO] [stdout] 6c6f977415a4ead624dceadf2dbcedc34a76d7a2a96fc1d966f11c4d898d49c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+fc81ad22c453776de16acf9938976930cf8c9401" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 496259bca890fbc21367d234eea6f221c61678cd8ac1db21aec1531a450feb1b [INFO] running `Command { std: "docker" "start" "-a" "496259bca890fbc21367d234eea6f221c61678cd8ac1db21aec1531a450feb1b", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking primal-estimate v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking primal-bit v0.3.0 [INFO] [stderr] Checking primal-sieve v0.3.1 [INFO] [stderr] Checking primal-slowsieve v0.3.0 [INFO] [stderr] Checking primal-sieve v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking primal-check v0.3.1 [INFO] [stderr] Checking primal v0.3.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking serde_json v1.0.64 [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] warning: use of deprecated struct `criterion::ParameterizedBenchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use criterion::{Criterion, ParameterizedBenchmark}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `criterion::ParameterizedBenchmark`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let bench = ParameterizedBenchmark::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / create_benchmarks! { [INFO] [stdout] 30 | | fn new(SIZES) { [INFO] [stdout] 31 | | "Sieve" => |b, upto: &usize| b.iter(|| Sieve::new(*upto)), [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_benchmarks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `criterion::Criterion::::bench`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/bench.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | c.bench(stringify!($group_id), bench); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | / create_benchmarks! { [INFO] [stdout] 30 | | fn new(SIZES) { [INFO] [stdout] 31 | | "Sieve" => |b, upto: &usize| b.iter(|| Sieve::new(*upto)), [INFO] [stdout] 32 | | } [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `create_benchmarks` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/streaming/primes.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | panic!(format!("{}", p)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 223 | panic!("{}", p); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.70s [INFO] running `Command { std: "docker" "inspect" "496259bca890fbc21367d234eea6f221c61678cd8ac1db21aec1531a450feb1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496259bca890fbc21367d234eea6f221c61678cd8ac1db21aec1531a450feb1b", kill_on_drop: false }` [INFO] [stdout] 496259bca890fbc21367d234eea6f221c61678cd8ac1db21aec1531a450feb1b