[INFO] cloning repository https://github.com/denis96z/tnt15-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denis96z/tnt15-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenis96z%2Ftnt15-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenis96z%2Ftnt15-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea1a76b20c2a9dea9de63c205deb771e9405f80c [INFO] checking denis96z/tnt15-rs/ea1a76b20c2a9dea9de63c205deb771e9405f80c 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%2Fdenis96z%2Ftnt15-rs" "/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/denis96z/tnt15-rs 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/denis96z/tnt15-rs [INFO] finished tweaking git repo https://github.com/denis96z/tnt15-rs [INFO] tweaked toml for git repo https://github.com/denis96z/tnt15-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/denis96z/tnt15-rs 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] Blocking waiting for file lock on package cache [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] 78caf0ed8bb6b1f3959c7c1a8fc68bfbdea89367e8e111b12800b9c8d5bbedc8 [INFO] running `Command { std: "docker" "start" "-a" "78caf0ed8bb6b1f3959c7c1a8fc68bfbdea89367e8e111b12800b9c8d5bbedc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78caf0ed8bb6b1f3959c7c1a8fc68bfbdea89367e8e111b12800b9c8d5bbedc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78caf0ed8bb6b1f3959c7c1a8fc68bfbdea89367e8e111b12800b9c8d5bbedc8", kill_on_drop: false }` [INFO] [stdout] 78caf0ed8bb6b1f3959c7c1a8fc68bfbdea89367e8e111b12800b9c8d5bbedc8 [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] 871f4503b7cf8fe2490c76348834844b391a5d6bf7abe9b9fe37c140e6ab9847 [INFO] running `Command { std: "docker" "start" "-a" "871f4503b7cf8fe2490c76348834844b391a5d6bf7abe9b9fe37c140e6ab9847", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Checking tnt15-rs v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/tnt/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::*` [INFO] [stdout] --> src/tnt/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use client::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/tnt/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/tnt/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/tnt/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::*` [INFO] [stdout] --> src/tnt/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use client::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `requests::*` [INFO] [stdout] --> src/tnt/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use requests::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/tnt/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Client` is never constructed [INFO] [stdout] --> src/tnt/client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/tnt/client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn connect(addr: T) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/tnt/connection.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next_req_id` are never used [INFO] [stdout] --> src/tnt/connection.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(socket: TcpStream) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn next_req_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl Insert { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 7 | pub const ID: u32 = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Select` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Select {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl Select { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 13 | pub const ID: u32 = 17; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Update {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl Update { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 19 | pub const ID: u32 = 19; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delete` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Delete {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | impl Delete { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 25 | pub const ID: u32 = 21; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Call {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl Call { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 31 | pub const ID: u32 = 22; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tuple` is never constructed [INFO] [stdout] --> src/tnt/types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Tuple {} [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/tnt/connection.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(socket: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Self { [INFO] [stdout] 12 | writer: BufWriter::new(socket), [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] warning: struct `Client` is never constructed [INFO] [stdout] --> src/tnt/client.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connect` is never used [INFO] [stdout] --> src/tnt/client.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn connect(addr: T) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/tnt/connection.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next_req_id` are never used [INFO] [stdout] --> src/tnt/connection.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(socket: TcpStream) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn next_req_id(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Insert` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Insert { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 6 | impl Insert { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 7 | pub const ID: u32 = 13; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Select` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Select {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 12 | impl Select { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 13 | pub const ID: u32 = 17; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Update` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Update {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 18 | impl Update { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 19 | pub const ID: u32 = 19; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Delete` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Delete {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | impl Delete { [INFO] [stdout] | ----------- associated constant in this implementation [INFO] [stdout] 25 | pub const ID: u32 = 21; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Call` is never constructed [INFO] [stdout] --> src/tnt/requests.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Call {} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ID` is never used [INFO] [stdout] --> src/tnt/requests.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 30 | impl Call { [INFO] [stdout] | --------- associated constant in this implementation [INFO] [stdout] 31 | pub const ID: u32 = 22; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tuple` is never constructed [INFO] [stdout] --> src/tnt/types.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Tuple {} [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/tnt/connection.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(socket: TcpStream) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | Self { [INFO] [stdout] 12 | writer: BufWriter::new(socket), [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: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tnt15-rs` (lib test) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tnt15-rs` (lib) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "871f4503b7cf8fe2490c76348834844b391a5d6bf7abe9b9fe37c140e6ab9847", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871f4503b7cf8fe2490c76348834844b391a5d6bf7abe9b9fe37c140e6ab9847", kill_on_drop: false }` [INFO] [stdout] 871f4503b7cf8fe2490c76348834844b391a5d6bf7abe9b9fe37c140e6ab9847