[INFO] fetching crate cargo-cache 0.8.3... [INFO] checking cargo-cache-0.8.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-cache 0.8.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cargo-cache 0.8.3 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-cache 0.8.3 [INFO] finished tweaking crates.io crate cargo-cache 0.8.3 [INFO] tweaked toml for crates.io crate cargo-cache 0.8.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-cache 0.8.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc45646b6c65b58b0d52ef7faa710783cdf04c6ad650cc2681bc595e027cd3b9 [INFO] running `Command { std: "docker" "start" "-a" "fc45646b6c65b58b0d52ef7faa710783cdf04c6ad650cc2681bc595e027cd3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc45646b6c65b58b0d52ef7faa710783cdf04c6ad650cc2681bc595e027cd3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc45646b6c65b58b0d52ef7faa710783cdf04c6ad650cc2681bc595e027cd3b9", kill_on_drop: false }` [INFO] [stdout] fc45646b6c65b58b0d52ef7faa710783cdf04c6ad650cc2681bc595e027cd3b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10e95cc34ed05e90e44046e4d3005e05e1a984935dbaae6bf1cc6a6dc5878928 [INFO] running `Command { std: "docker" "start" "-a" "10e95cc34ed05e90e44046e4d3005e05e1a984935dbaae6bf1cc6a6dc5878928", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling rustc_tools_util v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling cargo-cache v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.17 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking remove_dir_all v0.7.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking clap v3.2.15 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking humansize v1.1.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking fs_extra v1.2.0 [INFO] [stderr] Checking path-slash v0.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libgit2-sys v0.13.2+1.4.2 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking git2 v0.14.2 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking cargo_metadata v0.15.0 [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_index.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let indices_dirs = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 196 - let indices_dirs = std::fs::read_dir(&path) [INFO] [stdout] 196 + let indices_dirs = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | let cache_dirs = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 186 - let cache_dirs = std::fs::read_dir(&path) [INFO] [stdout] 186 + let cache_dirs = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_sources.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let folders = std::fs::read_dir(&self.path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 150 - let folders = std::fs::read_dir(&self.path) [INFO] [stdout] 150 + let folders = fs::read_dir(&self.path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_sources.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | let registries = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - let registries = std::fs::read_dir(&path) [INFO] [stdout] 209 + let registries = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/commands/sccache.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | ... chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 69 - chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] 69 + DateTime::::from(access_time).naive_local(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) trait ErrorHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 26 - pub(crate) trait ErrorHandling { [INFO] [stdout] 26 + pub(crate) trait ErrorHandling { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ErrorHandling for CargoCacheResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 31 - impl ErrorHandling for CargoCacheResult { [INFO] [stdout] 31 + impl ErrorHandling for CargoCacheResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 294 | impl std::fmt::Display for CargoCachePaths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - impl std::fmt::Display for CargoCachePaths { [INFO] [stdout] 294 + impl fmt::Display for CargoCachePaths { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/date.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 191 - let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] 191 + let naive_datetime = DateTime::::from(access_time).naive_local(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | let res = crate::date::remove_files_by_dates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 276 - let res = crate::date::remove_files_by_dates( [INFO] [stdout] 276 + let res = date::remove_files_by_dates( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 388 - std::process::exit(0); [INFO] [stdout] 388 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 438 - std::process::exit(0); [INFO] [stdout] 438 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | std::process::exit(1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 501 - std::process::exit(1) [INFO] [stdout] 501 + process::exit(1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 503 - std::process::exit(0); [INFO] [stdout] 503 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_index.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let indices_dirs = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 196 - let indices_dirs = std::fs::read_dir(&path) [INFO] [stdout] 196 + let indices_dirs = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | let cache_dirs = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 186 - let cache_dirs = std::fs::read_dir(&path) [INFO] [stdout] 186 + let cache_dirs = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_sources.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let folders = std::fs::read_dir(&self.path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 150 - let folders = std::fs::read_dir(&self.path) [INFO] [stdout] 150 + let folders = fs::read_dir(&self.path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/cache/registry_sources.rs:209:26 [INFO] [stdout] | [INFO] [stdout] 209 | let registries = std::fs::read_dir(&path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - let registries = std::fs::read_dir(&path) [INFO] [stdout] 209 + let registries = fs::read_dir(&path) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/commands/sccache.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | ... chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 69 - chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] 69 + DateTime::::from(access_time).naive_local(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) trait ErrorHandling { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 26 - pub(crate) trait ErrorHandling { [INFO] [stdout] 26 + pub(crate) trait ErrorHandling { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ErrorHandling for CargoCacheResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 31 - impl ErrorHandling for CargoCacheResult { [INFO] [stdout] 31 + impl ErrorHandling for CargoCacheResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:294:6 [INFO] [stdout] | [INFO] [stdout] 294 | impl std::fmt::Display for CargoCachePaths { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 294 - impl std::fmt::Display for CargoCachePaths { [INFO] [stdout] 294 + impl fmt::Display for CargoCachePaths { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:832:13 [INFO] [stdout] | [INFO] [stdout] 832 | if !std::path::PathBuf::from(&CH_string).is_dir() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 832 - if !std::path::PathBuf::from(&CH_string).is_dir() { [INFO] [stdout] 832 + if !PathBuf::from(&CH_string).is_dir() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:833:13 [INFO] [stdout] | [INFO] [stdout] 833 | std::fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 833 - std::fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] 833 + fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:836:17 [INFO] [stdout] | [INFO] [stdout] 836 | assert!(std::path::PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 836 - assert!(std::path::PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] 836 + assert!(PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:898:13 [INFO] [stdout] | [INFO] [stdout] 898 | if !std::path::PathBuf::from(&CH_string).exists() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 898 - if !std::path::PathBuf::from(&CH_string).exists() { [INFO] [stdout] 898 + if !PathBuf::from(&CH_string).exists() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:899:13 [INFO] [stdout] | [INFO] [stdout] 899 | std::fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 899 - std::fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] 899 + fs::DirBuilder::new().create(&CH_string).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/library.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | assert!(std::path::PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 902 - assert!(std::path::PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] 902 + assert!(PathBuf::from(&CH_string).is_dir()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/date.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 191 - let naive_datetime = chrono::DateTime::::from(access_time).naive_local(); [INFO] [stdout] 191 + let naive_datetime = DateTime::::from(access_time).naive_local(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:276:23 [INFO] [stdout] | [INFO] [stdout] 276 | let res = crate::date::remove_files_by_dates( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 276 - let res = crate::date::remove_files_by_dates( [INFO] [stdout] 276 + let res = date::remove_files_by_dates( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 388 - std::process::exit(0); [INFO] [stdout] 388 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 438 - std::process::exit(0); [INFO] [stdout] 438 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:501:17 [INFO] [stdout] | [INFO] [stdout] 501 | std::process::exit(1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 501 - std::process::exit(1) [INFO] [stdout] 501 + process::exit(1) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/main.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | std::process::exit(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 503 - std::process::exit(0); [INFO] [stdout] 503 + process::exit(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `files_sorted` is never used [INFO] [stdout] --> src/cache/caches.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Cache { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn files_sorted(&mut self) -> &[PathBuf]; [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: method `files_sorted` is never used [INFO] [stdout] --> src/cache/caches.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) trait RegistrySubCache { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 115 | fn files_sorted(&mut self) -> &[PathBuf]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/commands/toolchains.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/bin.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|f| f.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_bare_repos.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | .map(|f| fs::metadata(f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_bare_repos.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_checkouts.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_checkouts.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_index.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|f| fs::metadata(f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 206 | let list_dirs = Arg::new("list-dirs") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | let remove_dir = Arg::new("remove-dir").short('r').long("remove-dir") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let gc_repos = Arg::new("gc-repos") [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let fsck_repos = Arg::new("fsck-repos") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let info = Arg::new("info") [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let keep_duplicate_crates = Arg::new("keep-duplicate-crates") [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let dry_run = Arg::new("dry-run") [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | let autoclean = Arg::new("autoclean") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let autoclean_expensive = Arg::new("autoclean-expensive") [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | let list_top_cache_items = Arg::new("top-cache-items") [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let remove_if_older = Arg::new("remove-if-older-than") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let remove_if_younger = Arg::new("remove-if-younger-than") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let debug = Arg::new("debug") [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let version_subcmd = App::new("version").setting(AppSettings::Hidden); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let query_order = Arg::new("sort") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | let human_readable = Arg::new("hr") [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let query = App::new("query") [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let query_short = App::new("q") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let local = App::new("local").about("check local build cache (target) of a rust project"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | // shorter local subcommand (l) [INFO] [stdout] 326 | let local_short = App::new("l").about("check local build cache (target) of a rust project"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | let registry = App::new("registry").about("query each package registry separately"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | let registry_short = App::new("r").about("query each package registry separately"); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | // hidden, but have "cargo cache registries" work too [INFO] [stdout] 334 | let registries_hidden = App::new("registries") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let sccache = App::new("sccache").about("gather stats on a local sccache cache"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | // shorter local subcommand (l) [INFO] [stdout] 343 | let sccache_short = App::new("sc").about("gather stats on a local sccache cache"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | let manifest_path = Arg::new("manifest-path") [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let clean_unref = App::new("clean-unref") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | let size_limit = Arg::new("trim_limit") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let trim = App::new("trim") [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | let toolchain = App::new("toolchain").about("print stats on installed toolchains"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let clean_corrupted = Arg::new("clean-corrupted") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let verify = App::new("verify") [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | let cache_subcmd = App::new("cache") [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / App::new("cargo-cache") [INFO] [stdout] 438 | | .version(&*version_string) [INFO] [stdout] 439 | | .bin_name("cargo") [INFO] [stdout] 440 | | .about("Manage cargo cache") [INFO] [stdout] ... | [INFO] [stdout] 468 | | .arg(&remove_if_older) [INFO] [stdout] 469 | | .arg(&debug) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/local.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|d| d.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/sccache.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | .filter_map(|file| fs::metadata(&file.path).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/sccache.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | .filter_map(|file| fs::metadata(&file.path).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match std::fs::read_dir(&toolchain_root) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|f| std::fs::metadata(&f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|dir| dir.unwrap().path()) [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/trim.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | ... .map(|filepath| std::fs::metadata(filepath).unwrap().accessed().unwrap()) //@TODO make this an reusable function/method to simplify... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|x| x.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|x| x.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/remove.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cache` (bin "cargo-cache") due to 23 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `files_sorted` is never used [INFO] [stdout] --> src/cache/caches.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait Cache { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn files_sorted(&mut self) -> &[PathBuf]; [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: method `files_sorted` is never used [INFO] [stdout] --> src/cache/caches.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) trait RegistrySubCache { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 115 | fn files_sorted(&mut self) -> &[PathBuf]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `File` is never constructed [INFO] [stdout] --> src/commands/toolchains.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/bin.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | .map(|f| f.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_bare_repos.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | .map(|f| fs::metadata(f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_bare_repos.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 115 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_checkouts.rs:124:34 [INFO] [stdout] | [INFO] [stdout] 124 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/git_checkouts.rs:132:38 [INFO] [stdout] | [INFO] [stdout] 132 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_index.rs:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_pkg_cache.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 191 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | .map(|f| fs::metadata(f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 152 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cache/registry_sources.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | .map(|direntry| direntry.unwrap().path()) [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 206 | let list_dirs = Arg::new("list-dirs") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 211 | let remove_dir = Arg::new("remove-dir").short('r').long("remove-dir") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let gc_repos = Arg::new("gc-repos") [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | let fsck_repos = Arg::new("fsck-repos") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | let info = Arg::new("info") [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 234 | let keep_duplicate_crates = Arg::new("keep-duplicate-crates") [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 241 | let dry_run = Arg::new("dry-run") [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 246 | let autoclean = Arg::new("autoclean") [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | let autoclean_expensive = Arg::new("autoclean-expensive") [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | let list_top_cache_items = Arg::new("top-cache-items") [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let remove_if_older = Arg::new("remove-if-older-than") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let remove_if_younger = Arg::new("remove-if-younger-than") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let debug = Arg::new("debug") [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let version_subcmd = App::new("version").setting(AppSettings::Hidden); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let query_order = Arg::new("sort") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | let human_readable = Arg::new("hr") [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | let query = App::new("query") [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let query_short = App::new("q") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | let local = App::new("local").about("check local build cache (target) of a rust project"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 325 | // shorter local subcommand (l) [INFO] [stdout] 326 | let local_short = App::new("l").about("check local build cache (target) of a rust project"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | let registry = App::new("registry").about("query each package registry separately"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 332 | let registry_short = App::new("r").about("query each package registry separately"); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 333 | // hidden, but have "cargo cache registries" work too [INFO] [stdout] 334 | let registries_hidden = App::new("registries") [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 341 | let sccache = App::new("sccache").about("gather stats on a local sccache cache"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 342 | // shorter local subcommand (l) [INFO] [stdout] 343 | let sccache_short = App::new("sc").about("gather stats on a local sccache cache"); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 354 | let manifest_path = Arg::new("manifest-path") [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let clean_unref = App::new("clean-unref") [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | let size_limit = Arg::new("trim_limit") [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 375 | let trim = App::new("trim") [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | let toolchain = App::new("toolchain").about("print stats on installed toolchains"); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 385 | let clean_corrupted = Arg::new("clean-corrupted") [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let verify = App::new("verify") [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | let cache_subcmd = App::new("cache") [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / App::new("cargo-cache") [INFO] [stdout] 438 | | .version(&*version_string) [INFO] [stdout] 439 | | .bin_name("cargo") [INFO] [stdout] 440 | | .about("Manage cargo cache") [INFO] [stdout] ... | [INFO] [stdout] 468 | | .arg(&remove_if_older) [INFO] [stdout] 469 | | .arg(&debug) [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/local.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|d| d.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/sccache.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | .filter_map(|file| fs::metadata(&file.path).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/sccache.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | .filter_map(|file| fs::metadata(&file.path).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | match std::fs::read_dir(&toolchain_root) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|f| std::fs::metadata(&f).unwrap().len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/toolchains.rs:92:24 [INFO] [stdout] | [INFO] [stdout] 92 | .map(|dir| dir.unwrap().path()) [INFO] [stdout] | --- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/commands/trim.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | ... .map(|filepath| std::fs::metadata(filepath).unwrap().accessed().unwrap()) //@TODO make this an reusable function/method to simplify... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | .map(|x| x.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/git.rs:253:22 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|x| x.unwrap().path()) [INFO] [stdout] | - ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/remove.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | .map(|cratepath| cratepath.unwrap().path()) [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-cache` (bin "cargo-cache" test) due to 23 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "10e95cc34ed05e90e44046e4d3005e05e1a984935dbaae6bf1cc6a6dc5878928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e95cc34ed05e90e44046e4d3005e05e1a984935dbaae6bf1cc6a6dc5878928", kill_on_drop: false }` [INFO] [stdout] 10e95cc34ed05e90e44046e4d3005e05e1a984935dbaae6bf1cc6a6dc5878928