[INFO] fetching crate rapd 0.1.3... [INFO] checking rapd-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rapd 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rapd 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] started tweaking crates.io crate rapd 0.1.3 [INFO] finished tweaking crates.io crate rapd 0.1.3 [INFO] tweaked toml for crates.io crate rapd 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate rapd 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4c8fdab4c66eae9a454f99fb562f5c2c2b6fc13c814aa9e545e31404477d7583 [INFO] running `Command { std: "docker" "start" "-a" "4c8fdab4c66eae9a454f99fb562f5c2c2b6fc13c814aa9e545e31404477d7583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c8fdab4c66eae9a454f99fb562f5c2c2b6fc13c814aa9e545e31404477d7583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c8fdab4c66eae9a454f99fb562f5c2c2b6fc13c814aa9e545e31404477d7583", kill_on_drop: false }` [INFO] [stdout] 4c8fdab4c66eae9a454f99fb562f5c2c2b6fc13c814aa9e545e31404477d7583 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8f8925e37385fc587f34b165af52a2a73dbefeba4da9dae3b229f50bca6bb0a2 [INFO] running `Command { std: "docker" "start" "-a" "8f8925e37385fc587f34b165af52a2a73dbefeba4da9dae3b229f50bca6bb0a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling soloud-sys v1.0.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking soloud v1.0.1 [INFO] [stderr] Checking rapd v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/stop_player.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let len = stream.write(b"{\"request_type\":\"stop_player\" }\n"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/stop_player.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let len = reader.read_line(&mut line); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/rebuild_music_database.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let len = stream.write(b"{\"request_type\":\"rebuild_music_db\"}\n"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/rebuild_music_database.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let len = reader.read_line(&mut line); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/get_music.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let len = stream.write(b"{\"request_type\":\"get_music\"}\n"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/get_music.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let len = reader.read_line(&mut line); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/play_audio_file.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let len = stream.write(b"{\"request_type\":\"play_audio_file\",\"audio_file_path\":\"test.ogg\", \"loop_audio\": true}\n"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/play_audio_file.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let len = reader.read_line(&mut line); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/get_playing.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let len = stream.write(b"{\"request_type\":\"current_file\", \"full_path\": false}\n"); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> examples/get_playing.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let len = reader.read_line(&mut line); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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:87:11 [INFO] [stdout] | [INFO] [stdout] 78 | let mut state_file = std::fs::OpenOptions::new().write(true).truncate(true).open(state_path).expect("Failed to open state file"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match state_file.flush() { [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/server.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_to_stream(stream: BufReader, message: String){ [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | // write the message to the tcp stream [INFO] [stdout] 13 | match stream.get_ref().write(message.as_bytes()){ [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rapd` (bin "rapd" test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:87:11 [INFO] [stdout] | [INFO] [stdout] 78 | let mut state_file = std::fs::OpenOptions::new().write(true).truncate(true).open(state_path).expect("Failed to open state file"); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | match state_file.flush() { [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/server.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_to_stream(stream: BufReader, message: String){ [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | // write the message to the tcp stream [INFO] [stdout] 13 | match stream.get_ref().write(message.as_bytes()){ [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rapd` (bin "rapd") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "8f8925e37385fc587f34b165af52a2a73dbefeba4da9dae3b229f50bca6bb0a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f8925e37385fc587f34b165af52a2a73dbefeba4da9dae3b229f50bca6bb0a2", kill_on_drop: false }` [INFO] [stdout] 8f8925e37385fc587f34b165af52a2a73dbefeba4da9dae3b229f50bca6bb0a2