[INFO] cloning repository https://github.com/fkrause98/Too-Many-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/fkrause98/Too-Many-Web-Servers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkrause98%2FToo-Many-Web-Servers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkrause98%2FToo-Many-Web-Servers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8ba5c917909c36ca09af68af44c9589f7e9a81e1 [INFO] checking fkrause98/Too-Many-Web-Servers against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkrause98%2FToo-Many-Web-Servers" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkrause98/Too-Many-Web-Servers on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fkrause98/Too-Many-Web-Servers [INFO] finished tweaking git repo https://github.com/fkrause98/Too-Many-Web-Servers [INFO] tweaked toml for git repo https://github.com/fkrause98/Too-Many-Web-Servers written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fkrause98/Too-Many-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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.default-features [INFO] [stderr] warning: unused manifest key: bin.1.default-features [INFO] [stderr] warning: unused manifest key: bin.2.default-features [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c094900595a3e2dcd5ceaff981a87f6f110cd0a197c8759e1a3603d94a6fd174 [INFO] running `Command { std: "docker" "start" "-a" "c094900595a3e2dcd5ceaff981a87f6f110cd0a197c8759e1a3603d94a6fd174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c094900595a3e2dcd5ceaff981a87f6f110cd0a197c8759e1a3603d94a6fd174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c094900595a3e2dcd5ceaff981a87f6f110cd0a197c8759e1a3603d94a6fd174", kill_on_drop: false }` [INFO] [stdout] c094900595a3e2dcd5ceaff981a87f6f110cd0a197c8759e1a3603d94a6fd174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc0c40e417e9d04345952d4359562fac44d83ee618b3e7466c472dcace20ca94 [INFO] running `Command { std: "docker" "start" "-a" "bc0c40e417e9d04345952d4359562fac44d83ee618b3e7466c472dcace20ca94", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.default-features [INFO] [stderr] warning: unused manifest key: bin.1.default-features [INFO] [stderr] warning: unused manifest key: bin.2.default-features [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking smol v2.0.2 [INFO] [stderr] Checking too-many-web-servers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `simple_server` [INFO] [stdout] --> src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "simple_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `non_blocking_server` [INFO] [stdout] --> src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "non_blocking_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `non_blocking_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multiplexed_server` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "multiplexed_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `multiplexed_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `simple_server` [INFO] [stdout] --> src/lib.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "simple_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `simple_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `non_blocking_server` [INFO] [stdout] --> src/lib.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(feature = "non_blocking_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `non_blocking_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `multiplexed_server` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "multiplexed_server")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `multiplexed_server` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_server.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let request = String::from_utf8_lossy(&request[..read]); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/non_blocking_server.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => { [INFO] [stdout] | ------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 94 | Err(e) => panic!("{e}"), [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/non_blocking_server.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let connection = match listener.accept() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/non_blocking_server.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle_connection(mut connection: TcpStream) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/non_blocking_server.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 89 | Err(e) => { [INFO] [stdout] | ------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 94 | Err(e) => panic!("{e}"), [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connection` [INFO] [stdout] --> src/non_blocking_server.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let connection = match listener.accept() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/non_blocking_server.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle_connection(mut connection: TcpStream) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/simple_server.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let request = String::from_utf8_lossy(&request[..read]); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ev` [INFO] [stdout] --> src/multiplexed_server.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | for ev in events.iter().filter(|&ev| ev.key == key) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multiplexed_server.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut listener = TcpListener::bind("localhost:3000").unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/multiplexed_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / smol::block_on(async { [INFO] [stdout] 13 | | let mut listener = TcpListener::bind("localhost:3000").unwrap(); [INFO] [stdout] 14 | | listener.set_nonblocking(true)?; [INFO] [stdout] 15 | | let poller = Poller::new()?; [INFO] [stdout] ... | [INFO] [stdout] 35 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = smol::block_on(async { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ev` [INFO] [stdout] --> src/multiplexed_server.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | for ev in events.iter().filter(|&ev| ev.key == key) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/multiplexed_server.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut listener = TcpListener::bind("localhost:3000").unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/multiplexed_server.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / smol::block_on(async { [INFO] [stdout] 13 | | let mut listener = TcpListener::bind("localhost:3000").unwrap(); [INFO] [stdout] 14 | | listener.set_nonblocking(true)?; [INFO] [stdout] 15 | | let poller = Poller::new()?; [INFO] [stdout] ... | [INFO] [stdout] 35 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 12 | let _ = smol::block_on(async { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.70s [INFO] running `Command { std: "docker" "inspect" "bc0c40e417e9d04345952d4359562fac44d83ee618b3e7466c472dcace20ca94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0c40e417e9d04345952d4359562fac44d83ee618b3e7466c472dcace20ca94", kill_on_drop: false }` [INFO] [stdout] bc0c40e417e9d04345952d4359562fac44d83ee618b3e7466c472dcace20ca94