[INFO] cloning repository https://github.com/MohamedOuhami/AdventOfCode2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MohamedOuhami/AdventOfCode2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedOuhami%2FAdventOfCode2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedOuhami%2FAdventOfCode2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c74a2f1dd8531dc1add84e4a0e6d5eb9c5a66888 [INFO] checking MohamedOuhami/AdventOfCode2024 against master#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMohamedOuhami%2FAdventOfCode2024" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MohamedOuhami/AdventOfCode2024 [INFO] finished tweaking git repo https://github.com/MohamedOuhami/AdventOfCode2024 [INFO] tweaked toml for git repo https://github.com/MohamedOuhami/AdventOfCode2024 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MohamedOuhami/AdventOfCode2024 on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MohamedOuhami/AdventOfCode2024 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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f12fed2f9bfb63ac7657f6c10485e4ab7cf2b9ccee8d9a1bb970c35d112c0f5 [INFO] running `Command { std: "docker" "start" "-a" "3f12fed2f9bfb63ac7657f6c10485e4ab7cf2b9ccee8d9a1bb970c35d112c0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f12fed2f9bfb63ac7657f6c10485e4ab7cf2b9ccee8d9a1bb970c35d112c0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f12fed2f9bfb63ac7657f6c10485e4ab7cf2b9ccee8d9a1bb970c35d112c0f5", kill_on_drop: false }` [INFO] [stdout] 3f12fed2f9bfb63ac7657f6c10485e4ab7cf2b9ccee8d9a1bb970c35d112c0f5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d1854dc03765f0934cfe87e368edd45e8bdbc94b79d6c80b8f493f81796caee [INFO] running `Command { std: "docker" "start" "-a" "3d1854dc03765f0934cfe87e368edd45e8bdbc94b79d6c80b8f493f81796caee", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking aoc_with_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `path::Iter` and `string` [INFO] [stdout] --> src/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, path::Iter, string}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Iter` and `string` [INFO] [stdout] --> src/day2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fs, path::Iter, string}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data_from_file` is never used [INFO] [stdout] --> src/day1_rust.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn read_data_from_file() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance` is never used [INFO] [stdout] --> src/day1_rust.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn calculate_distance() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_similarity` is never used [INFO] [stdout] --> src/day1_rust.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_similarity(value: i32, loc_ids: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_similarity` is never used [INFO] [stdout] --> src/day1_rust.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn test_similarity() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/day2.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn get_data() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_result` is never used [INFO] [stdout] --> src/day2.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch_result() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_safety` is never used [INFO] [stdout] --> src/day2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_safety(report: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sorted` is never used [INFO] [stdout] --> src/day2.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_sorted(report: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sorted_for_loops` is never used [INFO] [stdout] --> src/day2.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_sorted_for_loops(report: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_diff` is never used [INFO] [stdout] --> src/day2.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn check_diff(report: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_safety` is never used [INFO] [stdout] --> src/day2.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn test_safety() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_data_from_file` is never used [INFO] [stdout] --> src/day1_rust.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn read_data_from_file() -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_distance` is never used [INFO] [stdout] --> src/day1_rust.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn calculate_distance() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_similarity` is never used [INFO] [stdout] --> src/day1_rust.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn calculate_similarity(value: i32, loc_ids: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_similarity` is never used [INFO] [stdout] --> src/day1_rust.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn test_similarity() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data` is never used [INFO] [stdout] --> src/day2.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn get_data() -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_result` is never used [INFO] [stdout] --> src/day2.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch_result() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_safety` is never used [INFO] [stdout] --> src/day2.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn check_safety(report: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sorted` is never used [INFO] [stdout] --> src/day2.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn check_sorted(report: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_sorted_for_loops` is never used [INFO] [stdout] --> src/day2.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_sorted_for_loops(report: Vec) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_diff` is never used [INFO] [stdout] --> src/day2.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn check_diff(report: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_safety` is never used [INFO] [stdout] --> src/day2.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn test_safety() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "3d1854dc03765f0934cfe87e368edd45e8bdbc94b79d6c80b8f493f81796caee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1854dc03765f0934cfe87e368edd45e8bdbc94b79d6c80b8f493f81796caee", kill_on_drop: false }` [INFO] [stdout] 3d1854dc03765f0934cfe87e368edd45e8bdbc94b79d6c80b8f493f81796caee