[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 try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAugustinLF%2Fadvent-of-code-2018" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AugustinLF/advent-of-code-2018 on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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/source/Cargo.toml
[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: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9c7cebe6c3fa9db43d4b2f23309e0606e097b7fd58affebdc355764c421dcf9a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9c7cebe6c3fa9db43d4b2f23309e0606e097b7fd58affebdc355764c421dcf9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9c7cebe6c3fa9db43d4b2f23309e0606e097b7fd58affebdc355764c421dcf9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c7cebe6c3fa9db43d4b2f23309e0606e097b7fd58affebdc355764c421dcf9a", kill_on_drop: false }`
[INFO] [stdout] 9c7cebe6c3fa9db43d4b2f23309e0606e097b7fd58affebdc355764c421dcf9a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d1606f186ee748fc9ca5932547840bbda3cefcca2c7954fc3161835d1fe37bf1
[INFO] running `Command { std: "docker" "start" "-a" "d1606f186ee748fc9ca5932547840bbda3cefcca2c7954fc3161835d1fe37bf1", kill_on_drop: false }`
[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] error: lifetime parameter `'a` never used
[INFO] [stdout]   --> src/ex4.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn rec_get_guards_presence<'a>(
[INFO] [stdout]    |                           -^^- help: elide the unused lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime parameter `'a` never used
[INFO] [stdout]   --> src/ex4.rs:48:28
[INFO] [stdout]    |
[INFO] [stdout] 48 | fn rec_get_guards_presence<'a>(
[INFO] [stdout]    |                           -^^- help: elide the unused lifetime
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[deny(unused_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `generate_frequency`
[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 is never used: `from_string_to_frequencies`
[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 is never used: `solve_exercise`
[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 is never used: `find_repeated_frequency`
[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 is never used: `get_product_checksum`
[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 is never used: `calculate_checksum`
[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 is never used: `are_ids_similar`
[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 is never used: `get_ids`
[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 is never used: `find_base_id`
[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 is never used: `solve_exercise_1`
[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 is never used: `solve_exercise_2`
[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: function is never used: `parse_claim`
[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 is never used: `set_covered_fabric`
[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 is never used: `get_covered_fabric_for_claims`
[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 is never used: `find_fabric_for_claims`
[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 never used: `is_claim_overlapped`
[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 is never used: `find_claim_with_no_overlap`
[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 is never used: `solve_exercise_2`
[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 is never used: `solve_exercise_1`
[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: variant is never constructed: `NewGuard`
[INFO] [stdout]  --> src/ex4.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     NewGuard(u16), // id
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `WakesUp`
[INFO] [stdout]  --> src/ex4.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     WakesUp,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `FallsAsleep`
[INFO] [stdout]   --> src/ex4.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     FallsAsleep,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `parse_record`
[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 is never used: `GuardPresence`
[INFO] [stdout]   --> src/ex4.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | type GuardPresence = HashMap<NaiveDateTime, bool>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias is never used: `Presences`
[INFO] [stdout]   --> src/ex4.rs:46:1
[INFO] [stdout]    |
[INFO] [stdout] 46 | type Presences = HashMap<u16, GuardPresence>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `rec_get_guards_presence`
[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 is never used: `get_presence_from_input`
[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 is never used: `get_sleepiest_guard_minute`
[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 is never used: `get_sleepiest_guards_minute`
[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 is never used: `get_most_likely_alseep_minute`
[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 is never used: `exercise_4_1`
[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 is never used: `exercise_4_2`
[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 is never used: `react_polymer_from_string`
[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 is never used: `polymer_react_once`
[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 is never used: `polymer_react`
[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 is never used: `exercise_5_1`
[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 is never used: `remove_unit_and_react_polymer`
[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 is never used: `exercise_5_2`
[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] [stdout] error: aborting due to previous error; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2018` due to 2 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "d1606f186ee748fc9ca5932547840bbda3cefcca2c7954fc3161835d1fe37bf1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1606f186ee748fc9ca5932547840bbda3cefcca2c7954fc3161835d1fe37bf1", kill_on_drop: false }`
[INFO] [stdout] d1606f186ee748fc9ca5932547840bbda3cefcca2c7954fc3161835d1fe37bf1