[INFO] cloning repository https://github.com/brkydnc/hashcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brkydnc/hashcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrkydnc%2Fhashcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrkydnc%2Fhashcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c9aca957d1a377d4654a7913f423681da9b1efc [INFO] checking brkydnc/hashcode against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrkydnc%2Fhashcode" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brkydnc/hashcode [INFO] finished tweaking git repo https://github.com/brkydnc/hashcode [INFO] tweaked toml for git repo https://github.com/brkydnc/hashcode written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brkydnc/hashcode on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brkydnc/hashcode 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a050e7866befa80ebe31bd78e7fa04d6c786d07e74bc89a8bf4153ab7f40717 [INFO] running `Command { std: "docker" "start" "-a" "9a050e7866befa80ebe31bd78e7fa04d6c786d07e74bc89a8bf4153ab7f40717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a050e7866befa80ebe31bd78e7fa04d6c786d07e74bc89a8bf4153ab7f40717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a050e7866befa80ebe31bd78e7fa04d6c786d07e74bc89a8bf4153ab7f40717", kill_on_drop: false }` [INFO] [stdout] 9a050e7866befa80ebe31bd78e7fa04d6c786d07e74bc89a8bf4153ab7f40717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c2a31fd130911f529d9b9d0f621de4cf256b2a36dc950c330c5100a3c6143b [INFO] running `Command { std: "docker" "start" "-a" "61c2a31fd130911f529d9b9d0f621de4cf256b2a36dc950c330c5100a3c6143b", kill_on_drop: false }` [INFO] [stderr] Checking hashcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Role` and `Skillset` [INFO] [stdout] --> src/ege.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::model::{Project, Contributor, Role, Skillset, ExecutedProject, Schedule}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Role` and `Skillset` [INFO] [stdout] --> src/ege.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use super::model::{Project, Contributor, Role, Skillset, ExecutedProject, Schedule}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ege.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut current_project) = projects.pop() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let executor = ege::executor; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `duration` and `score` are never read [INFO] [stdout] --> src/model.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | pub name: String, [INFO] [stdout] 20 | pub duration: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub score: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` 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: fields `name` and `contributors` are never read [INFO] [stdout] --> src/model.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ExecutedProject { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub contributors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutedProject` 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 `0` is never read [INFO] [stdout] --> src/model.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Schedule(pub Vec); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ExecutedProject { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_output` is never used [INFO] [stdout] --> src/model.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Schedule { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 45 | pub fn to_output(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 7 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ege.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | while let Some(mut current_project) = projects.pop() { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let executor = ege::executor; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `duration` and `score` are never read [INFO] [stdout] --> src/model.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Project { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 19 | pub name: String, [INFO] [stdout] 20 | pub duration: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub score: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` 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: fields `name` and `contributors` are never read [INFO] [stdout] --> src/model.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct ExecutedProject { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 28 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub contributors: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutedProject` 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 `0` is never read [INFO] [stdout] --> src/model.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Schedule(pub Vec); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `dummy` is never used [INFO] [stdout] --> src/model.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl ExecutedProject { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn dummy() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_output` is never used [INFO] [stdout] --> src/model.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Schedule { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 45 | pub fn to_output(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | file.read_to_string(&mut content); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 7 | let _ = file.read_to_string(&mut content); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "61c2a31fd130911f529d9b9d0f621de4cf256b2a36dc950c330c5100a3c6143b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c2a31fd130911f529d9b9d0f621de4cf256b2a36dc950c330c5100a3c6143b", kill_on_drop: false }` [INFO] [stdout] 61c2a31fd130911f529d9b9d0f621de4cf256b2a36dc950c330c5100a3c6143b