[INFO] cloning repository https://github.com/20gaLois17/aoc-2022-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/20gaLois17/aoc-2022-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20gaLois17%2Faoc-2022-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20gaLois17%2Faoc-2022-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4834bb62a422a05252782652ff493dd17dfee283
[INFO] checking 20gaLois17/aoc-2022-rust against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F20gaLois17%2Faoc-2022-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/20gaLois17/aoc-2022-rust on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/20gaLois17/aoc-2022-rust
[INFO] finished tweaking git repo https://github.com/20gaLois17/aoc-2022-rust
[INFO] tweaked toml for git repo https://github.com/20gaLois17/aoc-2022-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/20gaLois17/aoc-2022-rust 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4c74604163c6b3d93883264bbfb6d61ffe7db3c4eecfac36561e1731388094b8
[INFO] running `Command { std: "docker" "start" "-a" "4c74604163c6b3d93883264bbfb6d61ffe7db3c4eecfac36561e1731388094b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c74604163c6b3d93883264bbfb6d61ffe7db3c4eecfac36561e1731388094b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c74604163c6b3d93883264bbfb6d61ffe7db3c4eecfac36561e1731388094b8", kill_on_drop: false }`
[INFO] [stdout] 4c74604163c6b3d93883264bbfb6d61ffe7db3c4eecfac36561e1731388094b8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eff4bb193af966c7530b11d9fe527a39d9f6453d676c1fc68942fb1dad089fc4
[INFO] running `Command { std: "docker" "start" "-a" "eff4bb193af966c7530b11d9fe527a39d9f6453d676c1fc68942fb1dad089fc4", kill_on_drop: false }`
[INFO] [stderr]     Checking aoc-2022-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> day05/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut result: String;
[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: variable does not need to be mutable
[INFO] [stdout]   --> day05/mod.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut result: String;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> day05/mod.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 let mut current_char: char = lines[i-1].chars().nth(idx).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> day07/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]  --> day11/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let items: Vec<usize> = description[1].replace("Starting items:", "")
[INFO] [stdout]   |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operations`
[INFO] [stdout]   --> day11/mod.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let operations: Vec<String> = description[2].replace("Operation: new = old ", "")
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `divider`
[INFO] [stdout]   --> day11/mod.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let divider: usize = description[3].replace("Test: divisible by ", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_divider`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_true`
[INFO] [stdout]   --> day11/mod.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let target_true: usize = description[4].replace("If true: throw to monkey", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_false`
[INFO] [stdout]   --> day11/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let target_false: usize = description[5].replace("If false: throw to monkey", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_false`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> day11/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part_two` is never used
[INFO] [stdout]   --> day01/mod.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sum_of_largest_n` is never used
[INFO] [stdout]   --> day01/mod.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn sum_of_largest_n(mut list: Vec<usize>, n: usize) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part_one` is never used
[INFO] [stdout]  --> day07/mod.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn part_one(input: &str) -> usize {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `part_two` is never used
[INFO] [stdout]   --> day07/mod.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dir` is never constructed
[INFO] [stdout]   --> day07/mod.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Dir {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `File` is never constructed
[INFO] [stdout]   --> day07/mod.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct File {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_total_filesize`, `get_total_size`, `add_file`, and `add_dir` are never used
[INFO] [stdout]   --> day07/mod.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Dir {
[INFO] [stdout]    | -------- methods in this implementation
[INFO] [stdout] 53 |     fn get_total_filesize(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn get_total_size(&self) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn add_file(&mut self, file: File) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn add_dir(&mut self, dir: Dir) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> day11/mod.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl Monkey {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 62 |     // TODO: pass constructor arguments
[INFO] [stdout] 63 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> day05/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     let mut result: String;
[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: variable does not need to be mutable
[INFO] [stdout]   --> day05/mod.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut result: String;
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> day05/mod.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |                 let mut current_char: char = lines[i-1].chars().nth(idx).unwrap();
[INFO] [stdout]    |                     ----^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> day07/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `items`
[INFO] [stdout]  --> day11/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let items: Vec<usize> = description[1].replace("Starting items:", "")
[INFO] [stdout]   |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_items`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `operations`
[INFO] [stdout]   --> day11/mod.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let operations: Vec<String> = description[2].replace("Operation: new = old ", "")
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_operations`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `divider`
[INFO] [stdout]   --> day11/mod.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let divider: usize = description[3].replace("Test: divisible by ", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_divider`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_true`
[INFO] [stdout]   --> day11/mod.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let target_true: usize = description[4].replace("If true: throw to monkey", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_true`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_false`
[INFO] [stdout]   --> day11/mod.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let target_false: usize = description[5].replace("If false: throw to monkey", "").trim().to_string().parse::<usize>().unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_false`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> day11/mod.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn part_two(input: &str) -> usize {
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> day07/mod.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | struct Dir {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] 41 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Dir` has a derived impl for the trait `Clone`, 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: field `name` is never read
[INFO] [stdout]   --> day07/mod.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct File {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 48 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `File` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_dir` is never used
[INFO] [stdout]   --> day07/mod.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl Dir {
[INFO] [stdout]    | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn add_dir(&mut self, dir: Dir) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> day11/mod.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | impl Monkey {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 62 |     // TODO: pass constructor arguments
[INFO] [stdout] 63 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "eff4bb193af966c7530b11d9fe527a39d9f6453d676c1fc68942fb1dad089fc4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eff4bb193af966c7530b11d9fe527a39d9f6453d676c1fc68942fb1dad089fc4", kill_on_drop: false }`
[INFO] [stdout] eff4bb193af966c7530b11d9fe527a39d9f6453d676c1fc68942fb1dad089fc4
