[INFO] cloning repository https://github.com/theelevators/advent-of-code-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theelevators/advent-of-code-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheelevators%2Fadvent-of-code-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheelevators%2Fadvent-of-code-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe132d62ab9dea36529a361a5ffab3d65220e416 [INFO] checking theelevators/advent-of-code-2022 against try#802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 for pr-137728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheelevators%2Fadvent-of-code-2022" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theelevators/advent-of-code-2022 on toolchain 802c9b5f98c16ec9d24cdfd517f740f1f3df0e29 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theelevators/advent-of-code-2022 [INFO] finished tweaking git repo https://github.com/theelevators/advent-of-code-2022 [INFO] tweaked toml for git repo https://github.com/theelevators/advent-of-code-2022 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/theelevators/advent-of-code-2022 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" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4bc130131e9a660d7c0204388af1d262af9457186533f90bc12b0c144cff924 [INFO] running `Command { std: "docker" "start" "-a" "e4bc130131e9a660d7c0204388af1d262af9457186533f90bc12b0c144cff924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4bc130131e9a660d7c0204388af1d262af9457186533f90bc12b0c144cff924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bc130131e9a660d7c0204388af1d262af9457186533f90bc12b0c144cff924", kill_on_drop: false }` [INFO] [stdout] e4bc130131e9a660d7c0204388af1d262af9457186533f90bc12b0c144cff924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+802c9b5f98c16ec9d24cdfd517f740f1f3df0e29" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1ce516164c8206595bf95b8b552d8b8a8e1172b938457020b3879cc1fa2eb0 [INFO] running `Command { std: "docker" "start" "-a" "ff1ce516164c8206595bf95b8b552d8b8a8e1172b938457020b3879cc1fa2eb0", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking elves_way v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/items/handheld/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::slice` [INFO] [stdout] --> src/items/handheld/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::slice; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_team_w_cleanup_list`, `get_team_capacity`, and `get_team_priority` are never used [INFO] [stdout] --> src/elves/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ElvesTeam { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> ElvesTeam { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new_team_w_cleanup_list(filename: &str)->ElvesTeam{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_team_capacity(&self) -> Calories { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_team_priority(&self) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `baller_elf` is never used [INFO] [stdout] --> src/elves/mod.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait TeamWork { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 131 | fn baller_elf(&mut self) -> Calories; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/items/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 55 | fn new(cmd: &str)->Command{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PriorityList` is never used [INFO] [stdout] --> src/items/backpack/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type PriorityList = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_priority_items` is never used [INFO] [stdout] --> src/items/backpack/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Backpack { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_priority_items(&self) -> PriorityList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/items/crates/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Stack { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 22 | pub fn new() -> Stack { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `new_team_w_cleanup_list`, `get_team_capacity`, and `get_team_priority` are never used [INFO] [stdout] --> src/elves/mod.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl ElvesTeam { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> ElvesTeam { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn new_team_w_cleanup_list(filename: &str)->ElvesTeam{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_team_capacity(&self) -> Calories { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn get_team_priority(&self) -> Priority { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `baller_elf` is never used [INFO] [stdout] --> src/elves/mod.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait TeamWork { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 131 | fn baller_elf(&mut self) -> Calories; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/items/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl Command { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 55 | fn new(cmd: &str)->Command{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PriorityList` is never used [INFO] [stdout] --> src/items/backpack/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type PriorityList = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_priority_items` is never used [INFO] [stdout] --> src/items/backpack/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Backpack { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn get_priority_items(&self) -> PriorityList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/items/crates/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Stack { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 22 | pub fn new() -> Stack { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "ff1ce516164c8206595bf95b8b552d8b8a8e1172b938457020b3879cc1fa2eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1ce516164c8206595bf95b8b552d8b8a8e1172b938457020b3879cc1fa2eb0", kill_on_drop: false }` [INFO] [stdout] ff1ce516164c8206595bf95b8b552d8b8a8e1172b938457020b3879cc1fa2eb0