[INFO] cloning repository https://github.com/AugustinLF/advent-of-code-2018
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AugustinLF/advent-of-code-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2018", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2018'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e044149b10f60cca4656a7acf1acd2ccf9e88f1
[INFO] checking AugustinLF/advent-of-code-2018 against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2018" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AugustinLF/advent-of-code-2018
[INFO] finished tweaking git repo https://github.com/AugustinLF/advent-of-code-2018
[INFO] tweaked toml for git repo https://github.com/AugustinLF/advent-of-code-2018 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AugustinLF/advent-of-code-2018 on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AugustinLF/advent-of-code-2018 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.6
[INFO] [stderr]   Downloaded num-integer v0.1.39
[INFO] [stderr]   Downloaded redox_syscall v0.1.50
[INFO] [stderr]   Downloaded time v0.1.41
[INFO] [stderr]   Downloaded libc v0.2.46
[INFO] [stderr]   Downloaded chrono v0.4.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 135c65e659820c6f6b7e822f984fcd67cc27f065aa85edc561551d6c26f503c6
[INFO] running `Command { std: "docker" "start" "-a" "135c65e659820c6f6b7e822f984fcd67cc27f065aa85edc561551d6c26f503c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "135c65e659820c6f6b7e822f984fcd67cc27f065aa85edc561551d6c26f503c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "135c65e659820c6f6b7e822f984fcd67cc27f065aa85edc561551d6c26f503c6", kill_on_drop: false }`
[INFO] [stdout] 135c65e659820c6f6b7e822f984fcd67cc27f065aa85edc561551d6c26f503c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97cd0dc5ccd486b22530944acbb84cbd20517523920cf78ef4a962e6ae69b2dc
[INFO] running `Command { std: "docker" "start" "-a" "97cd0dc5ccd486b22530944acbb84cbd20517523920cf78ef4a962e6ae69b2dc", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]     Checking time v0.1.41
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking advent-of-code-2018 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `generate_frequency` is never used
[INFO] [stdout]  --> src/ex1.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn generate_frequency(initial_frequency: i32, mut input: Vec<i32>) -> i32 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_string_to_frequencies` is never used
[INFO] [stdout]   --> src/ex1.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn from_string_to_frequencies(content: String) -> Vec<i32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_exercise` is never used
[INFO] [stdout]   --> src/ex1.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn solve_exercise(process: fn(i32, Vec<i32>) -> i32) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_repeated_frequency` is never used
[INFO] [stdout]   --> src/ex1.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn find_repeated_frequency(base_frequency: i32, input: Vec<i32>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_product_checksum` is never used
[INFO] [stdout]  --> src/ex2.rs:4:4
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn get_product_checksum(id: &str) -> (i32, i32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_checksum` is never used
[INFO] [stdout]   --> src/ex2.rs:25:4
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn calculate_checksum(ids: Vec<String>) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `are_ids_similar` is never used
[INFO] [stdout]   --> src/ex2.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn are_ids_similar<'a>(first: &'a str, second: &'a str) -> Option<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ids` is never used
[INFO] [stdout]   --> src/ex2.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn get_ids() -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_base_id` is never used
[INFO] [stdout]   --> src/ex2.rs:67:4
[INFO] [stdout]    |
[INFO] [stdout] 67 | fn find_base_id(mut ids: Vec<String>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_exercise_1` is never used
[INFO] [stdout]   --> src/ex2.rs:81:8
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub fn solve_exercise_1() -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_exercise_2` is never used
[INFO] [stdout]   --> src/ex2.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub fn solve_exercise_2() -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claim` is never constructed
[INFO] [stdout]  --> src/ex3.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Claim<'a> {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_claim` is never used
[INFO] [stdout]   --> src/ex3.rs:17:4
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn parse_claim<'a>(claim: &'a str) -> Claim<'a> {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_covered_fabric` is never used
[INFO] [stdout]   --> src/ex3.rs:46:4
[INFO] [stdout]    |
[INFO] [stdout] 46 | fn set_covered_fabric(claim: &Claim, fabric: &mut HashMap<String, u16>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_covered_fabric_for_claims` is never used
[INFO] [stdout]   --> src/ex3.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn get_covered_fabric_for_claims(claims: &mut Vec<Claim>) -> HashMap<String, u16> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_fabric_for_claims` is never used
[INFO] [stdout]   --> src/ex3.rs:68:4
[INFO] [stdout]    |
[INFO] [stdout] 68 | fn find_fabric_for_claims(mut claims: Vec<Claim>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_claim_overlapped` is never used
[INFO] [stdout]   --> src/ex3.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn is_claim_overlapped(claim: &Claim, fabric: &HashMap<String, u16>) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_claim_with_no_overlap` is never used
[INFO] [stdout]   --> src/ex3.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn find_claim_with_no_overlap<'a>(mut claims: Vec<Claim<'a>>) -> &'a str {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_exercise_2` is never used
[INFO] [stdout]    --> src/ex3.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn solve_exercise_2() -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_exercise_1` is never used
[INFO] [stdout]    --> src/ex3.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn solve_exercise_1() -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RecordType` is never used
[INFO] [stdout]  --> src/ex4.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum RecordType {
[INFO] [stdout]   |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Record` is never constructed
[INFO] [stdout]   --> src/ex4.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Record {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_record` is never used
[INFO] [stdout]   --> src/ex4.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn parse_record<'a>(input: &'a str) -> Record {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `GuardPresence` is never used
[INFO] [stdout]   --> src/ex4.rs:45:6
[INFO] [stdout]    |
[INFO] [stdout] 45 | type GuardPresence = HashMap<NaiveDateTime, bool>;
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Presences` is never used
[INFO] [stdout]   --> src/ex4.rs:46:6
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Presences = HashMap<u16, GuardPresence>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rec_get_guards_presence` is never used
[INFO] [stdout]   --> src/ex4.rs:48:4
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn rec_get_guards_presence<'a>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_presence_from_input` is never used
[INFO] [stdout]   --> src/ex4.rs:94:4
[INFO] [stdout]    |
[INFO] [stdout] 94 | fn get_presence_from_input(input: &str) -> Presences {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sleepiest_guard_minute` is never used
[INFO] [stdout]    --> src/ex4.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn get_sleepiest_guard_minute(guard_presence: &GuardPresence) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_sleepiest_guards_minute` is never used
[INFO] [stdout]    --> src/ex4.rs:116:4
[INFO] [stdout]     |
[INFO] [stdout] 116 | fn get_sleepiest_guards_minute(input: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_most_likely_alseep_minute` is never used
[INFO] [stdout]    --> src/ex4.rs:151:4
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn get_most_likely_alseep_minute(input: &str) -> u32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exercise_4_1` is never used
[INFO] [stdout]    --> src/ex4.rs:176:8
[INFO] [stdout]     |
[INFO] [stdout] 176 | pub fn exercise_4_1() -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exercise_4_2` is never used
[INFO] [stdout]    --> src/ex4.rs:181:8
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub fn exercise_4_2() -> u32 {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `react_polymer_from_string` is never used
[INFO] [stdout]  --> src/ex5.rs:5:4
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn react_polymer_from_string(polymer: &str) -> LinkedList<char> {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polymer_react_once` is never used
[INFO] [stdout]   --> src/ex5.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn polymer_react_once(mut polymer: LinkedList<char>) -> LinkedList<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polymer_react` is never used
[INFO] [stdout]   --> src/ex5.rs:34:4
[INFO] [stdout]    |
[INFO] [stdout] 34 | fn polymer_react(mut polymer: LinkedList<char>) -> LinkedList<char> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exercise_5_1` is never used
[INFO] [stdout]   --> src/ex5.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn exercise_5_1() -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_unit_and_react_polymer` is never used
[INFO] [stdout]   --> src/ex5.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn remove_unit_and_react_polymer(polymer: &str, unit_to_remove: char) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exercise_5_2` is never used
[INFO] [stdout]   --> src/ex5.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn exercise_5_2() -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.79s
[INFO] running `Command { std: "docker" "inspect" "97cd0dc5ccd486b22530944acbb84cbd20517523920cf78ef4a962e6ae69b2dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97cd0dc5ccd486b22530944acbb84cbd20517523920cf78ef4a962e6ae69b2dc", kill_on_drop: false }`
[INFO] [stdout] 97cd0dc5ccd486b22530944acbb84cbd20517523920cf78ef4a962e6ae69b2dc
