[INFO] cloning repository https://github.com/temoncher/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/temoncher/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftemoncher%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftemoncher%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2020138d43c23dfb068a318eb3633ac4ac06d68d [INFO] testing temoncher/rust-http-server against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftemoncher%2Frust-http-server" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/temoncher/rust-http-server on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/temoncher/rust-http-server [INFO] finished tweaking git repo https://github.com/temoncher/rust-http-server [INFO] tweaked toml for git repo https://github.com/temoncher/rust-http-server written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/temoncher/rust-http-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 069039be1656d68decaa754d6b4f66b825190a67ba04b87a198191c9e45c07ed [INFO] running `Command { std: "docker" "start" "-a" "069039be1656d68decaa754d6b4f66b825190a67ba04b87a198191c9e45c07ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "069039be1656d68decaa754d6b4f66b825190a67ba04b87a198191c9e45c07ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069039be1656d68decaa754d6b4f66b825190a67ba04b87a198191c9e45c07ed", kill_on_drop: false }` [INFO] [stdout] 069039be1656d68decaa754d6b4f66b825190a67ba04b87a198191c9e45c07ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbb45417baeb5bbfcbd7cf36efae6399200a4ead93f06da73c68ed3683fbe1be [INFO] running `Command { std: "docker" "start" "-a" "cbb45417baeb5bbfcbd7cf36efae6399200a4ead93f06da73c68ed3683fbe1be", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `DELETE` [INFO] [stdout] --> src/http/method.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `POST` [INFO] [stdout] --> src/http/method.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUT` [INFO] [stdout] --> src/http/method.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HEAD` [INFO] [stdout] --> src/http/method.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CONNECT` [INFO] [stdout] --> src/http/method.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OPTIONS` [INFO] [stdout] --> src/http/method.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TRACE` [INFO] [stdout] --> src/http/method.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PATH` [INFO] [stdout] --> src/http/method.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | PATH, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_string` [INFO] [stdout] --> src/http/request.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/request.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_string` [INFO] [stdout] --> src/http/request.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query_string(&self) -> Option<&RequestQuery> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/http/request_query.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get(&self, key: &str) -> Option<&QueryValue> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.70s [INFO] running `Command { std: "docker" "inspect" "cbb45417baeb5bbfcbd7cf36efae6399200a4ead93f06da73c68ed3683fbe1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb45417baeb5bbfcbd7cf36efae6399200a4ead93f06da73c68ed3683fbe1be", kill_on_drop: false }` [INFO] [stdout] cbb45417baeb5bbfcbd7cf36efae6399200a4ead93f06da73c68ed3683fbe1be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 911298e7f7ad6ea3fc4de9f393a493710c17838ed836d468b74cc3fb7cc70691 [INFO] running `Command { std: "docker" "start" "-a" "911298e7f7ad6ea3fc4de9f393a493710c17838ed836d468b74cc3fb7cc70691", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `DELETE` [INFO] [stdout] --> src/http/method.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `POST` [INFO] [stdout] --> src/http/method.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | POST, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PUT` [INFO] [stdout] --> src/http/method.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | PUT, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HEAD` [INFO] [stdout] --> src/http/method.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | HEAD, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CONNECT` [INFO] [stdout] --> src/http/method.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OPTIONS` [INFO] [stdout] --> src/http/method.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | OPTIONS, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TRACE` [INFO] [stdout] --> src/http/method.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | TRACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PATH` [INFO] [stdout] --> src/http/method.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | PATH, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/method.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_string` [INFO] [stdout] --> src/http/request.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/request.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_string` [INFO] [stdout] --> src/http/request.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn query_string(&self) -> Option<&RequestQuery> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/http/request_query.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get(&self, key: &str) -> Option<&QueryValue> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_http_server-99f9bc706bfdbef2) [INFO] running `Command { std: "docker" "inspect" "911298e7f7ad6ea3fc4de9f393a493710c17838ed836d468b74cc3fb7cc70691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "911298e7f7ad6ea3fc4de9f393a493710c17838ed836d468b74cc3fb7cc70691", kill_on_drop: false }` [INFO] [stdout] 911298e7f7ad6ea3fc4de9f393a493710c17838ed836d468b74cc3fb7cc70691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79d8f28446ab1f347b8c287905ed2205cf2ff8e96d36cf41f629dee24bac97c2 [INFO] running `Command { std: "docker" "start" "-a" "79d8f28446ab1f347b8c287905ed2205cf2ff8e96d36cf41f629dee24bac97c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variant is never constructed: `DELETE` [INFO] [stderr] --> src/http/method.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | DELETE, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `POST` [INFO] [stderr] --> src/http/method.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | POST, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PUT` [INFO] [stderr] --> src/http/method.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | PUT, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HEAD` [INFO] [stderr] --> src/http/method.rs:9:3 [INFO] [stderr] | [INFO] [stderr] 9 | HEAD, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `CONNECT` [INFO] [stderr] --> src/http/method.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | CONNECT, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `OPTIONS` [INFO] [stderr] --> src/http/method.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | OPTIONS, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `TRACE` [INFO] [stderr] --> src/http/method.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | TRACE, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PATH` [INFO] [stderr] --> src/http/method.rs:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | PATH, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Method` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/method.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `query_string` [INFO] [stderr] --> src/http/request.rs:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | query_string: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/request.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `query_string` [INFO] [stderr] --> src/http/request.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn query_string(&self) -> Option<&RequestQuery> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/http/request_query.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn get(&self, key: &str) -> Option<&QueryValue> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust-http-server` (bin "rust-http-server" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_http_server-99f9bc706bfdbef2) [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" "79d8f28446ab1f347b8c287905ed2205cf2ff8e96d36cf41f629dee24bac97c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d8f28446ab1f347b8c287905ed2205cf2ff8e96d36cf41f629dee24bac97c2", kill_on_drop: false }` [INFO] [stdout] 79d8f28446ab1f347b8c287905ed2205cf2ff8e96d36cf41f629dee24bac97c2