[INFO] cloning repository https://github.com/CatGamer7/rns
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CatGamer7/rns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatGamer7%2Frns", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatGamer7%2Frns'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7aab29618221c92ce93259e59aeba73c2c1fbddf
[INFO] checking CatGamer7/rns against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCatGamer7%2Frns" "/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/CatGamer7/rns
[INFO] finished tweaking git repo https://github.com/CatGamer7/rns
[INFO] tweaked toml for git repo https://github.com/CatGamer7/rns written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CatGamer7/rns on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/CatGamer7/rns 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2495a60593f08fb222d776c9ace325dbbd7805fa11ae4d35be1ca991231a8015
[INFO] running `Command { std: "docker" "start" "-a" "2495a60593f08fb222d776c9ace325dbbd7805fa11ae4d35be1ca991231a8015", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2495a60593f08fb222d776c9ace325dbbd7805fa11ae4d35be1ca991231a8015", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2495a60593f08fb222d776c9ace325dbbd7805fa11ae4d35be1ca991231a8015", kill_on_drop: false }`
[INFO] [stdout] 2495a60593f08fb222d776c9ace325dbbd7805fa11ae4d35be1ca991231a8015
[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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab97577a1bc8bbcecd230c25412bfc3e958662c0594eb53867cd1e058d4ab724
[INFO] running `Command { std: "docker" "start" "-a" "ab97577a1bc8bbcecd230c25412bfc3e958662c0594eb53867cd1e058d4ab724", kill_on_drop: false }`
[INFO] [stderr]     Checking rns v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn authenticate(request: &Request) -> Result<(), ResponseCode> {
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:169:17
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn throttle(request: &Request) -> Result<(), ResponseCode> {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         Ok(|request| {})
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn dispatch(request: &Request) -> Result<impl Fn(Request), ResponseCode> {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `route_map`
[INFO] [stdout]    --> src/web/mod.rs:181:41
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn serve_request(socket: TcpStream, route_map: Arc<RouteMap>) {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_route_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if let Err(status) = <PooledServer as ServerBackend>::authenticate(&request) {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:188:20
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if let Err(status) = <PooledServer as ServerBackend>::throttle(&request) {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rns` (lib) due to 1 previous error; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `closure`
[INFO] [stdout]    --> src/web/mod.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |             Ok(closure) => {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |             Err(status) => {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PooledServer` is never constructed
[INFO] [stdout]    --> src/web/mod.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct PooledServer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `authenticate`, `throttle`, `dispatch`, `get_route_map`, and `serve_request` are never used
[INFO] [stdout]    --> src/web/mod.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | trait ServerBackend {
[INFO] [stdout]     |       ------------- associated items in this trait
[INFO] [stdout] 136 |     fn authenticate(request: &Request) -> Result<(), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 137 |     fn throttle(request: &Request) -> Result<(), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 138 |     fn dispatch(request: &Request) -> Result<impl Fn(Request), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 139 |
[INFO] [stdout] 140 |     fn get_route_map(&mut self) -> Arc<RouteMap>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 141 |     fn serve_request(socket: TcpStream, route_map: Arc<RouteMap>);
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `routes` and `worker_pool` are never read
[INFO] [stdout]    --> src/web/mod.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct PooledServer {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 160 |     routes: RouteMap,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 161 |     worker_pool: Pool
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:165:21
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn authenticate(request: &Request) -> Result<(), ResponseCode> {
[INFO] [stdout]     |                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:169:17
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn throttle(request: &Request) -> Result<(), ResponseCode> {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         Ok(|request| {})
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `request`
[INFO] [stdout]    --> src/web/mod.rs:173:17
[INFO] [stdout]     |
[INFO] [stdout] 173 |     fn dispatch(request: &Request) -> Result<impl Fn(Request), ResponseCode> {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `route_map`
[INFO] [stdout]    --> src/web/mod.rs:181:41
[INFO] [stdout]     |
[INFO] [stdout] 181 |     fn serve_request(socket: TcpStream, route_map: Arc<RouteMap>) {
[INFO] [stdout]     |                                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_route_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |         if let Err(status) = <PooledServer as ServerBackend>::authenticate(&request) {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:188:20
[INFO] [stdout]     |
[INFO] [stdout] 188 |         if let Err(status) = <PooledServer as ServerBackend>::throttle(&request) {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `closure`
[INFO] [stdout]    --> src/web/mod.rs:193:16
[INFO] [stdout]     |
[INFO] [stdout] 193 |             Ok(closure) => {
[INFO] [stdout]     |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closure`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `status`
[INFO] [stdout]    --> src/web/mod.rs:196:17
[INFO] [stdout]     |
[INFO] [stdout] 196 |             Err(status) => {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `PooledServer` is never constructed
[INFO] [stdout]    --> src/web/mod.rs:159:12
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct PooledServer {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]     = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `authenticate`, `throttle`, `dispatch`, `get_route_map`, and `serve_request` are never used
[INFO] [stdout]    --> src/web/mod.rs:136:8
[INFO] [stdout]     |
[INFO] [stdout] 135 | trait ServerBackend {
[INFO] [stdout]     |       ------------- associated items in this trait
[INFO] [stdout] 136 |     fn authenticate(request: &Request) -> Result<(), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 137 |     fn throttle(request: &Request) -> Result<(), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 138 |     fn dispatch(request: &Request) -> Result<impl Fn(Request), ResponseCode>;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 139 |
[INFO] [stdout] 140 |     fn get_route_map(&mut self) -> Arc<RouteMap>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 141 |     fn serve_request(socket: TcpStream, route_map: Arc<RouteMap>);
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `routes` and `worker_pool` are never read
[INFO] [stdout]    --> src/web/mod.rs:160:5
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub struct PooledServer {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 160 |     routes: RouteMap,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 161 |     worker_pool: Pool
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rns` (lib test) due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ab97577a1bc8bbcecd230c25412bfc3e958662c0594eb53867cd1e058d4ab724", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab97577a1bc8bbcecd230c25412bfc3e958662c0594eb53867cd1e058d4ab724", kill_on_drop: false }`
[INFO] [stdout] ab97577a1bc8bbcecd230c25412bfc3e958662c0594eb53867cd1e058d4ab724
