[INFO] cloning repository https://github.com/cpecu/di-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpecu/di-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07543317f6502ec8c2c41386e40b149ccfe2200a [INFO] checking cpecu/di-server against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-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/cpecu/di-server [INFO] finished tweaking git repo https://github.com/cpecu/di-server [INFO] tweaked toml for git repo https://github.com/cpecu/di-server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cpecu/di-server on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cpecu/di-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: package.default_run [INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.dev.opt [INFO] [stderr] warning: `dsrv` (manifest) generated 2 warnings [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7b8c6035678d873962c30f4ed27ea920b6f6ecbba853dbfe6e392fbdf15ceaa [INFO] running `Command { std: "docker" "start" "-a" "a7b8c6035678d873962c30f4ed27ea920b6f6ecbba853dbfe6e392fbdf15ceaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7b8c6035678d873962c30f4ed27ea920b6f6ecbba853dbfe6e392fbdf15ceaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b8c6035678d873962c30f4ed27ea920b6f6ecbba853dbfe6e392fbdf15ceaa", kill_on_drop: false }` [INFO] [stdout] a7b8c6035678d873962c30f4ed27ea920b6f6ecbba853dbfe6e392fbdf15ceaa [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e5caf48f7671d3bcaab7f66c7ca89cfb7a5093b16b4e122645bb32243077691 [INFO] running `Command { std: "docker" "start" "-a" "2e5caf48f7671d3bcaab7f66c7ca89cfb7a5093b16b4e122645bb32243077691", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: unused manifest key: package.default_run [INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.dev.opt [INFO] [stderr] warning: `dsrv` (manifest) generated 2 warnings [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dhttp v0.1.0 (/opt/rustwide/workdir/crates/dhttp) [INFO] [stderr] Checking idna v0.2.0 [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> crates/dhttp/src/method.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | From, TryFrom, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Infallible` [INFO] [stdout] --> crates/dhttp/src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> crates/dhttp/src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let string = match self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Header` is never constructed [INFO] [stdout] --> crates/dhttp/src/header.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Header(HashMap); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/dhttp/src/header.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Header(HashMap); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `key` and `value` are never read [INFO] [stdout] --> crates/dhttp/src/cookie.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Cookie<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | key: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | value: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] error: could not compile `dhttp` (lib) due to 1 previous error; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2e5caf48f7671d3bcaab7f66c7ca89cfb7a5093b16b4e122645bb32243077691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e5caf48f7671d3bcaab7f66c7ca89cfb7a5093b16b4e122645bb32243077691", kill_on_drop: false }` [INFO] [stdout] 2e5caf48f7671d3bcaab7f66c7ca89cfb7a5093b16b4e122645bb32243077691