[INFO] cloning repository https://github.com/mzeric/iotunnel
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzeric/iotunnel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzeric%2Fiotunnel", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzeric%2Fiotunnel'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3dee58d7046c612a104c06cd585a431979566d0
[INFO] testing mzeric/iotunnel against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzeric%2Fiotunnel" "/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/mzeric/iotunnel on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mzeric/iotunnel
[INFO] finished tweaking git repo https://github.com/mzeric/iotunnel
[INFO] tweaked toml for git repo https://github.com/mzeric/iotunnel written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mzeric/iotunnel 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" "+nightly-2025-01-18" "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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc1ada99e5ba6ba8e8ffe6c2084309dbe856c3f3a084cab06774109cddb4d976
[INFO] running `Command { std: "docker" "start" "-a" "bc1ada99e5ba6ba8e8ffe6c2084309dbe856c3f3a084cab06774109cddb4d976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc1ada99e5ba6ba8e8ffe6c2084309dbe856c3f3a084cab06774109cddb4d976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc1ada99e5ba6ba8e8ffe6c2084309dbe856c3f3a084cab06774109cddb4d976", kill_on_drop: false }`
[INFO] [stdout] bc1ada99e5ba6ba8e8ffe6c2084309dbe856c3f3a084cab06774109cddb4d976
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4af3aa1f2a92a9450c3d091a108598efb533af182443788cfec267ca7911a32
[INFO] running `Command { std: "docker" "start" "-a" "a4af3aa1f2a92a9450c3d091a108598efb533af182443788cfec267ca7911a32", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling futures-core v0.3.12
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling futures-io v0.3.12
[INFO] [stderr]    Compiling pin-project-lite v0.2.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling subtle v2.4.0
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling serde_derive v1.0.119
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling fastrand v1.4.0
[INFO] [stderr]    Compiling serde v1.0.119
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.14
[INFO] [stderr]    Compiling cpuid-bool v0.2.0
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.7
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-lite v1.11.3
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling async-task v4.0.3
[INFO] [stderr]    Compiling time v0.2.24
[INFO] [stderr]    Compiling async-channel v1.5.1
[INFO] [stderr]    Compiling tinyvec v1.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.12
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling polling v2.0.2
[INFO] [stderr]    Compiling nb-connect v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling futures-channel v0.3.12
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling cookie v0.14.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.12
[INFO] [stderr]    Compiling anyhow v1.0.38
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.61
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling async-lock v2.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.16
[INFO] [stderr]    Compiling blocking v1.0.2
[INFO] [stderr]    Compiling async-executor v1.4.0
[INFO] [stderr]    Compiling async-io v1.3.1
[INFO] [stderr]    Compiling data-encoding v2.3.1
[INFO] [stderr]    Compiling http-types v2.9.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.11
[INFO] [stderr]    Compiling infer v0.2.3
[INFO] [stderr]    Compiling cipher v0.2.5
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.10.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling async-global-executor v2.0.2
[INFO] [stderr]    Compiling polyval v0.4.5
[INFO] [stderr]    Compiling aes-soft v0.6.4
[INFO] [stderr]    Compiling ctr v0.6.0
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling sha2 v0.9.2
[INFO] [stderr]    Compiling ghash v0.3.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling aes v0.6.0
[INFO] [stderr]    Compiling aes-gcm v0.8.0
[INFO] [stderr]    Compiling hkdf v0.10.0
[INFO] [stderr]    Compiling async-std v1.9.0
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling time-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.12
[INFO] [stderr]    Compiling thiserror v1.0.23
[INFO] [stderr]    Compiling futures-executor v0.3.12
[INFO] [stderr]    Compiling futures v0.3.12
[INFO] [stderr]    Compiling serde_qs v0.7.2
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling iomux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadHalf`, `Read`, `WriteHalf`, `future::select_all`, `future`, and `pin_mut`
[INFO] [stdout]   --> src/main.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::{pin_mut, select, future::select_all, future,io::{ReadHalf, WriteHalf, Read},};
[INFO] [stdout]    |               ^^^^^^^          ^^^^^^^^^^^^^^^^^^  ^^^^^^      ^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::FusedStream`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use futures::stream::FusedStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::ToSocketAddrs`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::net::ToSocketAddrs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub async fn read_stream(mut reader: &mut BufReader<&TcpStream>) -> io::Result<Box<[u8]>> {
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub async fn do_forward(mut stream: TcpStream, up_addr: &str) ->  EcResult<()> {
[INFO] [stdout]    |                         ----^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (reader, mut writer) = (&stream, &stream);
[INFO] [stdout]    |                  ----^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut up_stream = TcpStream::connect(up_addr).await?;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let (up_reader, mut up_writer) = (&up_stream, &up_stream);
[INFO] [stdout]    |                     ----^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up_addr`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let up_addr = "0.0.0.0:80";
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_up_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut stream : TcpStream = stream?;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]   --> src/main.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn write_xor_stream(reader: &BufWriter<&TcpStream>, data: &mut Box<[u8]>) -> EcResult<()> {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     write_xor_stream(&writer, &mut data);
[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] 88 |                     let _ = write_xor_stream(&writer, &mut data);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 129 |     futures::executor::block_on(start_server());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let _ = futures::executor::block_on(start_server());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.47s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.9.0
[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" "a4af3aa1f2a92a9450c3d091a108598efb533af182443788cfec267ca7911a32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4af3aa1f2a92a9450c3d091a108598efb533af182443788cfec267ca7911a32", kill_on_drop: false }`
[INFO] [stdout] a4af3aa1f2a92a9450c3d091a108598efb533af182443788cfec267ca7911a32
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a56dab041ef6369ba3db3cf606d3c1ba50ddc30f0dc26211f749f1f05ce100a
[INFO] running `Command { std: "docker" "start" "-a" "0a56dab041ef6369ba3db3cf606d3c1ba50ddc30f0dc26211f749f1f05ce100a", kill_on_drop: false }`
[INFO] [stderr]    Compiling iomux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ReadHalf`, `Read`, `WriteHalf`, `future::select_all`, `future`, and `pin_mut`
[INFO] [stdout]   --> src/main.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use futures::{pin_mut, select, future::select_all, future,io::{ReadHalf, WriteHalf, Read},};
[INFO] [stdout]    |               ^^^^^^^          ^^^^^^^^^^^^^^^^^^  ^^^^^^      ^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::FusedStream`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use futures::stream::FusedStream;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::ToSocketAddrs`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::net::ToSocketAddrs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub async fn read_stream(mut reader: &mut BufReader<&TcpStream>) -> io::Result<Box<[u8]>> {
[INFO] [stdout]    |                          ----^^^^^^
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:71:25
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/main.rs:83:21
[INFO] [stdout]    |
[INFO] [stdout] 83 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:49:25
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub async fn do_forward(mut stream: TcpStream, up_addr: &str) ->  EcResult<()> {
[INFO] [stdout]    |                         ----^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:18
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let (reader, mut writer) = (&stream, &stream);
[INFO] [stdout]    |                  ----^^^^^^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let mut up_stream = TcpStream::connect(up_addr).await?;
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let (up_reader, mut up_writer) = (&up_stream, &up_stream);
[INFO] [stdout]    |                     ----^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `up_addr`
[INFO] [stdout]    --> src/main.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let up_addr = "0.0.0.0:80";
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_up_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let mut stream : TcpStream = stream?;
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]   --> src/main.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub fn write_xor_stream(reader: &BufWriter<&TcpStream>, data: &mut Box<[u8]>) -> EcResult<()> {
[INFO] [stdout]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |                     write_xor_stream(&writer, &mut data);
[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] 88 |                     let _ = write_xor_stream(&writer, &mut data);
[INFO] [stdout]    |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 129 |     futures::executor::block_on(start_server());
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let _ = futures::executor::block_on(start_server());
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.9.0
[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" "0a56dab041ef6369ba3db3cf606d3c1ba50ddc30f0dc26211f749f1f05ce100a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a56dab041ef6369ba3db3cf606d3c1ba50ddc30f0dc26211f749f1f05ce100a", kill_on_drop: false }`
[INFO] [stdout] 0a56dab041ef6369ba3db3cf606d3c1ba50ddc30f0dc26211f749f1f05ce100a
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cfa509b011a55013ceb2868c633bbddf57139892f6346cf2f00308e08cd0d3c1
[INFO] running `Command { std: "docker" "start" "-a" "cfa509b011a55013ceb2868c633bbddf57139892f6346cf2f00308e08cd0d3c1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::thread`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::thread;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ReadHalf`, `Read`, `WriteHalf`, `future::select_all`, `future`, and `pin_mut`
[INFO] [stderr]   --> src/main.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | use futures::{pin_mut, select, future::select_all, future,io::{ReadHalf, WriteHalf, Read},};
[INFO] [stderr]    |               ^^^^^^^          ^^^^^^^^^^^^^^^^^^  ^^^^^^      ^^^^^^^^  ^^^^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `futures::stream::FusedStream`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use futures::stream::FusedStream;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::net::ToSocketAddrs`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::net::ToSocketAddrs;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:20:26
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub async fn read_stream(mut reader: &mut BufReader<&TcpStream>) -> io::Result<Box<[u8]>> {
[INFO] [stderr]    |                          ----^^^^^^
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/main.rs:71:25
[INFO] [stderr]    |
[INFO] [stderr] 71 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]   --> src/main.rs:83:21
[INFO] [stderr]    |
[INFO] [stderr] 83 |                 Err(e) => {
[INFO] [stderr]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]   --> src/main.rs:91:25
[INFO] [stderr]    |
[INFO] [stderr] 91 |                     let a = String::from_utf8((&data).to_vec());
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:49:25
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub async fn do_forward(mut stream: TcpStream, up_addr: &str) ->  EcResult<()> {
[INFO] [stderr]    |                         ----^^^^^^
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:52:18
[INFO] [stderr]    |
[INFO] [stderr] 52 |     let (reader, mut writer) = (&stream, &stream);
[INFO] [stderr]    |                  ----^^^^^^
[INFO] [stderr]    |                  |
[INFO] [stderr]    |                  help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 |     let mut up_stream = TcpStream::connect(up_addr).await?;
[INFO] [stderr]    |         ----^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/main.rs:58:21
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let (up_reader, mut up_writer) = (&up_stream, &up_stream);
[INFO] [stderr]    |                     ----^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `up_addr`
[INFO] [stderr]    --> src/main.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |     let up_addr = "0.0.0.0:80";
[INFO] [stderr]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_up_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:111:13
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let mut stream : TcpStream = stream?;
[INFO] [stderr]     |             ----^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reader`
[INFO] [stderr]   --> src/main.rs:45:25
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub fn write_xor_stream(reader: &BufWriter<&TcpStream>, data: &mut Box<[u8]>) -> EcResult<()> {
[INFO] [stderr]    |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/main.rs:88:21
[INFO] [stderr]    |
[INFO] [stderr] 88 |                     write_xor_stream(&writer, &mut data);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 88 |                     let _ = write_xor_stream(&writer, &mut data);
[INFO] [stderr]    |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/main.rs:129:5
[INFO] [stderr]     |
[INFO] [stderr] 129 |     futures::executor::block_on(start_server());
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 129 |     let _ = futures::executor::block_on(start_server());
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `iomux` (bin "iomux" test) generated 17 warnings (run `cargo fix --bin "iomux" --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: http-types v2.9.0
[INFO] [stdout] 
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/iomux-26d755c6bcd759ca)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "cfa509b011a55013ceb2868c633bbddf57139892f6346cf2f00308e08cd0d3c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfa509b011a55013ceb2868c633bbddf57139892f6346cf2f00308e08cd0d3c1", kill_on_drop: false }`
[INFO] [stdout] cfa509b011a55013ceb2868c633bbddf57139892f6346cf2f00308e08cd0d3c1
