[INFO] cloning repository https://github.com/Teenvan/Rust-tokio-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Teenvan/Rust-tokio-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeenvan%2FRust-tokio-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTeenvan%2FRust-tokio-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] abcef850f63b051a7f8bd3e3399b7fba07d73328 [INFO] checking Teenvan/Rust-tokio-tutorial/abcef850f63b051a7f8bd3e3399b7fba07d73328 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%2FTeenvan%2FRust-tokio-tutorial" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Teenvan/Rust-tokio-tutorial 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/Teenvan/Rust-tokio-tutorial [INFO] finished tweaking git repo https://github.com/Teenvan/Rust-tokio-tutorial [INFO] tweaked toml for git repo https://github.com/Teenvan/Rust-tokio-tutorial written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Teenvan/Rust-tokio-tutorial 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] 5b10c8f05156666dc62b35b7ac641fcfd427e3add5201b3fc68c1eb69b3bd983 [INFO] running `Command { std: "docker" "start" "-a" "5b10c8f05156666dc62b35b7ac641fcfd427e3add5201b3fc68c1eb69b3bd983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b10c8f05156666dc62b35b7ac641fcfd427e3add5201b3fc68c1eb69b3bd983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b10c8f05156666dc62b35b7ac641fcfd427e3add5201b3fc68c1eb69b3bd983", kill_on_drop: false }` [INFO] [stdout] 5b10c8f05156666dc62b35b7ac641fcfd427e3add5201b3fc68c1eb69b3bd983 [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] b0218468658472b56b0b63553bb806c8e4971f5a3431b5e854af475791058f1a [INFO] running `Command { std: "docker" "start" "-a" "b0218468658472b56b0b63553bb806c8e4971f5a3431b5e854af475791058f1a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking mini-redis v0.4.1 [INFO] [stderr] Checking my-redis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/bin/echo-server-copy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/bin/echo-server-copy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> examples/mini_tokio.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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/bin/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 20 | || // The second item contains the IP and port of the new connection [INFO] [stdout] 21 | || let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] ... || [INFO] [stdout] 30 | || }); [INFO] [stdout] 31 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/bin/echo-server-copy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 10 | || let (mut socket, _) = listener.accept().await?; [INFO] [stdout] 11 | || [INFO] [stdout] 12 | || tokio::spawn(async move { [INFO] [stdout] ... || [INFO] [stdout] 48 | || [INFO] [stdout] 49 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "echo-server-copy") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [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/bin/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 20 | || // The second item contains the IP and port of the new connection [INFO] [stdout] 21 | || let (socket, _) = listener.accept().await.unwrap(); [INFO] [stdout] ... || [INFO] [stdout] 30 | || }); [INFO] [stdout] 31 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "server" test) due to 2 previous errors [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/bin/echo-server-copy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 10 | || let (mut socket, _) = listener.accept().await?; [INFO] [stdout] 11 | || [INFO] [stdout] 12 | || tokio::spawn(async move { [INFO] [stdout] ... || [INFO] [stdout] 48 | || [INFO] [stdout] 49 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "server") due to 2 previous errors [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/mini_tokio.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | self.executor.send(self.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = self.executor.send(self.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (bin "echo-server-copy" test) due to 2 previous errors; 1 warning emitted [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] --> examples/hello-redis.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-redis` (example "hello-redis") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b0218468658472b56b0b63553bb806c8e4971f5a3431b5e854af475791058f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0218468658472b56b0b63553bb806c8e4971f5a3431b5e854af475791058f1a", kill_on_drop: false }` [INFO] [stdout] b0218468658472b56b0b63553bb806c8e4971f5a3431b5e854af475791058f1a