[INFO] fetching crate cargo-cache 0.6.2... [INFO] checking cargo-cache-0.6.2 against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] extracting crate cargo-cache 0.6.2 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate cargo-cache 0.6.2 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 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-3/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remove_dir_all v0.6.1 [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] [stdout] 68df3283a3286e259037ff2adee68c7909dd8bd222e55b6af6d4c0a20b346840 [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" "68df3283a3286e259037ff2adee68c7909dd8bd222e55b6af6d4c0a20b346840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68df3283a3286e259037ff2adee68c7909dd8bd222e55b6af6d4c0a20b346840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68df3283a3286e259037ff2adee68c7909dd8bd222e55b6af6d4c0a20b346840", kill_on_drop: false }` [INFO] [stdout] 68df3283a3286e259037ff2adee68c7909dd8bd222e55b6af6d4c0a20b346840 [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] [stdout] f77c082c3f45b04130b383aedd06aa53d84070a0ec29987d0e64432e0952ee4c [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" "f77c082c3f45b04130b383aedd06aa53d84070a0ec29987d0e64432e0952ee4c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking remove_dir_all v0.6.1 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking log v0.4.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling cargo-cache v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking idna v0.2.0 [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 quote v1.0.8 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [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 git2 v0.13.15 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking cargo-platform v0.1.1 [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 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] 174 | "last iterator item is not none: {:?}", last [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 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] 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: 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 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] 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 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] 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 41.41s [INFO] running `Command { std: "docker" "inspect" "f77c082c3f45b04130b383aedd06aa53d84070a0ec29987d0e64432e0952ee4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77c082c3f45b04130b383aedd06aa53d84070a0ec29987d0e64432e0952ee4c", kill_on_drop: false }` [INFO] [stdout] f77c082c3f45b04130b383aedd06aa53d84070a0ec29987d0e64432e0952ee4c