[INFO] cloning repository https://github.com/Alexamakans/advent-of-code-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alexamakans/advent-of-code-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexamakans%2Fadvent-of-code-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexamakans%2Fadvent-of-code-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69b93a6bb8bbe237e2b89eb7ef28a59a57ee2f27 [INFO] checking Alexamakans/advent-of-code-rust against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexamakans%2Fadvent-of-code-rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Alexamakans/advent-of-code-rust [INFO] finished tweaking git repo https://github.com/Alexamakans/advent-of-code-rust [INFO] tweaked toml for git repo https://github.com/Alexamakans/advent-of-code-rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Alexamakans/advent-of-code-rust on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Alexamakans/advent-of-code-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cbd1469fbcb7104cf362cdccfaf8ec672bfe0df511870d0cc32342186ee2ea0 [INFO] running `Command { std: "docker" "start" "-a" "3cbd1469fbcb7104cf362cdccfaf8ec672bfe0df511870d0cc32342186ee2ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cbd1469fbcb7104cf362cdccfaf8ec672bfe0df511870d0cc32342186ee2ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbd1469fbcb7104cf362cdccfaf8ec672bfe0df511870d0cc32342186ee2ea0", kill_on_drop: false }` [INFO] [stdout] 3cbd1469fbcb7104cf362cdccfaf8ec672bfe0df511870d0cc32342186ee2ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 703c48646f977c1a7700bd650d370b73ae0a5256a50910c74e0c99e1c9868cf0 [INFO] running `Command { std: "docker" "start" "-a" "703c48646f977c1a7700bd650d370b73ae0a5256a50910c74e0c99e1c9868cf0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling rustix v0.38.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking linux-raw-sys v0.4.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking clap_builder v4.4.6 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking clap v4.4.6 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking advent-of-code-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/twothousandtwentythree/day8/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/twothousandtwentythree/day12/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/twothousandtwentythree/day14/mod.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/twothousandtwentythree/day16/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/twothousandtwentythree/day17/mod.rs:2:40 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BinaryHeap, HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/twothousandtwentythree/day17/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut nodes_visited = 0; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes_visited` [INFO] [stdout] --> src/twothousandtwentythree/day17/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let mut nodes_visited = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes_visited` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/utils/crypto/md5.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let mut f = 0_u32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `g` is never read [INFO] [stdout] --> src/utils/crypto/md5.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let mut g = 0_usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f` is never read [INFO] [stdout] --> src/utils/crypto/md5.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let mut f = 0_u32; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `g` is never read [INFO] [stdout] --> src/utils/crypto/md5.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | let mut g = 0_usize; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/parsing.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | ($(iter.next().and_then(|word| word.parse::<$x>().ok()).unwrap(),) *) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/twothousandfifteen/day9/mod.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | let parsed = scanf!( [INFO] [stdout] | ______________________- [INFO] [stdout] 135 | | line, [INFO] [stdout] 136 | | char::is_whitespace, [INFO] [stdout] 137 | | String, // A [INFO] [stdout] ... | [INFO] [stdout] 141 | | u32 // 123 [INFO] [stdout] 142 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `scanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/parsing.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | ($(iter.next().and_then(|word| word.parse::<$x>().ok()).unwrap(),) *) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/twothousandfifteen/day13/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | scanf!(modified, ",", String, i32, String) [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/parsing.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | ($(iter.next().and_then(|word| word.parse::<$x>().ok()).unwrap(),) *) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/twothousandfifteen/day14/mod.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let parts = scanf!( [INFO] [stdout] | _____________________- [INFO] [stdout] 97 | | value, " ", String, String, String, u32, String, String, u32, String, String, String, [INFO] [stdout] 98 | | String, String, String, u32, String [INFO] [stdout] 99 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/utils/parsing.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | ($(iter.next().and_then(|word| word.parse::<$x>().ok()).unwrap(),) *) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/twothousandfifteen/day15/mod.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let parts = scanf!( [INFO] [stdout] | _____________________- [INFO] [stdout] 114 | | &modified, " ", String, String, i64, String, i64, String, i64, String, i64, String, i64 [INFO] [stdout] 115 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `scanf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-rust` (lib) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "703c48646f977c1a7700bd650d370b73ae0a5256a50910c74e0c99e1c9868cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "703c48646f977c1a7700bd650d370b73ae0a5256a50910c74e0c99e1c9868cf0", kill_on_drop: false }` [INFO] [stdout] 703c48646f977c1a7700bd650d370b73ae0a5256a50910c74e0c99e1c9868cf0