[INFO] cloning repository https://github.com/kpouer/AoC2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kpouer/AoC2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpouer%2FAoC2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpouer%2FAoC2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c7fccfe1bfa4597f95bae4a1a48014af355a2fd [INFO] checking kpouer/AoC2024 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkpouer%2FAoC2024" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kpouer/AoC2024 on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kpouer/AoC2024 [INFO] finished tweaking git repo https://github.com/kpouer/AoC2024 [INFO] tweaked toml for git repo https://github.com/kpouer/AoC2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kpouer/AoC2024 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e65bd63bccd1272292c14bebe202cb5a0353a459ebad45c9d0e99fc106cee138 [INFO] running `Command { std: "docker" "start" "-a" "e65bd63bccd1272292c14bebe202cb5a0353a459ebad45c9d0e99fc106cee138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e65bd63bccd1272292c14bebe202cb5a0353a459ebad45c9d0e99fc106cee138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e65bd63bccd1272292c14bebe202cb5a0353a459ebad45c9d0e99fc106cee138", kill_on_drop: false }` [INFO] [stdout] e65bd63bccd1272292c14bebe202cb5a0353a459ebad45c9d0e99fc106cee138 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be21d1e56610afb4e53261e42559ea9dcae9d325147e3c94094e239a7485f8df [INFO] running `Command { std: "docker" "start" "-a" "be21d1e56610afb4e53261e42559ea9dcae9d325147e3c94094e239a7485f8df", kill_on_drop: false }` [INFO] [stderr] Checking AoC2024 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/days/day2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/days/day3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/days/day3.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/days/day3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/d3/operation.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | let a = tokens[0].parse::().map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/d3/operation.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | let b = tokens[1].parse::().map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/d3/operation.rs:19:55 [INFO] [stdout] | [INFO] [stdout] 19 | let a = tokens[0].parse::().map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/days/d3/operation.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | let b = tokens[1].parse::().map_err(|e| ())?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> src/days/d3/operation.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Operation { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub(crate) a: i32, [INFO] [stdout] | ^ [INFO] [stdout] 4 | pub(crate) b: i32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has a derived impl for the trait `Default`, 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: method `compute` is never used [INFO] [stdout] --> src/days/d3/operation.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Operation { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 8 | pub(crate) fn compute(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1` is never used [INFO] [stdout] --> src/days/day1.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn day1() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_part2` is never used [INFO] [stdout] --> src/days/day1.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn day1_part2() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_tokens` is never used [INFO] [stdout] --> src/days/day1.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn count_tokens(list: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day2` is never used [INFO] [stdout] --> src/days/day2.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn day2() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day3` is never used [INFO] [stdout] --> src/days/day3.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn day3() -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1` is never used [INFO] [stdout] --> src/days/day1.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn day1() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day1_part2` is never used [INFO] [stdout] --> src/days/day1.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn day1_part2() -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_tokens` is never used [INFO] [stdout] --> src/days/day1.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn count_tokens(list: &Vec) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "be21d1e56610afb4e53261e42559ea9dcae9d325147e3c94094e239a7485f8df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be21d1e56610afb4e53261e42559ea9dcae9d325147e3c94094e239a7485f8df", kill_on_drop: false }` [INFO] [stdout] be21d1e56610afb4e53261e42559ea9dcae9d325147e3c94094e239a7485f8df