[INFO] cloning repository https://github.com/colin353/cbs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colin353/cbs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec12da8f80b4ced632100470436898fe835888f5 [INFO] checking colin353/cbs/ec12da8f80b4ced632100470436898fe835888f5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolin353%2Fcbs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colin353/cbs 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 git repo https://github.com/colin353/cbs [INFO] finished tweaking git repo https://github.com/colin353/cbs [INFO] tweaked toml for git repo https://github.com/colin353/cbs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/colin353/cbs 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c327fdb77b794ffdf0ee934b9c4e46a36d9416bcbfe87c3be2487ed8dbe478a3 [INFO] running `Command { std: "docker" "start" "-a" "c327fdb77b794ffdf0ee934b9c4e46a36d9416bcbfe87c3be2487ed8dbe478a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c327fdb77b794ffdf0ee934b9c4e46a36d9416bcbfe87c3be2487ed8dbe478a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c327fdb77b794ffdf0ee934b9c4e46a36d9416bcbfe87c3be2487ed8dbe478a3", kill_on_drop: false }` [INFO] [stdout] c327fdb77b794ffdf0ee934b9c4e46a36d9416bcbfe87c3be2487ed8dbe478a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7105abbb7a62391028bd3b7f980fcb4e8a066cd3955191c457eda23d2c63ee19 [INFO] running `Command { std: "docker" "start" "-a" "7105abbb7a62391028bd3b7f980fcb4e8a066cd3955191c457eda23d2c63ee19", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking winnow v0.5.31 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking cbs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `scratch_dir` is never used [INFO] [stdout] --> src/context.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn scratch_dir(&self) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/core.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | pub start_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl FakeResolver { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 238 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_all_logs` is never used [INFO] [stdout] --> src/exec.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn print_all_logs(&self) { [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/actions.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 93 | url: S, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | dest: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ) -> std::io::Result<()> { [INFO] [stdout] 96 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let url = url.parse().map_err(|_| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | handle.block_on(download(url, dest)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/context.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | lockfile: Arc::new(HashMap::new()), [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/context.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | logs: Arc::new(RwLock::new(HashMap::new())), [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/context.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | config: Arc::new(config.into_iter().collect()), [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/core.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn with_configs(configs: Vec<(&str, std::io::Result)>) -> Self { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | Self { [INFO] [stdout] 246 | configs: configs [INFO] [stdout] | ______________________^ [INFO] [stdout] 247 | | .into_iter() [INFO] [stdout] 248 | | .map(|(k, v)| (k.to_string(), v)) [INFO] [stdout] 249 | | .collect(), [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/exec.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 26 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), std::iter::empty()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | resolvers: Vec::new(), [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/exec.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 26 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), std::iter::empty()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | builders: Mutex::new(HashMap::new()), [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/exec.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), config); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | resolvers: Vec::new(), [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/exec.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), config); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | builders: Mutex::new(HashMap::new()), [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: aborting due to 9 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbs` (bin "cbs" test) due to 10 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/actions.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl BuildActions { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cargo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl CargoResolver { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_hash`, `with_target`, `with_task`, and `scratch_dir` are never used [INFO] [stdout] --> src/context.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Context { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 8 | pub fn new>( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn calculate_hash(&mut self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_target(&self, target: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_task(&self, task: &Task) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn scratch_dir(&self) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_time` and `hash` are never read [INFO] [stdout] --> src/core.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 8 | pub start_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub hash: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TargetEnv` and `TargetOS` are never constructed [INFO] [stdout] --> src/core.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum BuildConfigKey { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 21 | TargetFamily = 1, [INFO] [stdout] 22 | TargetEnv, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | TargetOS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BuildConfigKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `dependencies`, `result`, `available`, and `dependencies_ready` are never read [INFO] [stdout] --> src/core.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Task { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 31 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 32 | pub dependencies: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | pub available: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | pub dependencies_ready: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Task` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merged` is never used [INFO] [stdout] --> src/core.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl BuildResult { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn merged<'a, I: Iterator>(results: I) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `build_plugin` and `hash` are never read [INFO] [stdout] --> src/core.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 89 | pub dependencies: Vec, [INFO] [stdout] 90 | pub build_plugin: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub hash: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dependencies` and `calculate_hash` are never used [INFO] [stdout] --> src/core.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 104 | pub fn dependencies(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn calculate_hash(&mut self, context_hash: u64, deps_hash: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Resolving`, `Blocked`, `Building`, and `Done` are never constructed [INFO] [stdout] --> src/core.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum TaskStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 157 | Resolving, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 158 | Blocked, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 159 | Building, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 160 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `failure_stage`, and `status` are never used [INFO] [stdout] --> src/core.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 164 | pub fn new(id: usize, target: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn failure_stage(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn status(&self) -> TaskStatus { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_resolve` and `resolve` are never used [INFO] [stdout] --> src/core.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub trait ResolverPlugin: std::fmt::Debug { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 205 | fn can_resolve(&self, target: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 206 | fn resolve(&self, context: Context, target: &str) -> std::io::Result; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/core.rs:210:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait BuildPlugin: std::fmt::Debug { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 210 | fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_configs` are never used [INFO] [stdout] --> src/core.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 237 | impl FakeResolver { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 238 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn with_configs(configs: Vec<(&str, std::io::Result)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/exec.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Executor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TaskGraph` is never constructed [INFO] [stdout] --> src/exec.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TaskGraph { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TaskGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/exec.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Executor { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_task>(&self, target: T, rdep: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn next_task(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn run(&self, roots: &[usize]) -> BuildResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn resolve(&self, task: Task) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn build(&self, mut task: Task) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn mark_task_failure(&self, id: usize, result: BuildResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn print_all_logs(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn mark_build_success(&self, id: usize, result: BuildResult, hash: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_task`, `mark_task_failure`, and `mark_build_success` are never used [INFO] [stdout] --> src/exec.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 288 | impl TaskGraph { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 289 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn add_task>(&mut self, target: T, rdep: Option) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn mark_task_failure(&mut self, id: usize, root_cause: usize, result: BuildResult) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn mark_build_success(&mut self, id: usize, result: BuildResult, hash: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_plugin` is never used [INFO] [stdout] --> src/exec.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn load_plugin(path: &std::path::Path) -> Arc { [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/actions.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 93 | url: S, [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | dest: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ) -> std::io::Result<()> { [INFO] [stdout] 96 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let url = url.parse().map_err(|_| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | handle.block_on(download(url, dest)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/context.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | lockfile: Arc::new(HashMap::new()), [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/context.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | logs: Arc::new(RwLock::new(HashMap::new())), [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/context.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 10 | config: T, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | config: Arc::new(config.into_iter().collect()), [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/core.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn with_configs(configs: Vec<(&str, std::io::Result)>) -> Self { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | Self { [INFO] [stdout] 246 | configs: configs [INFO] [stdout] | ______________________^ [INFO] [stdout] 247 | | .into_iter() [INFO] [stdout] 248 | | .map(|(k, v)| (k.to_string(), v)) [INFO] [stdout] 249 | | .collect(), [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/exec.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 26 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), std::iter::empty()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | resolvers: Vec::new(), [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/exec.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 26 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), std::iter::empty()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | builders: Mutex::new(HashMap::new()), [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/exec.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), config); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | resolvers: Vec::new(), [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/exec.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn with_config>(config: T) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let mut context = Context::new(std::path::PathBuf::from("/tmp/cache"), config); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | builders: Mutex::new(HashMap::new()), [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: aborting due to 9 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbs` (bin "cbs") due to 10 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7105abbb7a62391028bd3b7f980fcb4e8a066cd3955191c457eda23d2c63ee19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7105abbb7a62391028bd3b7f980fcb4e8a066cd3955191c457eda23d2c63ee19", kill_on_drop: false }` [INFO] [stdout] 7105abbb7a62391028bd3b7f980fcb4e8a066cd3955191c457eda23d2c63ee19