[INFO] cloning repository https://github.com/explodingcamera/rust-http-server-from-scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/explodingcamera/rust-http-server-from-scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexplodingcamera%2Frust-http-server-from-scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexplodingcamera%2Frust-http-server-from-scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 109fc07f42910f997fb032e5e81a8d31eb6032dd [INFO] checking explodingcamera/rust-http-server-from-scratch/109fc07f42910f997fb032e5e81a8d31eb6032dd against master#826b673412d2f579e7865b6f26bc9771c6d3b097 for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fexplodingcamera%2Frust-http-server-from-scratch" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/explodingcamera/rust-http-server-from-scratch on toolchain 826b673412d2f579e7865b6f26bc9771c6d3b097 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/explodingcamera/rust-http-server-from-scratch [INFO] finished tweaking git repo https://github.com/explodingcamera/rust-http-server-from-scratch [INFO] tweaked toml for git repo https://github.com/explodingcamera/rust-http-server-from-scratch written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/explodingcamera/rust-http-server-from-scratch 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" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httpstatus v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48bb67667498bdbabf07ae782f01761795a215ab20aabbaa2dfca69bfa14d62e [INFO] running `Command { std: "docker" "start" "-a" "48bb67667498bdbabf07ae782f01761795a215ab20aabbaa2dfca69bfa14d62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48bb67667498bdbabf07ae782f01761795a215ab20aabbaa2dfca69bfa14d62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48bb67667498bdbabf07ae782f01761795a215ab20aabbaa2dfca69bfa14d62e", kill_on_drop: false }` [INFO] [stdout] 48bb67667498bdbabf07ae782f01761795a215ab20aabbaa2dfca69bfa14d62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4e034b17898ec93a48be4ef63f54ad1dcd5e92b99666683823aed143986436 [INFO] running `Command { std: "docker" "start" "-a" "7e4e034b17898ec93a48be4ef63f54ad1dcd5e92b99666683823aed143986436", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking httpstatus v0.1.2 [INFO] [stderr] Checking webserver-from-scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `associated_type_bounds` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(associated_type_bounds)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HTTPFramework` is never used [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | trait HTTPFramework {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/websocket/frame.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FrameHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub fin: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | pub rsv1: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub rsv2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub rsv3: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub mask: Option<[u8; 4]>, [INFO] [stdout] 14 | pub data_length: DataLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub header_length: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Small(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Small(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Medium(u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Medium(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Large(u64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | Large(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HTTPFramework` is never used [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | trait HTTPFramework {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/websocket/frame.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FrameHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub fin: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | pub rsv1: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub rsv2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub rsv3: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub opcode: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub mask: Option<[u8; 4]>, [INFO] [stdout] 14 | pub data_length: DataLength, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub header_length: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FrameHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | Small(u8), [INFO] [stdout] | ----- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Small(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | Medium(u16), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Medium(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/websocket/frame.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Large(u64), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DataLength` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | Large(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.29s [INFO] running `Command { std: "docker" "inspect" "7e4e034b17898ec93a48be4ef63f54ad1dcd5e92b99666683823aed143986436", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4e034b17898ec93a48be4ef63f54ad1dcd5e92b99666683823aed143986436", kill_on_drop: false }` [INFO] [stdout] 7e4e034b17898ec93a48be4ef63f54ad1dcd5e92b99666683823aed143986436