[INFO] fetching crate kubie 0.23.1... [INFO] checking kubie-0.23.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kubie 0.23.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate kubie 0.23.1 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 kubie 0.23.1 [INFO] finished tweaking crates.io crate kubie 0.23.1 [INFO] tweaked toml for crates.io crate kubie 0.23.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate kubie 0.23.1 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] 0cad3b622d18a8d88e224023d9e4f29ccb8f0e6ead90b177af6243c39d83da53 [INFO] running `Command { std: "docker" "start" "-a" "0cad3b622d18a8d88e224023d9e4f29ccb8f0e6ead90b177af6243c39d83da53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cad3b622d18a8d88e224023d9e4f29ccb8f0e6ead90b177af6243c39d83da53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cad3b622d18a8d88e224023d9e4f29ccb8f0e6ead90b177af6243c39d83da53", kill_on_drop: false }` [INFO] [stdout] 0cad3b622d18a8d88e224023d9e4f29ccb8f0e6ead90b177af6243c39d83da53 [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] cc3cf1a6c4e0b2d6490e66cc3bd0173bb6c56234c73271d53aaeba680f57da80 [INFO] running `Command { std: "docker" "start" "-a" "cc3cf1a6c4e0b2d6490e66cc3bd0173bb6c56234c73271d53aaeba680f57da80", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.103 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.119 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking defer-drop v1.3.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking which v6.0.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking tuikit v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking skim v0.10.4 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking attohttpc v0.28.0 [INFO] [stderr] Checking kubie v0.23.1 (/opt/rustwide/workdir) [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/kubeconfig.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | namespace_name: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let cluster = self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let user = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(KubeConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 197 | | clusters: vec![cluster.item], [INFO] [stdout] 198 | | contexts: vec![context_src.item], [INFO] [stdout] 199 | | users: vec![user.item], [INFO] [stdout] ... | [INFO] [stdout] 206 | | }, [INFO] [stdout] 207 | | }) [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] | | 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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn modify Result<()> + UnwindSafe>(func: F) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Self::access(|mut state| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | func(&mut state)?; [INFO] [stdout] 60 | | state.save()?; [INFO] [stdout] 61 | | Ok(()) [INFO] [stdout] 62 | | }) [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/state.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 65 | fn access Result + UnwindSafe>(func: F) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ioutil::file_lock(paths::state_lock(), || { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 73 | | State::read_and_parse() [INFO] [stdout] 74 | | .with_context(|| format!("Could not load state file: {}", paths::state().display())) [INFO] [stdout] 75 | | .and_then(func) [INFO] [stdout] 76 | | }) [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/state.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 65 | fn access Result + UnwindSafe>(func: F) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | / State::read_and_parse() [INFO] [stdout] 74 | | .with_context(|| format!("Could not load state file: {}", paths::state().display())) [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/kubeconfig.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 163 | namespace_name: Option>, [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | let cluster = self [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | let user = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 196 | Ok(KubeConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 197 | | clusters: vec![cluster.item], [INFO] [stdout] 198 | | contexts: vec![context_src.item], [INFO] [stdout] 199 | | users: vec![user.item], [INFO] [stdout] ... | [INFO] [stdout] 206 | | }, [INFO] [stdout] 207 | | }) [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] | | 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] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/state.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn modify Result<()> + UnwindSafe>(func: F) -> Result<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Self::access(|mut state| { [INFO] [stdout] | ______________________^ [INFO] [stdout] 59 | | func(&mut state)?; [INFO] [stdout] 60 | | state.save()?; [INFO] [stdout] 61 | | Ok(()) [INFO] [stdout] 62 | | }) [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/state.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 65 | fn access Result + UnwindSafe>(func: F) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | ioutil::file_lock(paths::state_lock(), || { [INFO] [stdout] | ________________________________________________^ [INFO] [stdout] 73 | | State::read_and_parse() [INFO] [stdout] 74 | | .with_context(|| format!("Could not load state file: {}", paths::state().display())) [INFO] [stdout] 75 | | .and_then(func) [INFO] [stdout] 76 | | }) [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/state.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 65 | fn access Result + UnwindSafe>(func: F) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | / State::read_and_parse() [INFO] [stdout] 74 | | .with_context(|| format!("Could not load state file: {}", paths::state().display())) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubie` (bin "kubie") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kubie` (bin "kubie" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cc3cf1a6c4e0b2d6490e66cc3bd0173bb6c56234c73271d53aaeba680f57da80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc3cf1a6c4e0b2d6490e66cc3bd0173bb6c56234c73271d53aaeba680f57da80", kill_on_drop: false }` [INFO] [stdout] cc3cf1a6c4e0b2d6490e66cc3bd0173bb6c56234c73271d53aaeba680f57da80