[INFO] cloning repository https://github.com/samiskin/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samiskin/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamiskin%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamiskin%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cafba7475c1d047083870140b46491df395054f1 [INFO] testing samiskin/advent-of-code-2021 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamiskin%2Fadvent-of-code-2021" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/samiskin/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/samiskin/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/samiskin/advent-of-code-2021 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/samiskin/advent-of-code-2021 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/samiskin/advent-of-code-2021 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aafbdbf98b8ea7328d00c6140227d85fded39f6063f6c6f3b554c6b0857acc64 [INFO] running `Command { std: "docker" "start" "-a" "aafbdbf98b8ea7328d00c6140227d85fded39f6063f6c6f3b554c6b0857acc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aafbdbf98b8ea7328d00c6140227d85fded39f6063f6c6f3b554c6b0857acc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aafbdbf98b8ea7328d00c6140227d85fded39f6063f6c6f3b554c6b0857acc64", kill_on_drop: false }` [INFO] [stdout] aafbdbf98b8ea7328d00c6140227d85fded39f6063f6c6f3b554c6b0857acc64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 01ef5425ba9b98fab9cd82ee26f068543011a247fe0427952e01c39081bf1998 [INFO] running `Command { std: "docker" "start" "-a" "01ef5425ba9b98fab9cd82ee26f068543011a247fe0427952e01c39081bf1998", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `print_vec_multiline` is never used [INFO] [stdout] --> src/utils.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn print_vec_multiline(v: &Vec) where T: std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_to_str_multiline` is never used [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn vec_to_str_multiline(v: &Vec) -> String where T: std::fmt::Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bit_vec_to_num` is never used [INFO] [stdout] --> src/utils.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn bit_vec_to_num<'a>(bitvec: &'a [u8]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point3` is never constructed [INFO] [stdout] --> src/utils.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Point3 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Point3` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_arr`, `sub`, `add`, and `manhattan` are never used [INFO] [stdout] --> src/utils.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Point3 { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 92 | pub fn to_arr(&self) -> [i32; 3] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn sub(&self, rhs: &Point3) -> Point3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn add(&self, rhs: &Point3) -> Point3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn manhattan(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `transform_point` is never used [INFO] [stdout] --> src/utils.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn transform_point(p: Point3, mat: [[i32; 3]; 3]) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/utils.rs:130:10 [INFO] [stdout] | [INFO] [stdout] 130 | pub type Matrix = [[i32; 3]; 3]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mat_transpose` is never used [INFO] [stdout] --> src/utils.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn mat_transpose(mat: Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_dot` is never used [INFO] [stdout] --> src/utils.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn vec_dot(a: [i32; 3], b: [i32; 3]) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mat_mul` is never used [INFO] [stdout] --> src/utils.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn mat_mul(a: Matrix, b_orig: Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mat_pow` is never used [INFO] [stdout] --> src/utils.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn mat_pow(a: Matrix, n: usize) -> Matrix { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ID_MAT` is never used [INFO] [stdout] --> src/utils.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub static ID_MAT: Matrix = [[1, 0, 0], [0, 1, 0], [0, 0, 1]]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROT_90_X` is never used [INFO] [stdout] --> src/utils.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub static ROT_90_X: Matrix = [[1, 0, 0], [0, 0, -1], [0, 1, 0]]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROT_90_Y` is never used [INFO] [stdout] --> src/utils.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub static ROT_90_Y: Matrix = [[0, 0, 1], [0, 1, 0], [-1, 0, 0]]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ROT_90_Z` is never used [INFO] [stdout] --> src/utils.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub static ROT_90_Z: Matrix = [[0, -1, 0], [1, 0, 0], [0, 0, 1]]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PqState` is never constructed [INFO] [stdout] --> src/utils.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct PqState [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PqState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_shortest_path_grid` is never used [INFO] [stdout] --> src/utils.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_shortest_path_grid>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_points` and `set_all` are never used [INFO] [stdout] --> src/utils.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 288 | / impl Grid [INFO] [stdout] 289 | | where [INFO] [stdout] 290 | | T: Copy, [INFO] [stdout] | |____________- associated items in this implementation [INFO] [stdout] 291 | { [INFO] [stdout] 292 | pub fn from_points(points: Vec<((i32, i32), T)>, default: T) -> Grid { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn set_all(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotated` is never used [INFO] [stdout] --> src/utils.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 318 | / impl Grid [INFO] [stdout] 319 | | where [INFO] [stdout] 320 | | T: Default + Copy, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] 321 | { [INFO] [stdout] 322 | pub fn rotated(&self) -> Grid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryStreamIterator` is never constructed [INFO] [stdout] --> src/utils.rs:506:12 [INFO] [stdout] | [INFO] [stdout] 506 | pub struct BinaryStreamIterator<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinaryStreamIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `take`, and `next` are never used [INFO] [stdout] --> src/utils.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 511 | impl<'a> BinaryStreamIterator<'a> { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 512 | pub fn new(digits: &'a Vec) -> BinaryStreamIterator<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn take(&mut self, num_digits: usize) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn next(&mut self) -> u8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustchwjVF6/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustchwjVF6/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/advent_of_code_2021-20e353bc079f697b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2021` (bin "advent-of-code-2021") due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01ef5425ba9b98fab9cd82ee26f068543011a247fe0427952e01c39081bf1998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ef5425ba9b98fab9cd82ee26f068543011a247fe0427952e01c39081bf1998", kill_on_drop: false }` [INFO] [stdout] 01ef5425ba9b98fab9cd82ee26f068543011a247fe0427952e01c39081bf1998