[INFO] cloning repository https://github.com/norcalli/chash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/norcalli/chash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorcalli%2Fchash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorcalli%2Fchash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73039800cdbfa035d3d3bb4dbd4972de532a96a4 [INFO] checking norcalli/chash against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnorcalli%2Fchash" "/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/norcalli/chash [INFO] finished tweaking git repo https://github.com/norcalli/chash [INFO] tweaked toml for git repo https://github.com/norcalli/chash written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/norcalli/chash on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/norcalli/chash 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cabad280e3a0bbc32c302193d93f7384bbc2bd8ac5534332dee054a4071671e [INFO] running `Command { std: "docker" "start" "-a" "2cabad280e3a0bbc32c302193d93f7384bbc2bd8ac5534332dee054a4071671e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cabad280e3a0bbc32c302193d93f7384bbc2bd8ac5534332dee054a4071671e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cabad280e3a0bbc32c302193d93f7384bbc2bd8ac5534332dee054a4071671e", kill_on_drop: false }` [INFO] [stdout] 2cabad280e3a0bbc32c302193d93f7384bbc2bd8ac5534332dee054a4071671e [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56285b563179913cc0d873bd5eb450ab44ca5130653c154ace18dca6af77ce41 [INFO] running `Command { std: "docker" "start" "-a" "56285b563179913cc0d873bd5eb450ab44ca5130653c154ace18dca6af77ce41", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling clang-sys v1.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking clang v1.0.3 [INFO] [stderr] Compiling structmeta-derive v0.1.3 [INFO] [stderr] Compiling structmeta v0.1.3 [INFO] [stderr] Compiling parse-display-derive v0.5.1 [INFO] [stderr] Checking parse-display v0.5.1 [INFO] [stderr] Checking chash v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `DebugHasher` is never constructed [INFO] [stdout] --> src/main.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | struct DebugHasher { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 271 | impl DebugHasher { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 272 | fn new(label: impl std::fmt::Display) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/main.rs:292:4 [INFO] [stdout] | [INFO] [stdout] 292 | fn hash(x: &T) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_hash` is never used [INFO] [stdout] --> src/main.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn debug_hash(x: &T, label: impl std::fmt::Display) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file: PathBuf = it.next().ok_or_else(|| anyhow!("Need arg"))?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file: PathBuf = it.next().ok_or_else(|| anyhow!("Need arg"))?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chash` (bin "chash" test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `DebugHasher` is never constructed [INFO] [stdout] --> src/main.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | struct DebugHasher { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 271 | impl DebugHasher { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 272 | fn new(label: impl std::fmt::Display) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/main.rs:292:4 [INFO] [stdout] | [INFO] [stdout] 292 | fn hash(x: &T) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_hash` is never used [INFO] [stdout] --> src/main.rs:299:4 [INFO] [stdout] | [INFO] [stdout] 299 | fn debug_hash(x: &T, label: impl std::fmt::Display) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file: PathBuf = it.next().ok_or_else(|| anyhow!("Need arg"))?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | let file: PathBuf = it.next().ok_or_else(|| anyhow!("Need arg"))?.parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chash` (bin "chash") due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56285b563179913cc0d873bd5eb450ab44ca5130653c154ace18dca6af77ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56285b563179913cc0d873bd5eb450ab44ca5130653c154ace18dca6af77ce41", kill_on_drop: false }` [INFO] [stdout] 56285b563179913cc0d873bd5eb450ab44ca5130653c154ace18dca6af77ce41