[INFO] fetching crate azi 0.4.4... [INFO] checking azi-0.4.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate azi 0.4.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate azi 0.4.4 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking crates.io crate azi 0.4.4 [INFO] finished tweaking crates.io crate azi 0.4.4 [INFO] tweaked toml for crates.io crate azi 0.4.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate azi 0.4.4 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d1277eede9b4c52269e717a741672592c2c8c86abb9ad372ea81ef50119a56b [INFO] running `Command { std: "docker" "start" "-a" "0d1277eede9b4c52269e717a741672592c2c8c86abb9ad372ea81ef50119a56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d1277eede9b4c52269e717a741672592c2c8c86abb9ad372ea81ef50119a56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1277eede9b4c52269e717a741672592c2c8c86abb9ad372ea81ef50119a56b", kill_on_drop: false }` [INFO] [stdout] 0d1277eede9b4c52269e717a741672592c2c8c86abb9ad372ea81ef50119a56b [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29e0bd2f7ad33f9ad033e83de4066e07236ed7bb966e9ba2e58ef51066fb3019 [INFO] running `Command { std: "docker" "start" "-a" "29e0bd2f7ad33f9ad033e83de4066e07236ed7bb966e9ba2e58ef51066fb3019", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking ureq v2.4.0 [INFO] [stderr] Checking azi v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result<(), Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 167 | let mut logger = env_logger::Builder::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | match run_command() { [INFO] [stdout] | ^^^^^^^^^^^^^ [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: this value of type `std::result::Result<(), Box>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 167 | let mut logger = env_logger::Builder::new(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | match run_command() { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | for mut t in token_sets.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:319:13 [INFO] [stdout] | [INFO] [stdout] 319 | for mut t in token_sets.iter_mut() { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/error.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | HttpError(u16, Value), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | HttpError(u16, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/object.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Named { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 12 | fn name(&self) -> &String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/object.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ManagedCluster { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] 80 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagedCluster` 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: field `name` is never read [INFO] [stdout] --> src/service.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 514 | pub struct KubernetesCluster { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 515 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_u64` and `to_str` are never used [INFO] [stdout] --> src/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait ValueExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 66 | fn to(self) -> Result; [INFO] [stdout] 67 | fn to_u64(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | fn to_str(&self) -> Result<&str>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azi` (bin "azi") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/error.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | HttpError(u16, Value), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | HttpError(u16, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/object.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Named { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 12 | fn name(&self) -> &String; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/object.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct ManagedCluster { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 79 | pub id: String, [INFO] [stdout] 80 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ManagedCluster` 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 `to_u64` and `to_str` are never used [INFO] [stdout] --> src/utils.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait ValueExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 66 | fn to(self) -> Result; [INFO] [stdout] 67 | fn to_u64(&self) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | fn to_str(&self) -> Result<&str>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `azi` (bin "azi" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29e0bd2f7ad33f9ad033e83de4066e07236ed7bb966e9ba2e58ef51066fb3019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e0bd2f7ad33f9ad033e83de4066e07236ed7bb966e9ba2e58ef51066fb3019", kill_on_drop: false }` [INFO] [stdout] 29e0bd2f7ad33f9ad033e83de4066e07236ed7bb966e9ba2e58ef51066fb3019