[INFO] cloning repository https://github.com/TorMFinn/rphone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TorMFinn/rphone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorMFinn%2Frphone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorMFinn%2Frphone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b355025c9bac738aabaf43351770e60a97163b18 [INFO] checking TorMFinn/rphone/b355025c9bac738aabaf43351770e60a97163b18 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%2FTorMFinn%2Frphone" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TorMFinn/rphone 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/TorMFinn/rphone [INFO] finished tweaking git repo https://github.com/TorMFinn/rphone [INFO] tweaked toml for git repo https://github.com/TorMFinn/rphone written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TorMFinn/rphone 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] 5d297103d14b1fdacb5e83b572c5de2716dd728e87e706402dd7912a18f81db4 [INFO] running `Command { std: "docker" "start" "-a" "5d297103d14b1fdacb5e83b572c5de2716dd728e87e706402dd7912a18f81db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d297103d14b1fdacb5e83b572c5de2716dd728e87e706402dd7912a18f81db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d297103d14b1fdacb5e83b572c5de2716dd728e87e706402dd7912a18f81db4", kill_on_drop: false }` [INFO] [stdout] 5d297103d14b1fdacb5e83b572c5de2716dd728e87e706402dd7912a18f81db4 [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] 9791c4ffe9dbae348ffcfa25b0ad1e36fa72a0993c00fcb04f7e5c47b751ef24 [INFO] running `Command { std: "docker" "start" "-a" "9791c4ffe9dbae348ffcfa25b0ad1e36fa72a0993c00fcb04f7e5c47b751ef24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libpulse-sys v1.19.3 [INFO] [stderr] Compiling libpulse-simple-sys v1.19.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking libpulse-binding v2.26.0 [INFO] [stderr] Checking gpio-cdev v0.5.1 [INFO] [stderr] Checking libpulse-simple-binding v2.25.0 [INFO] [stderr] Checking rphone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Format` and `Spec` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use libpulse_binding::sample::{Format, Spec}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_binding::stream::Direction` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libpulse_binding::stream::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_simple_binding::Simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libpulse_simple_binding::Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Format` and `Spec` [INFO] [stdout] --> src/main.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use libpulse_binding::sample::{Format, Spec}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_binding::stream::Direction` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libpulse_binding::stream::Direction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libpulse_simple_binding::Simple` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libpulse_simple_binding::Simple; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HandsetState` is never used [INFO] [stdout] --> src/hw/handset.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HandsetState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandsetState` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/hw/handset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HandsetInternal` is never constructed [INFO] [stdout] --> src/hw/handset.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct HandsetInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handset` is never constructed [INFO] [stdout] --> src/hw/handset.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Handset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `init_default`, and `get_state` are never used [INFO] [stdout] --> src/hw/handset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Handset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn init(cfg: &Config) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_default() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_state(&self) -> HandsetState { [INFO] [stdout] | ^^^^^^^^^ [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/hw/handset.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | let mut chip = Chip::new(cfg.gpio_dev.as_str()).expect("failed to open gpio device"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let line_result = chip [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let line_handle = line_result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let internal_handset = HandsetInternal { line_handle }; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(Handset { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | internal: internal_handset, [INFO] [stdout] 38 | | }) [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/audio/dialtone.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 29 | let s = Simple::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let internal = DialtoneInternal { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Dialtone { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | internal: Arc::new(Mutex::new(internal)), [INFO] [stdout] 49 | | audio_thd: None, [INFO] [stdout] 50 | | }) [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rphone` (bin "rphone") due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `HandsetState` is never used [INFO] [stdout] --> src/hw/handset.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum HandsetState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandsetState` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/hw/handset.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HandsetInternal` is never constructed [INFO] [stdout] --> src/hw/handset.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct HandsetInternal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Handset` is never constructed [INFO] [stdout] --> src/hw/handset.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Handset { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init`, `init_default`, and `get_state` are never used [INFO] [stdout] --> src/hw/handset.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Handset { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 24 | pub fn init(cfg: &Config) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_default() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn get_state(&self) -> HandsetState { [INFO] [stdout] | ^^^^^^^^^ [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/hw/handset.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 25 | let mut chip = Chip::new(cfg.gpio_dev.as_str()).expect("failed to open gpio device"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | [INFO] [stdout] 27 | let line_result = chip [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | let line_handle = line_result [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let internal_handset = HandsetInternal { line_handle }; [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | Ok(Handset { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | internal: internal_handset, [INFO] [stdout] 38 | | }) [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/audio/dialtone.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 29 | let s = Simple::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | let internal = DialtoneInternal { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | Ok(Dialtone { [INFO] [stdout] | ____________^ [INFO] [stdout] 48 | | internal: Arc::new(Mutex::new(internal)), [INFO] [stdout] 49 | | audio_thd: None, [INFO] [stdout] 50 | | }) [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; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rphone` (bin "rphone" test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9791c4ffe9dbae348ffcfa25b0ad1e36fa72a0993c00fcb04f7e5c47b751ef24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9791c4ffe9dbae348ffcfa25b0ad1e36fa72a0993c00fcb04f7e5c47b751ef24", kill_on_drop: false }` [INFO] [stdout] 9791c4ffe9dbae348ffcfa25b0ad1e36fa72a0993c00fcb04f7e5c47b751ef24