[INFO] cloning repository https://github.com/garethellis0/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/garethellis0/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarethellis0%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarethellis0%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c71403f3a9496c34c6faf323b54d33f9d2b3184d [INFO] building garethellis0/advent-of-code-2019 against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgarethellis0%2Fadvent-of-code-2019" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/garethellis0/advent-of-code-2019 on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/garethellis0/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/garethellis0/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/garethellis0/advent-of-code-2019 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/garethellis0/advent-of-code-2019 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30221cd2a515faf9dcdf41c2261fb3ff27543941c5a159a0cdbc1f65e48cac42 [INFO] running `Command { std: "docker" "start" "-a" "30221cd2a515faf9dcdf41c2261fb3ff27543941c5a159a0cdbc1f65e48cac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30221cd2a515faf9dcdf41c2261fb3ff27543941c5a159a0cdbc1f65e48cac42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30221cd2a515faf9dcdf41c2261fb3ff27543941c5a159a0cdbc1f65e48cac42", kill_on_drop: false }` [INFO] [stdout] 30221cd2a515faf9dcdf41c2261fb3ff27543941c5a159a0cdbc1f65e48cac42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail-expr-drop-order" "-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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f269b169bed2483ebae6948d6e2ac2a4cd118b8bc76740c10a40f7d698c208a [INFO] running `Command { std: "docker" "start" "-a" "0f269b169bed2483ebae6948d6e2ac2a4cd118b8bc76740c10a40f7d698c208a", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/day_1/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Write, BufReader, BufRead, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/bin/day_1/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day_1/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | while (current_fuel > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - while (current_fuel > 0) { [INFO] [stdout] 31 + while current_fuel > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_1/main.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 33 | if (current_fuel > 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - if (current_fuel > 0){ [INFO] [stdout] 33 + if current_fuel > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `itertools` [INFO] [stdout] --> src/bin/day_4/main.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day_2/main.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | while(i < data.len()){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - while(i < data.len()){ [INFO] [stdout] 35 + while i < data.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_2/main.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 58 | if (data[0] == 19690720){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 58 - if (data[0] == 19690720){ [INFO] [stdout] 58 + if data[0] == 19690720 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_1/main.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(mut i) => { [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: unused variable: `e` [INFO] [stdout] --> src/bin/day_1/main.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | Err(e) => println!("Int parsing failed"), [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: function `part1` is never used [INFO] [stdout] --> src/bin/day_1/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn part1(f: &File) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/bin/day_4/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Convert the given integer into an vector of integers [INFO] [stdout] 6 | | /// Example: `1234` -> `{1, 2, 3, 4}` [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | let mut result = Vec::new(); [INFO] [stdout] | ---------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/day_2/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | Err(e) => return Err(String::from("Int parsing failed!")), [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] error: internal compiler error: compiler/rustc_mir_build/src/builder/scope.rs:1724:17: cannot unwind from goto -> bb142 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] thread 'rustc' panicked at compiler/rustc_mir_build/src/builder/scope.rs:1724:17: [INFO] [stderr] Box [INFO] [stderr] stack backtrace: [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day_3/main.rs:96:51 [INFO] [stdout] | [INFO] [stdout] 96 | Orientation::UpDown => curr_cell.y += (segment.length), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - Orientation::UpDown => curr_cell.y += (segment.length), [INFO] [stdout] 96 + Orientation::UpDown => curr_cell.y += segment.length, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bin/day_3/main.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | Orientation::LeftRight => curr_cell.x += (segment.length), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - Orientation::LeftRight => curr_cell.x += (segment.length), [INFO] [stdout] 97 + Orientation::LeftRight => curr_cell.x += segment.length, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_3/main.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | if ((leftright.start_point.y > updown_min_y) && (leftright.start_point.y < updown_max_y)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 133 - if ((leftright.start_point.y > updown_min_y) && (leftright.start_point.y < updown_max_y)) { [INFO] [stdout] 133 + if (leftright.start_point.y > updown_min_y) && (leftright.start_point.y < updown_max_y) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_3/main.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | if ((updown.start_point.x > leftright_min_x) && (updown.start_point.x < leftright_max_x)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if ((updown.start_point.x > leftright_min_x) && (updown.start_point.x < leftright_max_x)) { [INFO] [stdout] 138 + if (updown.start_point.x > leftright_min_x) && (updown.start_point.x < leftright_max_x) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_3/main.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | if (path1 != path2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - if (path1 != path2) { [INFO] [stdout] 156 + if path1 != path2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/bin/day_3/main.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | while (length > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 194 - while (length > 0) { [INFO] [stdout] 194 + while length > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bin/day_3/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | if (wires_result.len() != wires.len()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 242 - if (wires_result.len() != wires.len()) { [INFO] [stdout] 242 + if wires_result.len() != wires.len() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 0: 0x764b34b81caa - ::fmt::h636462e57d5ef1e1 [INFO] [stderr] 1: 0x764b35213cbc - core::fmt::write::h067060808ac50eb9 [INFO] [stderr] 2: 0x764b36128e11 - std::io::Write::write_fmt::h4674fa2ed7c0dfdd [INFO] [stderr] 3: 0x764b34b81b02 - std::sys::backtrace::BacktraceLock::print::h0c77148acfb0b5e9 [INFO] [stderr] 4: 0x764b34b83ffa - std::panicking::default_hook::{{closure}}::h30daa8e7c6ccb09d [INFO] [stderr] 5: 0x764b34b83e43 - std::panicking::default_hook::h25f21dc0f2064615 [INFO] [stderr] 6: 0x764b33ceff28 - std[b36e883d67eb0403]::panicking::update_hook::>::{closure#0} [INFO] [stderr] 7: 0x764b34b847b8 - std::panicking::rust_panic_with_hook::hc98438687e833605 [INFO] [stderr] 8: 0x764b33d2a341 - std[b36e883d67eb0403]::panicking::begin_panic::::{closure#0} [INFO] [stderr] 9: 0x764b33d1f526 - std[b36e883d67eb0403]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stderr] 10: 0x764b33d1f50d - std[b36e883d67eb0403]::panicking::begin_panic:: [INFO] [stderr] 11: 0x764b33d342a1 - ::emit_producing_guarantee [INFO] [stderr] 12: 0x764b34284fdc - ::span_bug:: [INFO] [stderr] 13: 0x764b3430a897 - rustc_middle[8ad6e8ce52578819]::util::bug::opt_span_bug_fmt::::{closure#0} [INFO] [stderr] 14: 0x764b342f006a - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} [INFO] [stderr] 15: 0x764b342efefb - rustc_middle[8ad6e8ce52578819]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> [INFO] [stderr] 16: 0x764b32734437 - rustc_middle[8ad6e8ce52578819]::util::bug::span_bug_fmt:: [INFO] [stderr] 17: 0x764b35bd541b - ::build_unwind_tree [INFO] [stderr] 18: 0x764b35bcd7cd - rustc_mir_build[73684a27b88b946a]::builder::mir_build [INFO] [stderr] 19: 0x764b35207714 - rustc_mir_transform[857cd804783fef4d]::mir_built [INFO] [stderr] 20: 0x764b352076d7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 21: 0x764b354953d1 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 22: 0x764b35494f8d - rustc_query_impl[1e55094a59e290f4]::query_impl::mir_built::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 23: 0x764b32267185 - rustc_mir_build[73684a27b88b946a]::check_unsafety::check_unsafety [INFO] [stderr] 24: 0x764b35ae98a7 - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 25: 0x764b35ae9b69 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::, rustc_query_system[67781f9dc633c543]::dep_graph::graph::DepNodeIndex>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 26: 0x764b35ae97d1 - rustc_query_impl[1e55094a59e290f4]::query_impl::check_unsafety::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 27: 0x764b3569bd32 - rustc_interface[b59e7ee7606ca029]::passes::run_required_analyses [INFO] [stderr] 28: 0x764b3612cc9e - rustc_interface[b59e7ee7606ca029]::passes::analysis [INFO] [stderr] 29: 0x764b3612cc6f - rustc_query_impl[1e55094a59e290f4]::plumbing::__rust_begin_short_backtrace::> [INFO] [stderr] 30: 0x764b3617b355 - rustc_query_system[67781f9dc633c543]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[1e55094a59e290f4]::plumbing::QueryCtxt, false> [INFO] [stderr] 31: 0x764b3617b08e - rustc_query_impl[1e55094a59e290f4]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace [INFO] [stderr] 32: 0x764b361701de - rustc_interface[b59e7ee7606ca029]::passes::create_and_enter_global_ctxt::, rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}::{closure#2}>::{closure#2}::{closure#0} [INFO] [stderr] 33: 0x764b361dff51 - rustc_interface[b59e7ee7606ca029]::interface::run_compiler::<(), rustc_driver_impl[be5855d19ccc8b6c]::run_compiler::{closure#0}>::{closure#1} [INFO] [stderr] 34: 0x764b360f5087 - std[b36e883d67eb0403]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> [INFO] [stderr] 35: 0x764b360f551c - <::spawn_unchecked_::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()>::{closure#1} as core[303105738bd0c2ae]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] 36: 0x764b360f6aef - std::sys::pal::unix::thread::Thread::new::thread_start::ha554cc4ba6335b05 [INFO] [stderr] 37: 0x764b37912ac3 - [INFO] [stderr] 38: 0x764b379a3a04 - clone [INFO] [stderr] 39: 0x0 - [INFO] [stderr] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/bin/day_4/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_4/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let mut result = false; [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] [stderr] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stderr] [INFO] [stderr] note: please make sure that you have updated to the latest nightly [INFO] [stderr] [INFO] [stderr] warning: the ICE couldn't be written to `/opt/rustwide/workdir/rustc-ice-2025-01-01T00_02_26-22.txt`: Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] note: rustc 1.85.0-nightly (9b5e8b16b 2024-12-19) running on x86_64-unknown-linux-gnu [INFO] [stderr] [INFO] [stderr] note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 [INFO] [stderr] [INFO] [stderr] note: some of the compiler flags provided by cargo are hidden [INFO] [stderr] [INFO] [stderr] query stack during panic: [INFO] [stderr] #0 [mir_built] building MIR for `parseInstructionsAndData` [INFO] [stderr] #1 [check_unsafety] unsafety-checking `parseInstructionsAndData` [INFO] [stderr] #2 [analysis] running analysis passes on this crate [INFO] [stderr] end of query stack [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/day_2/main.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | Err(e) => Err(String::from("FAILED TO READ FILE!")), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "day_4") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `advent-of-code-2019` (bin "day_2"); 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/bin/rustc --crate-name day_2 --edition=2018 src/bin/day_2/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=b1308c172d88cb1c -C extra-filename=-a875d3db0883d3e5 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --cap-lints=forbid -Dtail-expr-drop-order` (exit status: 101) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/bin/day_3/main.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => return Err(format!("Failed to get length from: {}", length_str)) [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/bin/day_3/main.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | Err(e) => Err(String::from("Failed to open file")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhatten_distance` is never used [INFO] [stdout] --> src/bin/day_3/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn manhatten_distance(cell: &Cell) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closer_cell` is never used [INFO] [stdout] --> src/bin/day_3/main.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn closer_cell<'a>(cell1: &'a Cell, cell2: &'a Cell) -> &'a Cell { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segmentsIntersection` should have a snake case name [INFO] [stdout] --> src/bin/day_3/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn segmentsIntersection(seg1: &PathSegment, seg2: &PathSegment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `segments_intersection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findIntersections` should have a snake case name [INFO] [stdout] --> src/bin/day_3/main.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn findIntersections(paths: Vec<&Path>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_intersections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wireLengthToPoint` should have a snake case name [INFO] [stdout] --> src/bin/day_3/main.rs:189:4 [INFO] [stdout] | [INFO] [stdout] 189 | fn wireLengthToPoint(cell: &Cell, path: &Path) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `wire_length_to_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cumulativeWireLength` should have a snake case name [INFO] [stdout] --> src/bin/day_3/main.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn cumulativeWireLength(inter: &Intersection) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cumulative_wire_length` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f269b169bed2483ebae6948d6e2ac2a4cd118b8bc76740c10a40f7d698c208a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f269b169bed2483ebae6948d6e2ac2a4cd118b8bc76740c10a40f7d698c208a", kill_on_drop: false }` [INFO] [stdout] 0f269b169bed2483ebae6948d6e2ac2a4cd118b8bc76740c10a40f7d698c208a