[INFO] updating cached repository https://github.com/5witchkr/tokio-actor-model [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d80c165ed9a2a3d8537482a2fc50076cbda018b8 [INFO] checking 5witchkr/tokio-actor-model/d80c165ed9a2a3d8537482a2fc50076cbda018b8 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%2F5witchkr%2Ftokio-actor-model" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/5witchkr/tokio-actor-model 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/5witchkr/tokio-actor-model [INFO] finished tweaking git repo https://github.com/5witchkr/tokio-actor-model [INFO] tweaked toml for git repo https://github.com/5witchkr/tokio-actor-model written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/5witchkr/tokio-actor-model 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c14982de730ce21f24fe9255b7677770bed596b837efdf128bdc16349f17980f [INFO] running `Command { std: "docker" "start" "-a" "c14982de730ce21f24fe9255b7677770bed596b837efdf128bdc16349f17980f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c14982de730ce21f24fe9255b7677770bed596b837efdf128bdc16349f17980f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c14982de730ce21f24fe9255b7677770bed596b837efdf128bdc16349f17980f", kill_on_drop: false }` [INFO] [stdout] c14982de730ce21f24fe9255b7677770bed596b837efdf128bdc16349f17980f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a3d15573c3c8b0ccc6d5788d808bfb5520218737ebaf71160f9fd6bef6eab36c [INFO] running `Command { std: "docker" "start" "-a" "a3d15573c3c8b0ccc6d5788d808bfb5520218737ebaf71160f9fd6bef6eab36c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio-actor-model v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `MyActorHandle` is never constructed [INFO] [stdout] --> src/actor_ex/actor_handler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MyActorHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyActorHandle` has a derived impl for the trait `Clone`, 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: associated items `new`, `get_unique_id`, and `up_unique_id` are never used [INFO] [stdout] --> src/actor_ex/actor_handler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MyActorHandle { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_unique_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn up_unique_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyActor` is never constructed [INFO] [stdout] --> src/actor_ex/actor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyActor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActorMessage` is never used [INFO] [stdout] --> src/actor_ex/actor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ActorMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_message` are never used [INFO] [stdout] --> src/actor_ex/actor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MyActor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn handle_message(&mut self, msg: ActorMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_actor` is never used [INFO] [stdout] --> src/actor_ex/actor.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn run_my_actor(mut actor: MyActor) { [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/tcp_server/tcp_actor.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | stream: None, [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-actor-model` (bin "tokio-actor-model" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `MyActorHandle` is never constructed [INFO] [stdout] --> src/actor_ex/actor_handler.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MyActorHandle { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyActorHandle` has a derived impl for the trait `Clone`, 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: associated items `new`, `get_unique_id`, and `up_unique_id` are never used [INFO] [stdout] --> src/actor_ex/actor_handler.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl MyActorHandle { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub async fn get_unique_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn up_unique_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyActor` is never constructed [INFO] [stdout] --> src/actor_ex/actor.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyActor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ActorMessage` is never used [INFO] [stdout] --> src/actor_ex/actor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ActorMessage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `handle_message` are never used [INFO] [stdout] --> src/actor_ex/actor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MyActor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new(receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn handle_message(&mut self, msg: ActorMessage) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_actor` is never used [INFO] [stdout] --> src/actor_ex/actor.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub async fn run_my_actor(mut actor: MyActor) { [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/tcp_server/tcp_actor.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | stream: None, [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-actor-model` (bin "tokio-actor-model") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3d15573c3c8b0ccc6d5788d808bfb5520218737ebaf71160f9fd6bef6eab36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3d15573c3c8b0ccc6d5788d808bfb5520218737ebaf71160f9fd6bef6eab36c", kill_on_drop: false }` [INFO] [stdout] a3d15573c3c8b0ccc6d5788d808bfb5520218737ebaf71160f9fd6bef6eab36c