[INFO] fetching crate cargo-mote 0.1.3... [INFO] checking cargo-mote-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cargo-mote 0.1.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cargo-mote 0.1.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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cargo-mote 0.1.3 [INFO] finished tweaking crates.io crate cargo-mote 0.1.3 [INFO] tweaked toml for crates.io crate cargo-mote 0.1.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-mote 0.1.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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] da5b74100ef06dbb2b8bbc2dbd4a7cbed2d8b053abc1b46e8b4a04519f4283be [INFO] running `Command { std: "docker" "start" "-a" "da5b74100ef06dbb2b8bbc2dbd4a7cbed2d8b053abc1b46e8b4a04519f4283be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da5b74100ef06dbb2b8bbc2dbd4a7cbed2d8b053abc1b46e8b4a04519f4283be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5b74100ef06dbb2b8bbc2dbd4a7cbed2d8b053abc1b46e8b4a04519f4283be", kill_on_drop: false }` [INFO] [stdout] da5b74100ef06dbb2b8bbc2dbd4a7cbed2d8b053abc1b46e8b4a04519f4283be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 10a611974d95da1fa497bcf51316d2d51dfbe2d680fafd9b6aec150450124bb0 [INFO] running `Command { std: "docker" "start" "-a" "10a611974d95da1fa497bcf51316d2d51dfbe2d680fafd9b6aec150450124bb0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking xml-rs v0.8.19 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking tui v0.14.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking ssdp v0.7.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-xml-rs v0.4.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking cargo-mote v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `alternate_name` is never read [INFO] [stdout] --> src/devices/device_info/model.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub alternate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/devices/discovery.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fut = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | spawn(async move { join_all(fut).await }); [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/ui/mod.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 47 | let stdout = io::stdout() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let backend = TermionBackend::new(stdout); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let mut terminal = Terminal::new(backend).expect("Failed to initialize terminal abstraction"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | active_keys: Arc::from(Mutex::from(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/ui/mod.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 84 | let ks = self.active_keys.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / self.terminal.draw(move |f| { [INFO] [stdout] 95 | | let (terminal_char_width, terminal_char_height) = termion::terminal_size().expect("Failed to get information about terminal s... [INFO] [stdout] 96 | | let (terminal_px_width, terminal_px_height) = termion::terminal_size_pixels().expect("Failed to get information about termina... [INFO] [stdout] ... | [INFO] [stdout] 226 | | f.render_widget(mute_pad, Rect::new(buttons_x_offset + 2*(button_pad_width + button_pad_margin), buttons_y_offset + button_pad_he... [INFO] [stdout] 227 | | }) [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] warning: field `alternate_name` is never read [INFO] [stdout] --> src/devices/device_info/model.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Model { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub alternate_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Model` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/devices/discovery.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 27 | let mut fut = vec![]; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | spawn(async move { join_all(fut).await }); [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/ui/mod.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 47 | let stdout = io::stdout() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let backend = TermionBackend::new(stdout); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let mut terminal = Terminal::new(backend).expect("Failed to initialize terminal abstraction"); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | active_keys: Arc::from(Mutex::from(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/ui/mod.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 84 | let ks = self.active_keys.lock().unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / self.terminal.draw(move |f| { [INFO] [stdout] 95 | | let (terminal_char_width, terminal_char_height) = termion::terminal_size().expect("Failed to get information about terminal s... [INFO] [stdout] 96 | | let (terminal_px_width, terminal_px_height) = termion::terminal_size_pixels().expect("Failed to get information about termina... [INFO] [stdout] ... | [INFO] [stdout] 226 | | f.render_widget(mute_pad, Rect::new(buttons_x_offset + 2*(button_pad_width + button_pad_margin), buttons_y_offset + button_pad_he... [INFO] [stdout] 227 | | }) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-mote` (bin "cargo-mote" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-mote` (bin "cargo-mote") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "10a611974d95da1fa497bcf51316d2d51dfbe2d680fafd9b6aec150450124bb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a611974d95da1fa497bcf51316d2d51dfbe2d680fafd9b6aec150450124bb0", kill_on_drop: false }` [INFO] [stdout] 10a611974d95da1fa497bcf51316d2d51dfbe2d680fafd9b6aec150450124bb0