[INFO] cloning repository https://github.com/FBamx/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/FBamx/http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFBamx%2Fhttp_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFBamx%2Fhttp_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96c53ffab03179b0eed6474502890a9ada4f63a2 [INFO] testing FBamx/http_server against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFBamx%2Fhttp_server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FBamx/http_server [INFO] finished tweaking git repo https://github.com/FBamx/http_server [INFO] tweaked toml for git repo https://github.com/FBamx/http_server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FBamx/http_server on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FBamx/http_server 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 052d8316faad8bdff0c026743b8e7a3c4d5345c4f7e9af98984648a16a9abfd6 [INFO] running `Command { std: "docker" "start" "-a" "052d8316faad8bdff0c026743b8e7a3c4d5345c4f7e9af98984648a16a9abfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "052d8316faad8bdff0c026743b8e7a3c4d5345c4f7e9af98984648a16a9abfd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "052d8316faad8bdff0c026743b8e7a3c4d5345c4f7e9af98984648a16a9abfd6", kill_on_drop: false }` [INFO] [stdout] 052d8316faad8bdff0c026743b8e7a3c4d5345c4f7e9af98984648a16a9abfd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] c42df32ab0580a57305bd1258786679c549292df338222cfa220757f021a717c [INFO] running `Command { std: "docker" "start" "-a" "c42df32ab0580a57305bd1258786679c549292df338222cfa220757f021a717c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling http_server v0.1.0 (/opt/rustwide/workdir/http_server) [INFO] [stderr] Compiling http_client v0.1.0 (/opt/rustwide/workdir/http_client) [INFO] [stdout] warning: fields `method`, `resource`, and `version` are never read [INFO] [stdout] --> http_server/src/http_request.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RequestLine { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | method: RequestMethod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | version: HttpVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> http_server/src/http_request.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Content(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestBody` has a derived impl for the trait `Debug`, but this is 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] 24 - Content(String), [INFO] [stdout] 24 + Content(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_line`, `request_header`, and `request_body` are never read [INFO] [stdout] --> http_server/src/http_request.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | request_line: RequestLine, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | request_header: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | request_body: RequestBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "c42df32ab0580a57305bd1258786679c549292df338222cfa220757f021a717c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42df32ab0580a57305bd1258786679c549292df338222cfa220757f021a717c", kill_on_drop: false }` [INFO] [stdout] c42df32ab0580a57305bd1258786679c549292df338222cfa220757f021a717c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 893b637dfa16b549087939bea927a21343282f25e707f2160812eb083c17f393 [INFO] running `Command { std: "docker" "start" "-a" "893b637dfa16b549087939bea927a21343282f25e707f2160812eb083c17f393", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling http_server v0.1.0 (/opt/rustwide/workdir/http_server) [INFO] [stderr] Compiling http_client v0.1.0 (/opt/rustwide/workdir/http_client) [INFO] [stdout] warning: fields `method`, `resource`, and `version` are never read [INFO] [stdout] --> http_server/src/http_request.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RequestLine { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 17 | method: RequestMethod, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | resource: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | version: HttpVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> http_server/src/http_request.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Content(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RequestBody` has a derived impl for the trait `Debug`, but this is 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] 24 - Content(String), [INFO] [stdout] 24 + Content(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_line`, `request_header`, and `request_body` are never read [INFO] [stdout] --> http_server/src/http_request.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 30 | request_line: RequestLine, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | request_header: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 32 | request_body: RequestBody, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "893b637dfa16b549087939bea927a21343282f25e707f2160812eb083c17f393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893b637dfa16b549087939bea927a21343282f25e707f2160812eb083c17f393", kill_on_drop: false }` [INFO] [stdout] 893b637dfa16b549087939bea927a21343282f25e707f2160812eb083c17f393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 47eee22acb0d4ff104be93e34fc35555ffc053cfc7e7cfab4c731c3835bc1365 [INFO] running `Command { std: "docker" "start" "-a" "47eee22acb0d4ff104be93e34fc35555ffc053cfc7e7cfab4c731c3835bc1365", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: fields `method`, `resource`, and `version` are never read [INFO] [stderr] --> http_server/src/http_request.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct RequestLine { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 17 | method: RequestMethod, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 18 | resource: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | version: HttpVersion, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RequestLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> http_server/src/http_request.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | Content(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `RequestBody` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 - Content(String), [INFO] [stderr] 24 + Content(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `request_line`, `request_header`, and `request_body` are never read [INFO] [stderr] --> http_server/src/http_request.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct HttpRequest { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 30 | request_line: RequestLine, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 31 | request_header: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 32 | request_body: RequestBody, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `http_server` (bin "http_server" test) generated 3 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/http_client/330eb703a845f009/deps/http_client-330eb703a845f009) [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] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/http_server/1037f9815027810a/deps/http_server-1037f9815027810a) [INFO] running `Command { std: "docker" "inspect" "47eee22acb0d4ff104be93e34fc35555ffc053cfc7e7cfab4c731c3835bc1365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47eee22acb0d4ff104be93e34fc35555ffc053cfc7e7cfab4c731c3835bc1365", kill_on_drop: false }` [INFO] [stdout] 47eee22acb0d4ff104be93e34fc35555ffc053cfc7e7cfab4c731c3835bc1365