[INFO] cloning repository https://github.com/tahirali-csc/toy-lb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahirali-csc/toy-lb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahirali-csc%2Ftoy-lb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahirali-csc%2Ftoy-lb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a50d7670f9b83eaef40a0af8d04f33db0aea45e1
[INFO] testing tahirali-csc/toy-lb against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahirali-csc%2Ftoy-lb" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tahirali-csc/toy-lb
[INFO] finished tweaking git repo https://github.com/tahirali-csc/toy-lb
[INFO] tweaked toml for git repo https://github.com/tahirali-csc/toy-lb written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tahirali-csc/toy-lb on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tahirali-csc/toy-lb 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff9270be93e39cfce051c19e32476cfce192b500a7972d41d14ee2919b464171
[INFO] running `Command { std: "docker" "start" "-a" "ff9270be93e39cfce051c19e32476cfce192b500a7972d41d14ee2919b464171", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff9270be93e39cfce051c19e32476cfce192b500a7972d41d14ee2919b464171", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff9270be93e39cfce051c19e32476cfce192b500a7972d41d14ee2919b464171", kill_on_drop: false }`
[INFO] [stdout] ff9270be93e39cfce051c19e32476cfce192b500a7972d41d14ee2919b464171
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae9148759d10a35d774ce233b8623c7c914cfe1f791942748184800b9908407b
[INFO] running `Command { std: "docker" "start" "-a" "ae9148759d10a35d774ce233b8623c7c914cfe1f791942748184800b9908407b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling bytes v1.7.2
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling poule v0.3.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling prost-derive v0.13.2
[INFO] [stderr]    Compiling prost v0.13.2
[INFO] [stderr]    Compiling toy-lb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/server.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/server.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::{
[INFO] [stdout]              // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stdout]          }`
[INFO] [stdout]  --> src/log.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 |   use crate::{
[INFO] [stdout]   |  _____^
[INFO] [stdout] 2 | |     // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stdout] 3 | | };
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activate_token`
[INFO] [stdout]   --> src/server.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let activate_token = self.http.borrow_mut().activate_listener(&addr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_token`
[INFO] [stdout]    --> src/server.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let session_token = token.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/server.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 Err(other) => {}
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server_bind_err`
[INFO] [stdout]   --> src/http.rs:64:60
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut listener = server_bind(ipv4_addr).map_err(|server_bind_err| ListenerError::Activation {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_bind_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]    --> src/http.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let listener = self
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/http.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if let Err(e) = frontend_sock.set_nodelay(true) {
[INFO] [stdout]     |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/http.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |         if let Err(err) = self.registry.register(&mut frontend_sock, session_token, Interest::READABLE | Interest::WRITABLE) {
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `configured_request_timeout`
[INFO] [stdout]    --> src/http.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         configured_request_timeout: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configured_request_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SetReusePort` and `InvalidSocketAddress` are never constructed
[INFO] [stdout]   --> src/socket.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum ServerBindError {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     SetReusePort(std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     InvalidSocketAddress { address: String, error: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerBindError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BuildRustls` is never constructed
[INFO] [stdout]   --> src/http.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum ListenerError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     BuildRustls(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListenerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TooManySessions`, `WrongSocketAddress`, and `BufferCapacityReached` are never constructed
[INFO] [stdout]   --> src/http.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum AcceptError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 47 |     IoError,
[INFO] [stdout] 48 |     TooManySessions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     WrongSocketAddress,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     BufferCapacityReached,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AcceptError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `configured_backend_timeout`, `configured_connect_timeout`, `configured_frontend_timeout`, and `frontend_token` are never read
[INFO] [stdout]    --> src/http.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct HttpSession {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 189 |     // answers: Rc<RefCell<HttpAnswers>>,
[INFO] [stdout] 190 |     configured_backend_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     configured_connect_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 192 |     configured_frontend_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 193 |     frontend_token: Token,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             self.poll.poll(&mut events, None);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let _ = self.poll.poll(&mut events, None);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             proxy.borrow_mut().create_session(sock, token);
[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] 132 |             let _ = proxy.borrow_mut().create_session(sock, token);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.11s
[INFO] running `Command { std: "docker" "inspect" "ae9148759d10a35d774ce233b8623c7c914cfe1f791942748184800b9908407b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae9148759d10a35d774ce233b8623c7c914cfe1f791942748184800b9908407b", kill_on_drop: false }`
[INFO] [stdout] ae9148759d10a35d774ce233b8623c7c914cfe1f791942748184800b9908407b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 110911610e5839519abdd26e874ad644162872ec131250001b4c4bedb7be5b2c
[INFO] running `Command { std: "docker" "start" "-a" "110911610e5839519abdd26e874ad644162872ec131250001b4c4bedb7be5b2c", kill_on_drop: false }`
[INFO] [stderr]    Compiling toy-lb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/server.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/server.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::{
[INFO] [stdout]              // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stdout]          }`
[INFO] [stdout]  --> src/log.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 |   use crate::{
[INFO] [stdout]   |  _____^
[INFO] [stdout] 2 | |     // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stdout] 3 | | };
[INFO] [stdout]   | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `activate_token`
[INFO] [stdout]   --> src/server.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let activate_token = self.http.borrow_mut().activate_listener(&addr);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate_token`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `session_token`
[INFO] [stdout]    --> src/server.rs:103:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let session_token = token.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]    --> src/server.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |                 Err(other) => {}
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server_bind_err`
[INFO] [stdout]   --> src/http.rs:64:60
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let mut listener = server_bind(ipv4_addr).map_err(|server_bind_err| ListenerError::Activation {
[INFO] [stdout]    |                                                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_bind_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]    --> src/http.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |         let listener = self
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/http.rs:111:20
[INFO] [stdout]     |
[INFO] [stdout] 111 |         if let Err(e) = frontend_sock.set_nodelay(true) {
[INFO] [stdout]     |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]    --> src/http.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |         if let Err(err) = self.registry.register(&mut frontend_sock, session_token, Interest::READABLE | Interest::WRITABLE) {
[INFO] [stdout]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `configured_request_timeout`
[INFO] [stdout]    --> src/http.rs:201:9
[INFO] [stdout]     |
[INFO] [stdout] 201 |         configured_request_timeout: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configured_request_timeout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SetReusePort` and `InvalidSocketAddress` are never constructed
[INFO] [stdout]   --> src/socket.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum ServerBindError {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     SetReusePort(std::io::Error),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     InvalidSocketAddress { address: String, error: String },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ServerBindError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `BuildRustls` is never constructed
[INFO] [stdout]   --> src/http.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub enum ListenerError {
[INFO] [stdout]    |          ------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 23 |     BuildRustls(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ListenerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `TooManySessions`, `WrongSocketAddress`, and `BufferCapacityReached` are never constructed
[INFO] [stdout]   --> src/http.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub enum AcceptError {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 47 |     IoError,
[INFO] [stdout] 48 |     TooManySessions,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     WrongSocketAddress,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 52 |     BufferCapacityReached,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AcceptError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `configured_backend_timeout`, `configured_connect_timeout`, `configured_frontend_timeout`, and `frontend_token` are never read
[INFO] [stdout]    --> src/http.rs:190:5
[INFO] [stdout]     |
[INFO] [stdout] 188 | pub struct HttpSession {
[INFO] [stdout]     |            ----------- fields in this struct
[INFO] [stdout] 189 |     // answers: Rc<RefCell<HttpAnswers>>,
[INFO] [stdout] 190 |     configured_backend_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 191 |     configured_connect_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 192 |     configured_frontend_timeout: Duration,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 193 |     frontend_token: Token,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/server.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |             self.poll.poll(&mut events, None);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let _ = self.poll.poll(&mut events, None);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/server.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             proxy.borrow_mut().create_session(sock, token);
[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] 132 |             let _ = proxy.borrow_mut().create_session(sock, token);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s
[INFO] running `Command { std: "docker" "inspect" "110911610e5839519abdd26e874ad644162872ec131250001b4c4bedb7be5b2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "110911610e5839519abdd26e874ad644162872ec131250001b4c4bedb7be5b2c", kill_on_drop: false }`
[INFO] [stdout] 110911610e5839519abdd26e874ad644162872ec131250001b4c4bedb7be5b2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8fed67130c55f10aef7b85f056d239d12db36f2cd6fee18ee9ac549b76b1231f
[INFO] running `Command { std: "docker" "start" "-a" "8fed67130c55f10aef7b85f056d239d12db36f2cd6fee18ee9ac549b76b1231f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Ref`
[INFO] [stderr]  --> src/server.rs:1:17
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::cell::{Ref, RefCell};
[INFO] [stderr]   |                 ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `IpAddr`
[INFO] [stderr]  --> src/server.rs:4:16
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::net::{IpAddr, Ipv4Addr, SocketAddr};
[INFO] [stderr]   |                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::{
[INFO] [stderr]              // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stderr]          }`
[INFO] [stderr]  --> src/log.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 |   use crate::{
[INFO] [stderr]   |  _____^
[INFO] [stderr] 2 | |     // logging::{LogDuration, LogError, LogMessage, RequestRecord},
[INFO] [stderr] 3 | | };
[INFO] [stderr]   | |_^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `activate_token`
[INFO] [stderr]   --> src/server.rs:83:13
[INFO] [stderr]    |
[INFO] [stderr] 83 |         let activate_token = self.http.borrow_mut().activate_listener(&addr);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate_token`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `session_token`
[INFO] [stderr]    --> src/server.rs:103:13
[INFO] [stderr]     |
[INFO] [stderr] 103 |         let session_token = token.0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_token`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `other`
[INFO] [stderr]    --> src/server.rs:120:21
[INFO] [stderr]     |
[INFO] [stderr] 120 |                 Err(other) => {}
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `server_bind_err`
[INFO] [stderr]   --> src/http.rs:64:60
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let mut listener = server_bind(ipv4_addr).map_err(|server_bind_err| ListenerError::Activation {
[INFO] [stderr]    |                                                            ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_bind_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `listener`
[INFO] [stderr]    --> src/http.rs:105:13
[INFO] [stderr]     |
[INFO] [stderr] 105 |         let listener = self
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/http.rs:111:20
[INFO] [stderr]     |
[INFO] [stderr] 111 |         if let Err(e) = frontend_sock.set_nodelay(true) {
[INFO] [stderr]     |                    ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]    --> src/http.rs:119:20
[INFO] [stderr]     |
[INFO] [stderr] 119 |         if let Err(err) = self.registry.register(&mut frontend_sock, session_token, Interest::READABLE | Interest::WRITABLE) {
[INFO] [stderr]     |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `configured_request_timeout`
[INFO] [stderr]    --> src/http.rs:201:9
[INFO] [stderr]     |
[INFO] [stderr] 201 |         configured_request_timeout: Duration,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configured_request_timeout`
[INFO] [stderr] 
[INFO] [stderr] warning: variants `SetReusePort` and `InvalidSocketAddress` are never constructed
[INFO] [stderr]   --> src/socket.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr]  6 | pub enum ServerBindError {
[INFO] [stderr]    |          --------------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 16 |     SetReusePort(std::io::Error),
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     InvalidSocketAddress { address: String, error: String },
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ServerBindError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `BuildRustls` is never constructed
[INFO] [stderr]   --> src/http.rs:23:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub enum ListenerError {
[INFO] [stderr]    |          ------------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 23 |     BuildRustls(String),
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `ListenerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variants `TooManySessions`, `WrongSocketAddress`, and `BufferCapacityReached` are never constructed
[INFO] [stderr]   --> src/http.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub enum AcceptError {
[INFO] [stderr]    |          ----------- variants in this enum
[INFO] [stderr] 47 |     IoError,
[INFO] [stderr] 48 |     TooManySessions,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 51 |     WrongSocketAddress,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 52 |     BufferCapacityReached,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `AcceptError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `configured_backend_timeout`, `configured_connect_timeout`, `configured_frontend_timeout`, and `frontend_token` are never read
[INFO] [stderr]    --> src/http.rs:190:5
[INFO] [stderr]     |
[INFO] [stderr] 188 | pub struct HttpSession {
[INFO] [stderr]     |            ----------- fields in this struct
[INFO] [stderr] 189 |     // answers: Rc<RefCell<HttpAnswers>>,
[INFO] [stderr] 190 |     configured_backend_timeout: Duration,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 191 |     configured_connect_timeout: Duration,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 192 |     configured_frontend_timeout: Duration,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 193 |     frontend_token: Token,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/server.rs:91:13
[INFO] [stderr]    |
[INFO] [stderr] 91 |             self.poll.poll(&mut events, None);
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 91 |             let _ = self.poll.poll(&mut events, None);
[INFO] [stderr]    |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/server.rs:132:13
[INFO] [stderr]     |
[INFO] [stderr] 132 |             proxy.borrow_mut().create_session(sock, token);
[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] 132 |             let _ = proxy.borrow_mut().create_session(sock, token);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `toy-lb` (bin "toy-lb" test) generated 17 warnings (run `cargo fix --bin "toy-lb" -p toy-lb --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/toy_lb-39dfab406fffd78c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[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" "8fed67130c55f10aef7b85f056d239d12db36f2cd6fee18ee9ac549b76b1231f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8fed67130c55f10aef7b85f056d239d12db36f2cd6fee18ee9ac549b76b1231f", kill_on_drop: false }`
[INFO] [stdout] 8fed67130c55f10aef7b85f056d239d12db36f2cd6fee18ee9ac549b76b1231f
