[INFO] cloning repository https://github.com/tarekseba/rust-aoc-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tarekseba/rust-aoc-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarekseba%2Frust-aoc-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarekseba%2Frust-aoc-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d1de29c4c3b94d61a30a95c7c0bf641b9126068 [INFO] checking tarekseba/rust-aoc-2022 against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftarekseba%2Frust-aoc-2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tarekseba/rust-aoc-2022 [INFO] finished tweaking git repo https://github.com/tarekseba/rust-aoc-2022 [INFO] tweaked toml for git repo https://github.com/tarekseba/rust-aoc-2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tarekseba/rust-aoc-2022 on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tarekseba/rust-aoc-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" "+028201683a76a5cd349729c6819c46607119c4e8" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9290e7fc1722a58e4ebbd5ff963c1502c27d28b52f7897515d759cd80c9afcd7 [INFO] running `Command { std: "docker" "start" "-a" "9290e7fc1722a58e4ebbd5ff963c1502c27d28b52f7897515d759cd80c9afcd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9290e7fc1722a58e4ebbd5ff963c1502c27d28b52f7897515d759cd80c9afcd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9290e7fc1722a58e4ebbd5ff963c1502c27d28b52f7897515d759cd80c9afcd7", kill_on_drop: false }` [INFO] [stdout] 9290e7fc1722a58e4ebbd5ff963c1502c27d28b52f7897515d759cd80c9afcd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24fed073588f8a2f679336250a4038d847652ba9fbb4bb3aaa1daef319355a43 [INFO] running `Command { std: "docker" "start" "-a" "24fed073588f8a2f679336250a4038d847652ba9fbb4bb3aaa1daef319355a43", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rust-aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day7.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, fs, path::PathBuf, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/day7.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, fs, path::PathBuf, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `day15` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | day15::run_part_one(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `day15` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/day15.rs, use `mod day15` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod day15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `day15` [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | day15::run_part_one(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `day15` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/day15.rs, use `mod day15` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod day15; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/day12.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut x = e.iter().enumerate().fold(&mut acc, |acc, (index, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut x = e.iter().enumerate().fold(&mut acc, |acc, (index, c)| { [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: `x` [INFO] [stdout] --> src/day12.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let mut x = e.iter().enumerate().fold(&mut acc, |acc, (index, c)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day12.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let mut x = e.iter().enumerate().fold(&mut acc, |acc, (index, c)| { [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: `sizes` [INFO] [stdout] --> src/day7.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_size(&mut self, sizes: &mut Vec) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/day7.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | FileType::File { size, name } => false, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/day7.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | FileType::File { size, name } => false, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sizes` [INFO] [stdout] --> src/day7.rs:156:28 [INFO] [stdout] | [INFO] [stdout] 156 | fn get_size(&mut self, sizes: &mut Vec) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sizes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/day7.rs:201:30 [INFO] [stdout] | [INFO] [stdout] 201 | FileType::File { size, name } => false, [INFO] [stdout] | ^^^^ help: try ignoring the field: `size: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/day7.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | FileType::File { size, name } => false, [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-aoc` (bin "rust-aoc") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-aoc` (bin "rust-aoc" test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24fed073588f8a2f679336250a4038d847652ba9fbb4bb3aaa1daef319355a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24fed073588f8a2f679336250a4038d847652ba9fbb4bb3aaa1daef319355a43", kill_on_drop: false }` [INFO] [stdout] 24fed073588f8a2f679336250a4038d847652ba9fbb4bb3aaa1daef319355a43