[INFO] cloning repository https://github.com/mtswishr/bedrock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtswishr/bedrock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtswishr%2Fbedrock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtswishr%2Fbedrock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d166f13884e041a20bc28e7de9fcb581386a1915 [INFO] checking mtswishr/bedrock against try#26ad8a85dc4eed299af809e52f278da81e284602 for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtswishr%2Fbedrock" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mtswishr/bedrock on toolchain 26ad8a85dc4eed299af809e52f278da81e284602 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mtswishr/bedrock [INFO] finished tweaking git repo https://github.com/mtswishr/bedrock [INFO] tweaked toml for git repo https://github.com/mtswishr/bedrock written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mtswishr/bedrock 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" "+26ad8a85dc4eed299af809e52f278da81e284602" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb1e732ea335723eb007f8c959ceed33f09928bfee603e42e8dcb59150309a5b [INFO] running `Command { std: "docker" "start" "-a" "cb1e732ea335723eb007f8c959ceed33f09928bfee603e42e8dcb59150309a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb1e732ea335723eb007f8c959ceed33f09928bfee603e42e8dcb59150309a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1e732ea335723eb007f8c959ceed33f09928bfee603e42e8dcb59150309a5b", kill_on_drop: false }` [INFO] [stdout] cb1e732ea335723eb007f8c959ceed33f09928bfee603e42e8dcb59150309a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+26ad8a85dc4eed299af809e52f278da81e284602" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3da4ea791dc5c37d274ee65506ffb641b23c037f475e91e93ad9beac033f95b [INFO] running `Command { std: "docker" "start" "-a" "a3da4ea791dc5c37d274ee65506ffb641b23c037f475e91e93ad9beac033f95b", kill_on_drop: false }` [INFO] [stderr] Checking bedrock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | connections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 19 | addr: IpAddr [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/response/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3 | response: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 13 | connections: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr` is never read [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 19 | addr: IpAddr [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `response` is never read [INFO] [stdout] --> src/response/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 3 | response: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | fn hello_world(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | fn hello_world(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/request/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpRequest { [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(req: String) -> HttpRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/response/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/response/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(res: String) -> HttpResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/request/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpRequest { [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/request/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(req: String) -> HttpRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/response/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/response/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl HttpResponse { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 7 | pub fn new(res: String) -> HttpResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "a3da4ea791dc5c37d274ee65506ffb641b23c037f475e91e93ad9beac033f95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3da4ea791dc5c37d274ee65506ffb641b23c037f475e91e93ad9beac033f95b", kill_on_drop: false }` [INFO] [stdout] a3da4ea791dc5c37d274ee65506ffb641b23c037f475e91e93ad9beac033f95b