[INFO] cloning repository https://github.com/nenodias/async-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nenodias/async-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnenodias%2Fasync-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnenodias%2Fasync-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22040b2601965323589c202637c3686cd62468bb [INFO] testing nenodias/async-server against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnenodias%2Fasync-server" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nenodias/async-server on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nenodias/async-server [INFO] finished tweaking git repo https://github.com/nenodias/async-server [INFO] tweaked toml for git repo https://github.com/nenodias/async-server written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nenodias/async-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8ef7c6a253e4c26dde7dd9d9e339f4f59c8301727f902d57991c6d0caf34149b [INFO] running `Command { std: "docker" "start" "-a" "8ef7c6a253e4c26dde7dd9d9e339f4f59c8301727f902d57991c6d0caf34149b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ef7c6a253e4c26dde7dd9d9e339f4f59c8301727f902d57991c6d0caf34149b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef7c6a253e4c26dde7dd9d9e339f4f59c8301727f902d57991c6d0caf34149b", kill_on_drop: false }` [INFO] [stdout] 8ef7c6a253e4c26dde7dd9d9e339f4f59c8301727f902d57991c6d0caf34149b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4382ad2fd84bb6f0d9d57f17ae9d6da71863db53a614fd6e6eb6a7e909765b02 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4382ad2fd84bb6f0d9d57f17ae9d6da71863db53a614fd6e6eb6a7e909765b02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method`, `QueryString` [INFO] [stdout] --> src/server.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::{Request, Method, QueryString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/http/method.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/query_string.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: associated function is never used: `get` [INFO] [stdout] --> src/http/query_string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_string` [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `method` [INFO] [stdout] --> src/http/request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | method: Method, [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:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `method` [INFO] [stdout] --> src/http/request.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn method(&self) -> &Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_string` [INFO] [stdout] --> src/http/request.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status_code` [INFO] [stdout] --> src/http/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | status_code: StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/response.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `body` [INFO] [stdout] --> src/http/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/response.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `new` [INFO] [stdout] --> src/http/response.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(status_code: StatusCode, body: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/http/response.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn send(&self, stream: &mut impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ok` [INFO] [stdout] --> src/http/status_code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/http/status_code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFound` [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reason_phrase` [INFO] [stdout] --> src/http/status_code.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn reason_phrase(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.49s [INFO] running `Command { std: "docker" "inspect" "4382ad2fd84bb6f0d9d57f17ae9d6da71863db53a614fd6e6eb6a7e909765b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4382ad2fd84bb6f0d9d57f17ae9d6da71863db53a614fd6e6eb6a7e909765b02", kill_on_drop: false }` [INFO] [stdout] 4382ad2fd84bb6f0d9d57f17ae9d6da71863db53a614fd6e6eb6a7e909765b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25f78a4a740e94c17b09266ece97f54dd19e47f929f8071f980d814923b266ff [INFO] running `Command { std: "docker" "start" "-a" "25f78a4a740e94c17b09266ece97f54dd19e47f929f8071f980d814923b266ff", kill_on_drop: false }` [INFO] [stderr] Compiling async-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method`, `QueryString` [INFO] [stdout] --> src/server.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::http::{Request, Method, QueryString}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/http/method.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/http/query_string.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/query_string.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: associated function is never used: `get` [INFO] [stdout] --> src/http/query_string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_string` [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | 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:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `method` [INFO] [stdout] --> src/http/request.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | method: Method, [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:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[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: `method` [INFO] [stdout] --> src/http/request.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn method(&self) -> &Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `query_string` [INFO] [stdout] --> src/http/request.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `status_code` [INFO] [stdout] --> src/http/response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | status_code: StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/response.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `body` [INFO] [stdout] --> src/http/response.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | body: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/response.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[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: `new` [INFO] [stdout] --> src/http/response.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(status_code: StatusCode, body: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/http/response.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn send(&self, stream: &mut impl Write) -> IoResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ok` [INFO] [stdout] --> src/http/status_code.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Ok = 200, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequest` [INFO] [stdout] --> src/http/status_code.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BadRequest = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NotFound` [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/http/status_code.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reason_phrase` [INFO] [stdout] --> src/http/status_code.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn reason_phrase(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "25f78a4a740e94c17b09266ece97f54dd19e47f929f8071f980d814923b266ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f78a4a740e94c17b09266ece97f54dd19e47f929f8071f980d814923b266ff", kill_on_drop: false }` [INFO] [stdout] 25f78a4a740e94c17b09266ece97f54dd19e47f929f8071f980d814923b266ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 467a0d70c0a8b7dc5c4a4f967b6512ee7ebd935b86db6501792693d9f052f492 [INFO] running `Command { std: "docker" "start" "-a" "467a0d70c0a8b7dc5c4a4f967b6512ee7ebd935b86db6501792693d9f052f492", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Method`, `QueryString` [INFO] [stderr] --> src/server.rs:2:28 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::http::{Request, Method, QueryString}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::TryFrom` [INFO] [stderr] --> src/http/method.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::convert::TryFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `data` [INFO] [stderr] --> src/http/query_string.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | data: HashMap<&'buf str, Value<'buf>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/query_string.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: associated function is never used: `get` [INFO] [stderr] --> src/http/query_string.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `query_string` [INFO] [stderr] --> src/http/request.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | 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:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[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: `method` [INFO] [stderr] --> src/http/request.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | method: Method, [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:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[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: `method` [INFO] [stderr] --> src/http/request.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn method(&self) -> &Method { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `query_string` [INFO] [stderr] --> src/http/request.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `status_code` [INFO] [stderr] --> src/http/response.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | status_code: StatusCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/response.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[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: `body` [INFO] [stderr] --> src/http/response.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | body: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/response.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[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: `new` [INFO] [stderr] --> src/http/response.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(status_code: StatusCode, body: Option) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send` [INFO] [stderr] --> src/http/response.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn send(&self, stream: &mut impl Write) -> IoResult<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Ok` [INFO] [stderr] --> src/http/status_code.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | Ok = 200, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/status_code.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadRequest` [INFO] [stderr] --> src/http/status_code.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | BadRequest = 400, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/status_code.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotFound` [INFO] [stderr] --> src/http/status_code.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | NotFound = 404, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/http/status_code.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Copy, Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reason_phrase` [INFO] [stderr] --> src/http/status_code.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn reason_phrase(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `async-server` (bin "async-server" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/async_server-ccd2656e85c95911) [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" "467a0d70c0a8b7dc5c4a4f967b6512ee7ebd935b86db6501792693d9f052f492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467a0d70c0a8b7dc5c4a4f967b6512ee7ebd935b86db6501792693d9f052f492", kill_on_drop: false }` [INFO] [stdout] 467a0d70c0a8b7dc5c4a4f967b6512ee7ebd935b86db6501792693d9f052f492