[INFO] cloning repository https://github.com/devactivity/tcpstack
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devactivity/tcpstack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevactivity%2Ftcpstack", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevactivity%2Ftcpstack'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8294bfc95adad424a9eefb40a7bb382fcca06e3
[INFO] checking devactivity/tcpstack/f8294bfc95adad424a9eefb40a7bb382fcca06e3 against master#c756124775121dea0e640652c5ee3c89e3dd0eb4 for pr-154971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevactivity%2Ftcpstack" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/devactivity/tcpstack
[INFO] finished tweaking git repo https://github.com/devactivity/tcpstack
[INFO] tweaked toml for git repo https://github.com/devactivity/tcpstack written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/devactivity/tcpstack on toolchain c756124775121dea0e640652c5ee3c89e3dd0eb4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/devactivity/tcpstack 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" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded f_log v0.1.7
[INFO] [stderr]   Downloaded clap v4.5.42
[INFO] [stderr]   Downloaded clap_builder v4.5.42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8f2afa7a2004404c720d2f28daf5d5775895616044ac7fe45fd78542f27b968a
[INFO] running `Command { std: "docker" "start" "-a" "8f2afa7a2004404c720d2f28daf5d5775895616044ac7fe45fd78542f27b968a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8f2afa7a2004404c720d2f28daf5d5775895616044ac7fe45fd78542f27b968a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8f2afa7a2004404c720d2f28daf5d5775895616044ac7fe45fd78542f27b968a", kill_on_drop: false }`
[INFO] [stdout] 8f2afa7a2004404c720d2f28daf5d5775895616044ac7fe45fd78542f27b968a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+c756124775121dea0e640652c5ee3c89e3dd0eb4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2cb2bf4f55681477af533040c4010e4bfe3e05ccb1d4536afe7ac63622617f61
[INFO] running `Command { std: "docker" "start" "-a" "2cb2bf4f55681477af533040c4010e4bfe3e05ccb1d4536afe7ac63622617f61", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking anstyle-query v1.1.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking anstream v0.6.19
[INFO] [stderr]     Checking clap_builder v4.5.42
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking f_log v0.1.7
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking clap v4.5.42
[INFO] [stderr]     Checking tcpstack v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/utils.rs:109:25
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/utils.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/utils.rs:109:25
[INFO] [stdout]     |
[INFO] [stdout] 109 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng`
[INFO] [stdout]    --> src/utils.rs:148:25
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/socket.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut state = self.state.read().await;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/socket.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut state = self.state.read().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/socket.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let mut state = self.state.read().await;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/socket.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut state = self.state.read().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/socket.rs:145:13
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let mut state = self.state.read().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/socket.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut state = self.state.write().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/socket.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         let mut state = self.state.read().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/socket.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |         let mut state = self.state.write().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/socket.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut state = self.state.read().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/socket.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let mut state = self.state.read().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/socket.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut state = self.state.read().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/socket.rs:310:13
[INFO] [stdout]     |
[INFO] [stdout] 310 |         let mut state = self.state.read().await;
[INFO] [stdout]     |             ----^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/utils.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     rng.gen_range(1024..65535)
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/utils.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |     rng.gen_range(1024..65535)
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init_connection`
[INFO] [stdout]    --> src/socket.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let init_connection = connection.initiate_connection()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_connection`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `local_addr`
[INFO] [stdout]    --> src/socket.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let local_addr = self
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remote_addr`
[INFO] [stdout]    --> src/socket.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let remote_addr = self
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `init_connection`
[INFO] [stdout]    --> src/socket.rs:135:13
[INFO] [stdout]     |
[INFO] [stdout] 135 |         let init_connection = connection.initiate_connection()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_init_connection`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `local_addr`
[INFO] [stdout]    --> src/socket.rs:163:13
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let local_addr = self
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `remote_addr`
[INFO] [stdout]    --> src/socket.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 166 |         let remote_addr = self
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/stack.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (shutdown_tx, shutdown_rx) = mpsc::unbounded_channel();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut flags = 0_u8;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_length`
[INFO] [stdout]    --> src/tcp.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub fn serialize(&self, payload_length: usize) -> Vec<u8> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> src/stack.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |         let (shutdown_tx, shutdown_rx) = mpsc::unbounded_channel();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:99:13
[INFO] [stdout]    |
[INFO] [stdout] 99 |         let mut flags = 0_u8;
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payload_length`
[INFO] [stdout]    --> src/tcp.rs:221:29
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub fn serialize(&self, payload_length: usize) -> Vec<u8> {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload_length`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/stack.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct NetworkStack {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 64 |     config: StackConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/socket.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         *state == SocketState::Disconnecting;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let _ = *state == SocketState::Disconnecting;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             flags != 0x01;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let _ = flags != 0x01;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             flags != 0x02;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let _ = flags != 0x02;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             flags != 0x04;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let _ = flags != 0x04;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             flags != 0x08;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |             let _ = flags != 0x08;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             flags != 0x10;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let _ = flags != 0x10;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |             flags != 0x20;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = flags != 0x20;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             flags != 0x40;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let _ = flags != 0x40;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             flags != 0x80;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let _ = flags != 0x80;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/stack.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct NetworkStack {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] 64 |     config: StackConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/socket.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         *state == SocketState::Disconnecting;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 209 |         let _ = *state == SocketState::Disconnecting;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |             flags != 0x01;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let _ = flags != 0x01;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |             flags != 0x02;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 106 |             let _ = flags != 0x02;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             flags != 0x04;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 110 |             let _ = flags != 0x04;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |             flags != 0x08;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 114 |             let _ = flags != 0x08;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |             flags != 0x10;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let _ = flags != 0x10;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:122:13
[INFO] [stdout]     |
[INFO] [stdout] 122 |             flags != 0x20;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 122 |             let _ = flags != 0x20;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             flags != 0x40;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 126 |             let _ = flags != 0x40;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/tcp.rs:130:13
[INFO] [stdout]     |
[INFO] [stdout] 130 |             flags != 0x80;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 130 |             let _ = flags != 0x80;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `os::linux::raw::stat`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     os::linux::raw::stat,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     os::linux::raw::stat,
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `os::linux::raw::stat`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     os::linux::raw::stat,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions
[INFO] [stdout]  --> src/main.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     os::linux::raw::stat,
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sent`
[INFO] [stdout]    --> src/simple_demo.rs:494:28
[INFO] [stdout]     |
[INFO] [stdout] 494 |                         Ok(sent) => {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_sent`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demonstrate_packet_creation` is never used
[INFO] [stdout]    --> src/simple_demo.rs:243:10
[INFO] [stdout]     |
[INFO] [stdout] 243 | async fn demonstrate_packet_creation() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sample_packet` is never used
[INFO] [stdout]    --> src/simple_demo.rs:320:10
[INFO] [stdout]     |
[INFO] [stdout] 320 | async fn parse_sample_packet(mut packet: Packet) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sent`
[INFO] [stdout]    --> src/simple_demo.rs:494:28
[INFO] [stdout]     |
[INFO] [stdout] 494 |                         Ok(sent) => {
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_sent`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `demonstrate_packet_creation` is never used
[INFO] [stdout]    --> src/simple_demo.rs:243:10
[INFO] [stdout]     |
[INFO] [stdout] 243 | async fn demonstrate_packet_creation() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_sample_packet` is never used
[INFO] [stdout]    --> src/simple_demo.rs:320:10
[INFO] [stdout]     |
[INFO] [stdout] 320 | async fn parse_sample_packet(mut packet: Packet) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.47s
[INFO] running `Command { std: "docker" "inspect" "2cb2bf4f55681477af533040c4010e4bfe3e05ccb1d4536afe7ac63622617f61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cb2bf4f55681477af533040c4010e4bfe3e05ccb1d4536afe7ac63622617f61", kill_on_drop: false }`
[INFO] [stdout] 2cb2bf4f55681477af533040c4010e4bfe3e05ccb1d4536afe7ac63622617f61
