[INFO] cloning repository https://github.com/iamorozov/advent2024-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamorozov/advent2024-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamorozov%2Fadvent2024-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamorozov%2Fadvent2024-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92fa0f6bdb0c724f0f8e7f371080498d3b29283f [INFO] testing iamorozov/advent2024-Rust against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamorozov%2Fadvent2024-Rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iamorozov/advent2024-Rust on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/iamorozov/advent2024-Rust [INFO] finished tweaking git repo https://github.com/iamorozov/advent2024-Rust [INFO] tweaked toml for git repo https://github.com/iamorozov/advent2024-Rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/iamorozov/advent2024-Rust 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f7742f9e6e2f431849202e3bdc5a99d0c42a4fbfb42a1162071df35ae05010e [INFO] running `Command { std: "docker" "start" "-a" "3f7742f9e6e2f431849202e3bdc5a99d0c42a4fbfb42a1162071df35ae05010e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f7742f9e6e2f431849202e3bdc5a99d0c42a4fbfb42a1162071df35ae05010e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f7742f9e6e2f431849202e3bdc5a99d0c42a4fbfb42a1162071df35ae05010e", kill_on_drop: false }` [INFO] [stdout] 3f7742f9e6e2f431849202e3bdc5a99d0c42a4fbfb42a1162071df35ae05010e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a035ec00f98985dc90ca506de8b9572a8d29e2006404934bcdf2a68f135341b [INFO] running `Command { std: "docker" "start" "-a" "3a035ec00f98985dc90ca506de8b9572a8d29e2006404934bcdf2a68f135341b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling tinyjson v2.5.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling const_format v0.2.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling lru v0.7.8 [INFO] [stderr] Compiling sscanf_macro v0.4.2 [INFO] [stderr] Compiling memoize-inner v0.4.3 [INFO] [stderr] Compiling memoize v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sscanf v0.4.2 [INFO] [stderr] Compiling advent_of_code v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/bin/18.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cmp::Ordering, collections::{BinaryHeap, HashMap, HashSet}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cmp::max` and `hash::Hash` [INFO] [stdout] --> src/bin/22.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::max, collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/25.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/bin/20.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/20.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut maze = get_char_matrix(input); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/20.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let mut maze = get_char_matrix(input); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `result` [INFO] [stdout] --> src/bin/24.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/24.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut gates: HashMap = input.lines().skip(p + 1) [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: `wires` [INFO] [stdout] --> src/bin/24.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | let (wires, gates) = get_wires_and_gates(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_wires` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/bin/15.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/bin/17.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/bin/16.rs:187:19 [INFO] [stdout] | [INFO] [stdout] 187 | .min_by_key(|(dir, (v, _))| *v) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [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/16.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | fn shortest_paths_tiles(mut map: Vec>) -> usize { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/17.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut A = sscanf::sscanf!(&lines[0], "Register A: {}", i64).unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/17.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut B = sscanf::sscanf!(&lines[1], "Register B: {}", i64).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/17.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut C = sscanf::sscanf!(&lines[2], "Register C: {}", i64).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut A = sscanf::sscanf!(&lines[0], "Register A: {}", i64).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut B = sscanf::sscanf!(&lines[1], "Register B: {}", i64).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut C = sscanf::sscanf!(&lines[2], "Register C: {}", i64).unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | fn eval(program: &Vec, mut A: i64, mut B: i64, mut C: i64) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | fn eval(program: &Vec, mut A: i64, mut B: i64, mut C: i64) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | fn eval(program: &Vec, mut A: i64, mut B: i64, mut C: i64) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | fn combo(operand: i64, A: i64, B: i64, C: i64) -> i64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn combo(operand: i64, A: i64, B: i64, C: i64) -> i64 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | fn combo(operand: i64, A: i64, B: i64, C: i64) -> i64 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/bin/17.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let A: i64 = factors.iter().enumerate().map(|(index, v)| v * 2i64.pow(3 * index as u32)).sum(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash`, `mem`, and `result` [INFO] [stdout] --> src/bin/19.rs:1:43 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::min, collections::HashSet, hash::Hash, mem, result}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/24-e690eef066d46617.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] failed to write `/opt/rustwide/target/debug/.fingerprint/advent_of_code-e690eef066d46617/dep-bin-24` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No space left on device (os error 28) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcCJsxKS/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsscanf-06156733251def86.rlib,libregex-3c353ed222058816.rlib,libregex_automata-26cfd9f65118ec9f.rlib,libaho_corasick-a76e93bf4ca86e00.rlib,libmemchr-7fdbb30fa2b61761.rlib,libregex_syntax-13fc688ae7f36982.rlib,liblazy_static-2bb390fee0230a38.rlib,libconst_format-5096ac5036fd33f7.rlib,libadvent_of_code-b54916742d8cec05.rlib,libtinyjson-87b36b98fde0e2bf.rlib,libitertools-81524015b6b5198d.rlib,libeither-38d43fea6173fdf6.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcCJsxKS/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/13-a90d08683dfdda7a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "13") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3a035ec00f98985dc90ca506de8b9572a8d29e2006404934bcdf2a68f135341b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a035ec00f98985dc90ca506de8b9572a8d29e2006404934bcdf2a68f135341b", kill_on_drop: false }` [INFO] [stdout] 3a035ec00f98985dc90ca506de8b9572a8d29e2006404934bcdf2a68f135341b