[INFO] cloning repository https://github.com/antmicro/wash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antmicro/wash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantmicro%2Fwash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantmicro%2Fwash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 225ead9ea183987041b1a901057dd4afd8b4f829 [INFO] checking antmicro/wash/225ead9ea183987041b1a901057dd4afd8b4f829 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%2Fantmicro%2Fwash" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/antmicro/wash 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/antmicro/wash [INFO] finished tweaking git repo https://github.com/antmicro/wash [INFO] tweaked toml for git repo https://github.com/antmicro/wash written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/antmicro/wash 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] [stderr] warning: unused manifest key: net [INFO] [stderr] warning: unused manifest key: package.author_email [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] 905c65d33f44a9f239fda805b0ee604b8bf473b6e353b33ef6f8a7f52da7a01f [INFO] running `Command { std: "docker" "start" "-a" "905c65d33f44a9f239fda805b0ee604b8bf473b6e353b33ef6f8a7f52da7a01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905c65d33f44a9f239fda805b0ee604b8bf473b6e353b33ef6f8a7f52da7a01f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905c65d33f44a9f239fda805b0ee604b8bf473b6e353b33ef6f8a7f52da7a01f", kill_on_drop: false }` [INFO] [stdout] 905c65d33f44a9f239fda805b0ee604b8bf473b6e353b33ef6f8a7f52da7a01f [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] cd9d3836211a33a9e8952053b7aea8e1e7296fb8881415f4f5bd4fb0c470a1d8 [INFO] running `Command { std: "docker" "start" "-a" "cd9d3836211a33a9e8952053b7aea8e1e7296fb8881415f4f5bd4fb0c470a1d8", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: net [INFO] [stderr] warning: unused manifest key: package.author_email [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking owo-colors v1.3.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling wash v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking conch-parser v0.1.1 (https://github.com/antmicro/conch-parser.git?branch=master#d0765a37) [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking vte v0.13.0 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking os_pipe v1.1.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking clap v4.4.8 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking command-fds v0.2.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking color-spantrace v0.1.6 [INFO] [stderr] Checking color-eyre v0.5.11 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | ParseError::Custom(t) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ matches no values because `void::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | ParseError::Custom(t) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ matches no values because `void::Void` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/shell_base.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(err) = [INFO] [stdout] | ________________^ [INFO] [stdout] 320 | | nix::unistd::execve(cpath.as_c_str(), cargs.as_slice(), cenv.as_slice()) [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/shell_base.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | if let Err(err) = [INFO] [stdout] | ________________^ [INFO] [stdout] 320 | | nix::unistd::execve(cpath.as_c_str(), cargs.as_slice(), cenv.as_slice()) [INFO] [stdout] | |________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [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/shell_base.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 291 | fn env_fmt((key, val): (T, T)) -> CString { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | CString::new(format!("{}={}", key, val)).unwrap() [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/shell_base.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | .map(|arg: &&str| CString::new(*arg).unwrap()) [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/shell_base.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn run_script(&mut self, script_name: impl Into) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | self.handle_input(&fs::read_to_string(script_name.into()).unwrap()) [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/shell_base.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 291 | fn env_fmt((key, val): (T, T)) -> CString { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | CString::new(format!("{}={}", key, val)).unwrap() [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/shell_base.rs:311:35 [INFO] [stdout] | [INFO] [stdout] 311 | .map(|arg: &&str| CString::new(*arg).unwrap()) [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/shell_base.rs:583:28 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn run_script(&mut self, script_name: impl Into) -> Result { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | self.handle_input(&fs::read_to_string(script_name.into()).unwrap()) [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 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wash` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wash` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd9d3836211a33a9e8952053b7aea8e1e7296fb8881415f4f5bd4fb0c470a1d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd9d3836211a33a9e8952053b7aea8e1e7296fb8881415f4f5bd4fb0c470a1d8", kill_on_drop: false }` [INFO] [stdout] cd9d3836211a33a9e8952053b7aea8e1e7296fb8881415f4f5bd4fb0c470a1d8