[INFO] cloning repository https://github.com/zklapow/duplex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zklapow/duplex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzklapow%2Fduplex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzklapow%2Fduplex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6590429dc4552c62fdba46c2ca0a811f835e4b92 [INFO] checking zklapow/duplex against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzklapow%2Fduplex" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zklapow/duplex on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zklapow/duplex [INFO] finished tweaking git repo https://github.com/zklapow/duplex [INFO] tweaked toml for git repo https://github.com/zklapow/duplex written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zklapow/duplex 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.4.3 [INFO] [stderr] Downloaded net2 v0.2.27 [INFO] [stderr] Downloaded iovec v0.1.0 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded env_logger v0.3.5 [INFO] [stderr] Downloaded scoped-tls v0.1.0 [INFO] [stderr] Downloaded tokio-io v0.1.1 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded tokio-core v0.1.6 [INFO] [stderr] Downloaded mio v0.6.7 [INFO] [stderr] Downloaded unicode-segmentation v1.1.0 [INFO] [stderr] Downloaded futures v0.1.13 [INFO] [stderr] Downloaded chrono v0.3.1 [INFO] [stderr] Downloaded vec_map v0.7.0 [INFO] [stderr] Downloaded lazycell v0.4.0 [INFO] [stderr] Downloaded clap v2.23.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8619beaa225fff6e549a05ffb082dbf52eadc05972e2761ed0f54ed61adb916d [INFO] running `Command { std: "docker" "start" "-a" "8619beaa225fff6e549a05ffb082dbf52eadc05972e2761ed0f54ed61adb916d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8619beaa225fff6e549a05ffb082dbf52eadc05972e2761ed0f54ed61adb916d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8619beaa225fff6e549a05ffb082dbf52eadc05972e2761ed0f54ed61adb916d", kill_on_drop: false }` [INFO] [stdout] 8619beaa225fff6e549a05ffb082dbf52eadc05972e2761ed0f54ed61adb916d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9acdb289d5372d077d57e3eeb5c475a59f3603d63bf561fbcff4506c0db31d4 [INFO] running `Command { std: "docker" "start" "-a" "b9acdb289d5372d077d57e3eeb5c475a59f3603d63bf561fbcff4506c0db31d4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking net2 v0.2.27 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Checking clap v2.23.3 [INFO] [stderr] Checking mio v0.6.7 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.6 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking duplex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/proxy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/proxy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/proxy.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/proxy.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/proxy.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/proxy.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shutdown` [INFO] [stdout] --> src/proxy.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::io::{copy, shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shutdown` [INFO] [stdout] --> src/proxy.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::io::{copy, shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proxy.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(io::Error::new(io::ErrorKind::WouldBlock, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proxy.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(io::Error::new(io::ErrorKind::WouldBlock, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let res = match matches.subcommand() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let res = match matches.subcommand() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b9acdb289d5372d077d57e3eeb5c475a59f3603d63bf561fbcff4506c0db31d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9acdb289d5372d077d57e3eeb5c475a59f3603d63bf561fbcff4506c0db31d4", kill_on_drop: false }` [INFO] [stdout] b9acdb289d5372d077d57e3eeb5c475a59f3603d63bf561fbcff4506c0db31d4 [INFO] checking zklapow/duplex against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzklapow%2Fduplex" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zklapow/duplex on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zklapow/duplex [INFO] finished tweaking git repo https://github.com/zklapow/duplex [INFO] tweaked toml for git repo https://github.com/zklapow/duplex written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zklapow/duplex 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e0623f608c6ac10545af5ff6841645cbb7c79c2d4eca1fddbc37b547e3085db [INFO] running `Command { std: "docker" "start" "-a" "5e0623f608c6ac10545af5ff6841645cbb7c79c2d4eca1fddbc37b547e3085db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e0623f608c6ac10545af5ff6841645cbb7c79c2d4eca1fddbc37b547e3085db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0623f608c6ac10545af5ff6841645cbb7c79c2d4eca1fddbc37b547e3085db", kill_on_drop: false }` [INFO] [stdout] 5e0623f608c6ac10545af5ff6841645cbb7c79c2d4eca1fddbc37b547e3085db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cca5640287e0f348561c5bf067cbc898390725a45b630ae44441df1b78827f5 [INFO] running `Command { std: "docker" "start" "-a" "6cca5640287e0f348561c5bf067cbc898390725a45b630ae44441df1b78827f5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking futures v0.1.13 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking vec_map v0.7.0 [INFO] [stderr] Checking unicode-segmentation v1.1.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking net2 v0.2.27 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking bytes v0.4.3 [INFO] [stderr] Checking clap v2.23.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking mio v0.6.7 [INFO] [stderr] Checking chrono v0.3.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking tokio-core v0.1.6 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking duplex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/proxy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/proxy.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/proxy.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shutdown` [INFO] [stdout] --> src/proxy.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::io::{copy, shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/proxy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/proxy.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::{Shutdown, SocketAddr}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/proxy.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::{AsyncRead, AsyncWrite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `shutdown` [INFO] [stdout] --> src/proxy.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::io::{copy, shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proxy.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(io::Error::new(io::ErrorKind::WouldBlock, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/proxy.rs:66:75 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => Err(io::Error::new(io::ErrorKind::WouldBlock, e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let res = match matches.subcommand() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/proxy.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 27 | let handle = event_loop.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let socket = TcpListener::bind(&listen_addr, &event_loop.handle()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let done = server.and_then(move |server| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | trace!("Server connection established!"); [INFO] [stdout] 37 | let (pread, pwrite) = server.split(); [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let proxy = Proxy{ inner: Arc::new(Mutex::new((Option::Some(pread), Option::Some(pwrite)))) }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | socket.incoming().for_each(move |(client, client_addr)| { [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/proxy.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 27 | let handle = event_loop.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let socket = TcpListener::bind(&listen_addr, &event_loop.handle()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let done = server.and_then(move |server| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | trace!("Server connection established!"); [INFO] [stdout] 37 | let (pread, pwrite) = server.split(); [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let proxy = Proxy{ inner: Arc::new(Mutex::new((Option::Some(pread), Option::Some(pwrite)))) }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | socket.incoming().for_each(move |(client, client_addr)| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 42 | | trace!("Connection accepted from {}", client_addr); [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | let (client_reader, client_writer) = client.split(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/proxy.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 44 | let (client_reader, client_writer) = client.split(); [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let res = lock.try_lock().map(|mut gaurd| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (ref mut boxed_reader, ref mut boxed_writer) = *gaurd; [INFO] [stdout] 49 | let client_to_server = copy(client_reader, boxed_writer.take().unwrap()).map(|(n, _, _)| n); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let server_to_client = copy(boxed_reader.take().unwrap(), client_writer).map(|(n, _, _)| n); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let res = client_to_server.join(server_to_client); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | [INFO] [stdout] 54 | / res.map(move |(from_client, from_server)| { [INFO] [stdout] 55 | | debug!("Connection closes got {} bytes from client and {} bytes from server", from_client, from_server); [INFO] [stdout] 56 | | }).map_err(|e| { [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] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let res = match matches.subcommand() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 7 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/proxy.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 27 | let handle = event_loop.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let socket = TcpListener::bind(&listen_addr, &event_loop.handle()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let done = server.and_then(move |server| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | trace!("Server connection established!"); [INFO] [stdout] 37 | let (pread, pwrite) = server.split(); [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let proxy = Proxy{ inner: Arc::new(Mutex::new((Option::Some(pread), Option::Some(pwrite)))) }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | socket.incoming().for_each(move |(client, client_addr)| { [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/proxy.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 27 | let handle = event_loop.handle(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | [INFO] [stdout] 29 | let socket = TcpListener::bind(&listen_addr, &event_loop.handle()).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let done = server.and_then(move |server| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | trace!("Server connection established!"); [INFO] [stdout] 37 | let (pread, pwrite) = server.split(); [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let proxy = Proxy{ inner: Arc::new(Mutex::new((Option::Some(pread), Option::Some(pwrite)))) }; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | socket.incoming().for_each(move |(client, client_addr)| { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 42 | | trace!("Connection accepted from {}", client_addr); [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | let (client_reader, client_writer) = client.split(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | }) [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] [stderr] error: could not compile `duplex` (bin "duplex") due to 4 previous errors; 7 warnings emitted [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/proxy.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 44 | let (client_reader, client_writer) = client.split(); [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let res = lock.try_lock().map(|mut gaurd| { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let (ref mut boxed_reader, ref mut boxed_writer) = *gaurd; [INFO] [stdout] 49 | let client_to_server = copy(client_reader, boxed_writer.take().unwrap()).map(|(n, _, _)| n); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | let server_to_client = copy(boxed_reader.take().unwrap(), client_writer).map(|(n, _, _)| n); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | [INFO] [stdout] 52 | let res = client_to_server.join(server_to_client); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | [INFO] [stdout] 54 | / res.map(move |(from_client, from_server)| { [INFO] [stdout] 55 | | debug!("Connection closes got {} bytes from client and {} bytes from server", from_client, from_server); [INFO] [stdout] 56 | | }).map_err(|e| { [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 3 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `duplex` (bin "duplex" test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6cca5640287e0f348561c5bf067cbc898390725a45b630ae44441df1b78827f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cca5640287e0f348561c5bf067cbc898390725a45b630ae44441df1b78827f5", kill_on_drop: false }` [INFO] [stdout] 6cca5640287e0f348561c5bf067cbc898390725a45b630ae44441df1b78827f5