[INFO] cloning repository https://github.com/mingmamma/rust-web-servers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mingmamma/rust-web-servers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmingmamma%2Frust-web-servers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmingmamma%2Frust-web-servers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7dd20aea37c13b76a3502086e7b4410ab31959bd [INFO] checking mingmamma/rust-web-servers against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmingmamma%2Frust-web-servers" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mingmamma/rust-web-servers [INFO] finished tweaking git repo https://github.com/mingmamma/rust-web-servers [INFO] tweaked toml for git repo https://github.com/mingmamma/rust-web-servers written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mingmamma/rust-web-servers on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mingmamma/rust-web-servers 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43eddd21f3c16ae302cbe7c39123ca2d9da950b365de54caffbf6bd98ab31a8a [INFO] running `Command { std: "docker" "start" "-a" "43eddd21f3c16ae302cbe7c39123ca2d9da950b365de54caffbf6bd98ab31a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43eddd21f3c16ae302cbe7c39123ca2d9da950b365de54caffbf6bd98ab31a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43eddd21f3c16ae302cbe7c39123ca2d9da950b365de54caffbf6bd98ab31a8a", kill_on_drop: false }` [INFO] [stdout] 43eddd21f3c16ae302cbe7c39123ca2d9da950b365de54caffbf6bd98ab31a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9269892c2c410346a5a6783a9cc3c37cfeba4a7d4878c3c8f11267a7ba42720e [INFO] running `Command { std: "docker" "start" "-a" "9269892c2c410346a5a6783a9cc3c37cfeba4a7d4878c3c8f11267a7ba42720e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking epoll v4.3.3 [INFO] [stderr] Checking rust-web-servers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/async-future.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | while let Some(task) = self.runnable_tasks.lock().unwrap().pop_front() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `connection_state` are never read [INFO] [stdout] --> src/async-future.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ConnectionHandler { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 54 | connection: TcpStream, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | connection_state: ConnectionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Reading` and `Writing` are never constructed [INFO] [stdout] --> src/async-future.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 112 | enum ConnectionState { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 113 | ToStart, [INFO] [stdout] 114 | Reading { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | Writing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll` is never used [INFO] [stdout] --> src/async-future.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub trait Future { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn poll(&mut self, waker: Waker) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wake_fn` is never read [INFO] [stdout] --> src/async-future.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Waker { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 141 | wake_fn: Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wake` is never used [INFO] [stdout] --> src/async-future.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl Waker { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 145 | fn wake(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove` and `wait` are never used [INFO] [stdout] --> src/async-future.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 159 | impl Reactor { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn remove(&self, fd: RawFd) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn wait(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/async-future.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn` is never used [INFO] [stdout] --> src/async-future.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 230 | fn spawn(&mut self, task: impl Future + 'static) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> src/async-future.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 209 | while let Some(task) = self.runnable_tasks.lock().unwrap().pop_front() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ToAcceptConn` is never constructed [INFO] [stdout] --> src/async-future.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | enum Main { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 10 | ToStartServer, [INFO] [stdout] 11 | ToAcceptConn(TcpListener), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionHandler` is never constructed [INFO] [stdout] --> src/async-future.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct ConnectionHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConnectionState` is never used [INFO] [stdout] --> src/async-future.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | enum ConnectionState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll` is never used [INFO] [stdout] --> src/async-future.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub trait Future { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 137 | fn poll(&mut self, waker: Waker) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Waker` is never constructed [INFO] [stdout] --> src/async-future.rs:140:16 [INFO] [stdout] | [INFO] [stdout] 140 | pub struct Waker { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wake` is never used [INFO] [stdout] --> src/async-future.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl Waker { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 145 | fn wake(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reactor` is never constructed [INFO] [stdout] --> src/async-future.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Reactor { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `remove`, and `wait` are never used [INFO] [stdout] --> src/async-future.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl Reactor { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 160 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn add(&self, fd: RawFd, waker: Waker) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn remove(&self, fd: RawFd) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn wait(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Executor` is never constructed [INFO] [stdout] --> src/async-future.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | struct Executor { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spawn` is never used [INFO] [stdout] --> src/async-future.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl Executor { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 230 | fn spawn(&mut self, task: impl Future + 'static) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.81s [INFO] running `Command { std: "docker" "inspect" "9269892c2c410346a5a6783a9cc3c37cfeba4a7d4878c3c8f11267a7ba42720e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9269892c2c410346a5a6783a9cc3c37cfeba4a7d4878c3c8f11267a7ba42720e", kill_on_drop: false }` [INFO] [stdout] 9269892c2c410346a5a6783a9cc3c37cfeba4a7d4878c3c8f11267a7ba42720e