[INFO] fetching crate bitrust 0.1.0... [INFO] checking bitrust-0.1.0 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate bitrust 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate bitrust 0.1.0 on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitrust 0.1.0 [INFO] finished tweaking crates.io crate bitrust 0.1.0 [INFO] tweaked toml for crates.io crate bitrust 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate bitrust 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proptest v0.7.2 [INFO] [stderr] Downloaded protobuf-codegen v2.14.0 [INFO] [stderr] Downloaded rusty-fork v0.2.1 [INFO] [stderr] Downloaded protoc v2.14.0 [INFO] [stderr] Downloaded protoc-rust v2.14.0 [INFO] [stderr] Downloaded wait-timeout v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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] 4b41576fa2fe8442a945259f3fa99518ef15154b9a8256636e95686b6b45e296 [INFO] running `Command { std: "docker" "start" "-a" "4b41576fa2fe8442a945259f3fa99518ef15154b9a8256636e95686b6b45e296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b41576fa2fe8442a945259f3fa99518ef15154b9a8256636e95686b6b45e296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b41576fa2fe8442a945259f3fa99518ef15154b9a8256636e95686b6b45e296", kill_on_drop: false }` [INFO] [stdout] 4b41576fa2fe8442a945259f3fa99518ef15154b9a8256636e95686b6b45e296 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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] 9a15e2ebd7ba5984e03821f40b06c3817eab41d6358b7e7a5df4c79beccfc5e8 [INFO] running `Command { std: "docker" "start" "-a" "9a15e2ebd7ba5984e03821f40b06c3817eab41d6358b7e7a5df4c79beccfc5e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling protobuf v2.14.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking regex-syntax v0.4.2 [INFO] [stderr] Checking oorandom v11.1.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Compiling protoc v2.14.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking wait-timeout v0.1.5 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking criterion-plot v0.4.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking tempfile v3.0.6 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rusty-fork v0.2.1 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking proptest v0.7.2 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking ctrlc v3.1.1 [INFO] [stderr] Compiling protobuf-codegen v2.14.0 [INFO] [stderr] Compiling protoc-rust v2.14.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling bitrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde v1.0.111 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking criterion v0.3.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/bitrust_bench.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | let mut br = BitRust::open( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/bitrust_bench.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | |(mut br, data_dir, kv)| { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/bitrust_bench.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | let mut br = BitRust::open( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/bitrust_bench.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | let mut br = BitRust::open( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/bitrust_bench.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | let mut br = BitRust::open( [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/storage.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | format!("Expected {:?}, found {:?}", record, record_from_cursor) [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 assert!() 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] 445 | "Expected {:?}, found {:?}", record, record_from_cursor [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/storage.rs:451:7 [INFO] [stdout] | [INFO] [stdout] 451 | format!("Expected None, got {:?}", record_from_cursor) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() 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] 451 | "Expected None, got {:?}", record_from_cursor [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1271:9 [INFO] [stdout] | [INFO] [stdout] 1271 | / format!( [INFO] [stdout] 1272 | | "key={}, expect={}, got={}", [INFO] [stdout] 1273 | | key, [INFO] [stdout] 1274 | | std::str::from_utf8(&expected_val).unwrap(), [INFO] [stdout] 1275 | | std::str::from_utf8(&val).unwrap() [INFO] [stdout] 1276 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() 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] 1271 | [INFO] [stdout] 1272 | "key={}, expect={}, got={}", [INFO] [stdout] 1273 | key, [INFO] [stdout] 1274 | std::str::from_utf8(&expected_val).unwrap(), [INFO] [stdout] 1275 | std::str::from_utf8(&val).unwrap() [INFO] [stdout] 1276 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:1435:7 [INFO] [stdout] | [INFO] [stdout] 1435 | / format!( [INFO] [stdout] 1436 | | "Expected {} data files, found {}", [INFO] [stdout] 1437 | | expected_num_data_files, [INFO] [stdout] 1438 | | data_files.len() [INFO] [stdout] 1439 | | ) [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the assert!() 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] 1435 | [INFO] [stdout] 1436 | "Expected {} data files, found {}", [INFO] [stdout] 1437 | expected_num_data_files, [INFO] [stdout] 1438 | data_files.len() [INFO] [stdout] 1439 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.62s [INFO] running `Command { std: "docker" "inspect" "9a15e2ebd7ba5984e03821f40b06c3817eab41d6358b7e7a5df4c79beccfc5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a15e2ebd7ba5984e03821f40b06c3817eab41d6358b7e7a5df4c79beccfc5e8", kill_on_drop: false }` [INFO] [stdout] 9a15e2ebd7ba5984e03821f40b06c3817eab41d6358b7e7a5df4c79beccfc5e8