[INFO] fetching crate cargo-cache 0.6.2... [INFO] checking cargo-cache-0.6.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cargo-cache 0.6.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate cargo-cache 0.6.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-cache 0.6.2 [INFO] finished tweaking crates.io crate cargo-cache 0.6.2 [INFO] tweaked toml for crates.io crate cargo-cache 0.6.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate crates.io crate cargo-cache 0.6.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_tools_util v0.2.0 [INFO] [stderr] Downloaded ctor v0.1.18 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58cb61d2dec4eb404bceafb049ed169eb65e5cbdd3dfc7db5d464bf5e573da42 [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" "58cb61d2dec4eb404bceafb049ed169eb65e5cbdd3dfc7db5d464bf5e573da42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58cb61d2dec4eb404bceafb049ed169eb65e5cbdd3dfc7db5d464bf5e573da42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58cb61d2dec4eb404bceafb049ed169eb65e5cbdd3dfc7db5d464bf5e573da42", kill_on_drop: false }` [INFO] [stdout] 58cb61d2dec4eb404bceafb049ed169eb65e5cbdd3dfc7db5d464bf5e573da42 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f1a29890d29a1095fd4b82ddd5cbdc2934008d81d2f3b5fbab6fab6725bf192 [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" "5f1a29890d29a1095fd4b82ddd5cbdc2934008d81d2f3b5fbab6fab6725bf192", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.6.1 [INFO] [stderr] Checking path-slash v0.1.4 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling cargo-cache v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking git2 v0.13.15 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking cargo_metadata v0.12.3 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/all_cargo_cache_paths_are_known.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | format!("last iterator item is not none: {:?}", last) [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] 174 | "last iterator item is not none: {:?}", last [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/clean_unref.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / format!( [INFO] [stdout] 104 | | "CONDITION NOT MET: {} < {}", [INFO] [stdout] 105 | | cargo_home_size_before_removel, cargo_home_size_after_removel [INFO] [stdout] 106 | | ) [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] 103 | [INFO] [stdout] 104 | "CONDITION NOT MET: {} < {}", [INFO] [stdout] 105 | cargo_home_size_before_removel, cargo_home_size_after_removel [INFO] [stdout] 106 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_indices` [INFO] [stdout] --> src/cache/registry_index.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | number_of_indices: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_caches` [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | number_of_caches: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_indices` [INFO] [stdout] --> src/cache/registry_index.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | number_of_indices: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number_of_caches` [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | number_of_caches: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/git.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | format!("git gc is funky: before: {} after: {}", before, after) [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] 365 | "git gc is funky: before: {} after: {}", before, after [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/git.rs:430:30 [INFO] [stdout] | [INFO] [stdout] 430 | assert!(res.is_ok(), format!("Failed to fsck git repo: {:?}", res)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] 430 | assert!(res.is_ok(), "Failed to fsck git repo: {:?}", res); [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 1m 23s [INFO] running `Command { std: "docker" "inspect" "5f1a29890d29a1095fd4b82ddd5cbdc2934008d81d2f3b5fbab6fab6725bf192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1a29890d29a1095fd4b82ddd5cbdc2934008d81d2f3b5fbab6fab6725bf192", kill_on_drop: false }` [INFO] [stdout] 5f1a29890d29a1095fd4b82ddd5cbdc2934008d81d2f3b5fbab6fab6725bf192