[INFO] cloning repository https://github.com/dewaka/advent-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dewaka/advent-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 482a2681a9db22b1d7c3fb99b4350df30d6da76f [INFO] testing dewaka/advent-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dewaka/advent-rust [INFO] finished tweaking git repo https://github.com/dewaka/advent-rust [INFO] tweaked toml for git repo https://github.com/dewaka/advent-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dewaka/advent-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dewaka/advent-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/advent17/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded quick-error v1.2.1 [INFO] [stderr] Downloaded permutohedron v0.2.4 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] [stderr] Downloaded aho-corasick v0.6.4 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded itertools v0.7.8 [INFO] [stderr] Downloaded serde v1.0.34 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded libc v0.2.39 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded itoa v0.4.1 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded matrixmultiply v0.1.14 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62068cf419a0125a331843ea6915d6ea8c6ae358ecbe650fc28cfa8f570f9af1 [INFO] running `Command { std: "docker" "start" "-a" "62068cf419a0125a331843ea6915d6ea8c6ae358ecbe650fc28cfa8f570f9af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62068cf419a0125a331843ea6915d6ea8c6ae358ecbe650fc28cfa8f570f9af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62068cf419a0125a331843ea6915d6ea8c6ae358ecbe650fc28cfa8f570f9af1", kill_on_drop: false }` [INFO] [stdout] 62068cf419a0125a331843ea6915d6ea8c6ae358ecbe650fc28cfa8f570f9af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 68bb026e30aec4fec5c135c2c62d1b392a93ebd2b6236fe11df3baf11bed5733 [INFO] running `Command { std: "docker" "start" "-a" "68bb026e30aec4fec5c135c2c62d1b392a93ebd2b6236fe11df3baf11bed5733", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent17/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.34 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling advent17 v0.1.0 (/opt/rustwide/workdir/advent17) [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling advent16 v0.1.0 (/opt/rustwide/workdir/advent16) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent16/src/day4.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / lazy_static! { [INFO] [stdout] 76 | | static ref R_ENTRY: Regex = Regex::new(r"([a-z,-]*)-(\d+)\[(\w+)\]").unwrap(); [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim` that must be used [INFO] [stdout] --> advent16/src/day3.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ns.trim(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = ns.trim(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent15 v0.1.0 (/opt/rustwide/workdir/advent15) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day9.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref R_DISTANCE_SPEC: Regex = Regex::new(r"(\w+) to (\w+) = (\d+)").unwrap(); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day13.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / lazy_static! { [INFO] [stdout] 159 | | static ref R_GAIN: Regex = [INFO] [stdout] 160 | | Regex::new(r"(\w+) would gain (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Regex::new(r"(\w+) would lose (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day13.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / lazy_static! { [INFO] [stdout] 159 | | static ref R_GAIN: Regex = [INFO] [stdout] 160 | | Regex::new(r"(\w+) would gain (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Regex::new(r"(\w+) would lose (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day14.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref R_DESC: Regex = [INFO] [stdout] 65 | | Regex::new(r"(\w+) can fly (\d+) km/s for (\d+) seconds, but then must rest for (\d+) seconds.").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day15.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref R_ING: Regex = [INFO] [stdout] 65 | | Regex::new(r"(\w+): capacity (-?\d+), durability (-?\d+), flavor (-?\d+), texture (-?\d+), calories (-?\d+)").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day16.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / lazy_static! { [INFO] [stdout] 82 | | static ref R_PROPERTY: Regex = Regex::new(r"(\w+): (\d+)").unwrap(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day19.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / lazy_static! { [INFO] [stdout] 134 | | static ref R_RULE: Regex = Regex::new(r"(\w+) => (\w+)").unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> advent15/src/day15.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut rss = ration(num - n, slots - 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: field `name` is never read [INFO] [stdout] --> advent15/src/day14.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct Reindeer { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 39 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reindeer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `calories` are never read [INFO] [stdout] --> advent15/src/day15.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct Ingredient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 53 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | calories: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ingredient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> advent15/src/day16.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Aunt { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 60 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Aunt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lost`, `incur_damage`, `apply_healing`, `apply_armor`, `add_mana`, and `attack` are never used [INFO] [stdout] --> advent15/src/day22.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 155 | pub fn lost(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn incur_damage(&mut self, attack: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn apply_healing(&mut self, healing: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn apply_armor(&mut self, armor: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn add_mana(&mut self, mana: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spell` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Spell { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CastSpell` is never used [INFO] [stdout] --> advent15/src/day22.rs:201:7 [INFO] [stdout] | [INFO] [stdout] 201 | trait CastSpell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> advent15/src/day22.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl Spell { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 207 | fn can_damage(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn can_heal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn has_armor(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn has_mana(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn use_damage(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn use_healing(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn use_armor(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn use_mana(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `play` is never used [INFO] [stdout] --> advent15/src/day22.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.41s [INFO] running `Command { std: "docker" "inspect" "68bb026e30aec4fec5c135c2c62d1b392a93ebd2b6236fe11df3baf11bed5733", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68bb026e30aec4fec5c135c2c62d1b392a93ebd2b6236fe11df3baf11bed5733", kill_on_drop: false }` [INFO] [stdout] 68bb026e30aec4fec5c135c2c62d1b392a93ebd2b6236fe11df3baf11bed5733 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1972b65907adde2af9e6eb2e52b070a00c4cce798641b70aef90f14b44ffe23d [INFO] running `Command { std: "docker" "start" "-a" "1972b65907adde2af9e6eb2e52b070a00c4cce798641b70aef90f14b44ffe23d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/advent17/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling advent17 v0.1.0 (/opt/rustwide/workdir/advent17) [INFO] [stderr] Compiling advent16 v0.1.0 (/opt/rustwide/workdir/advent16) [INFO] [stderr] Compiling advent15 v0.1.0 (/opt/rustwide/workdir/advent15) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent16/src/day4.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | / lazy_static! { [INFO] [stdout] 76 | | static ref R_ENTRY: Regex = Regex::new(r"([a-z,-]*)-(\d+)\[(\w+)\]").unwrap(); [INFO] [stdout] 77 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day6.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / lazy_static! { [INFO] [stdout] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 111 | | static ref TURNON_REG: Regex = [INFO] [stdout] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stdout] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day7.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | / lazy_static! { [INFO] [stdout] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stdout] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day9.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / lazy_static! { [INFO] [stdout] 53 | | static ref R_DISTANCE_SPEC: Regex = Regex::new(r"(\w+) to (\w+) = (\d+)").unwrap(); [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day13.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / lazy_static! { [INFO] [stdout] 159 | | static ref R_GAIN: Regex = [INFO] [stdout] 160 | | Regex::new(r"(\w+) would gain (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Regex::new(r"(\w+) would lose (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day13.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / lazy_static! { [INFO] [stdout] 159 | | static ref R_GAIN: Regex = [INFO] [stdout] 160 | | Regex::new(r"(\w+) would gain (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 163 | | Regex::new(r"(\w+) would lose (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day14.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref R_DESC: Regex = [INFO] [stdout] 65 | | Regex::new(r"(\w+) can fly (\d+) km/s for (\d+) seconds, but then must rest for (\d+) seconds.").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day15.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / lazy_static! { [INFO] [stdout] 64 | | static ref R_ING: Regex = [INFO] [stdout] 65 | | Regex::new(r"(\w+): capacity (-?\d+), durability (-?\d+), flavor (-?\d+), texture (-?\d+), calories (-?\d+)").unwrap(); [INFO] [stdout] 66 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day16.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | / lazy_static! { [INFO] [stdout] 82 | | static ref R_PROPERTY: Regex = Regex::new(r"(\w+): (\d+)").unwrap(); [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> advent15/src/day19.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / lazy_static! { [INFO] [stdout] 134 | | static ref R_RULE: Regex = Regex::new(r"(\w+) => (\w+)").unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `core::str::::trim` that must be used [INFO] [stdout] --> advent16/src/day3.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | ns.trim(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = ns.trim(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> advent15/src/day15.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | let mut rss = ration(num - n, slots - 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: fields `name` and `calories` are never read [INFO] [stdout] --> advent15/src/day15.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct Ingredient { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 53 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | calories: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ingredient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Player` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Player` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `lost`, `incur_damage`, `apply_healing`, `apply_armor`, `add_mana`, and `attack` are never used [INFO] [stdout] --> advent15/src/day22.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 154 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 155 | pub fn lost(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn incur_damage(&mut self, attack: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn apply_healing(&mut self, healing: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn apply_armor(&mut self, armor: i32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn add_mana(&mut self, mana: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Spell` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Spell { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CastSpell` is never used [INFO] [stdout] --> advent15/src/day22.rs:201:7 [INFO] [stdout] | [INFO] [stdout] 201 | trait CastSpell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> advent15/src/day22.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl Spell { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 207 | fn can_damage(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | fn can_heal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | fn has_armor(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn has_mana(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn use_damage(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn use_healing(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn use_armor(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn use_mana(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Game` is never constructed [INFO] [stdout] --> advent15/src/day22.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | struct Game { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `play` is never used [INFO] [stdout] --> advent15/src/day22.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 297 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "1972b65907adde2af9e6eb2e52b070a00c4cce798641b70aef90f14b44ffe23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1972b65907adde2af9e6eb2e52b070a00c4cce798641b70aef90f14b44ffe23d", kill_on_drop: false }` [INFO] [stdout] 1972b65907adde2af9e6eb2e52b070a00c4cce798641b70aef90f14b44ffe23d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0a634b10baea82f6ebb2b61b1727177bedcb0c2bdef42961ae868d45315bab52 [INFO] running `Command { std: "docker" "start" "-a" "0a634b10baea82f6ebb2b61b1727177bedcb0c2bdef42961ae868d45315bab52", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/advent17/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent16/src/day4.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 75 | / lazy_static! { [INFO] [stderr] 76 | | static ref R_ENTRY: Regex = Regex::new(r"([a-z,-]*)-(\d+)\[(\w+)\]").unwrap(); [INFO] [stderr] 77 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `core::str::::trim` that must be used [INFO] [stderr] --> advent16/src/day3.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | ns.trim(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 37 | let _ = ns.trim(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `advent16` (bin "advent16" test) generated 2 warnings [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day6.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | / lazy_static! { [INFO] [stderr] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 111 | | static ref TURNON_REG: Regex = [INFO] [stderr] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stderr] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 115 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day6.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | / lazy_static! { [INFO] [stderr] 110 | | static ref TOGGLE_REG: Regex = Regex::new(r"toggle (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 111 | | static ref TURNON_REG: Regex = [INFO] [stderr] 112 | | Regex::new(r"turn on (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 113 | | static ref TURNOFF_REG: Regex = [INFO] [stderr] 114 | | Regex::new(r"turn off (\d{1,3}),(\d{1,3}) through (\d{1,3}),(\d{1,3})").unwrap(); [INFO] [stderr] 115 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day7.rs:446:5 [INFO] [stderr] | [INFO] [stderr] 446 | / lazy_static! { [INFO] [stderr] 447 | | static ref R_SET: Regex = Regex::new(r"(\w+) -> (\w+)").unwrap(); [INFO] [stderr] 448 | | static ref R_NOT: Regex = Regex::new(r"NOT (\w+) -> (\w+)").unwrap(); [INFO] [stderr] 449 | | static ref R_AND: Regex = Regex::new(r"(\w+) AND (\w+) -> (\w+)").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 452 | | static ref R_RSHIFT: Regex = Regex::new(r"(\w+) RSHIFT (\w+) -> (\w+)").unwrap(); [INFO] [stderr] 453 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day9.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | / lazy_static! { [INFO] [stderr] 53 | | static ref R_DISTANCE_SPEC: Regex = Regex::new(r"(\w+) to (\w+) = (\d+)").unwrap(); [INFO] [stderr] 54 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day13.rs:158:5 [INFO] [stderr] | [INFO] [stderr] 158 | / lazy_static! { [INFO] [stderr] 159 | | static ref R_GAIN: Regex = [INFO] [stderr] 160 | | Regex::new(r"(\w+) would gain (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 163 | | Regex::new(r"(\w+) would lose (\d+) happiness units by sitting next to (\w+).").unwrap(); [INFO] [stderr] 164 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day14.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | / lazy_static! { [INFO] [stderr] 64 | | static ref R_DESC: Regex = [INFO] [stderr] 65 | | Regex::new(r"(\w+) can fly (\d+) km/s for (\d+) seconds, but then must rest for (\d+) seconds.").unwrap(); [INFO] [stderr] 66 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day15.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | / lazy_static! { [INFO] [stderr] 64 | | static ref R_ING: Regex = [INFO] [stderr] 65 | | Regex::new(r"(\w+): capacity (-?\d+), durability (-?\d+), flavor (-?\d+), texture (-?\d+), calories (-?\d+)").unwrap(); [INFO] [stderr] 66 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day16.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | / lazy_static! { [INFO] [stderr] 82 | | static ref R_PROPERTY: Regex = Regex::new(r"(\w+): (\d+)").unwrap(); [INFO] [stderr] 83 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> advent15/src/day19.rs:133:5 [INFO] [stderr] | [INFO] [stderr] 133 | / lazy_static! { [INFO] [stderr] 134 | | static ref R_RULE: Regex = Regex::new(r"(\w+) => (\w+)").unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> advent15/src/day15.rs:145:17 [INFO] [stderr] | [INFO] [stderr] 145 | let mut rss = ration(num - n, slots - 1); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `calories` are never read [INFO] [stderr] --> advent15/src/day15.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 52 | struct Ingredient { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 53 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | calories: i32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ingredient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Player` is never constructed [INFO] [stderr] --> advent15/src/day22.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 146 | struct Player { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Player` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `lost`, `incur_damage`, `apply_healing`, `apply_armor`, `add_mana`, and `attack` are never used [INFO] [stderr] --> advent15/src/day22.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 154 | impl Player { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] 155 | pub fn lost(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 159 | pub fn incur_damage(&mut self, attack: i32) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 170 | pub fn apply_healing(&mut self, healing: i32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 175 | pub fn apply_armor(&mut self, armor: i32) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn add_mana(&mut self, mana: i32) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Spell` is never constructed [INFO] [stderr] --> advent15/src/day22.rs:192:8 [INFO] [stderr] | [INFO] [stderr] 192 | struct Spell { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Spell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: trait `CastSpell` is never used [INFO] [stderr] --> advent15/src/day22.rs:201:7 [INFO] [stderr] | [INFO] [stderr] 201 | trait CastSpell { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> advent15/src/day22.rs:207:8 [INFO] [stderr] | [INFO] [stderr] 206 | impl Spell { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] 207 | fn can_damage(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 210 | fn can_heal(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 213 | fn has_armor(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | fn has_mana(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 220 | fn use_damage(&mut self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | fn use_healing(&mut self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 238 | fn use_armor(&mut self) -> i32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 247 | fn use_mana(&mut self) -> i32 { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Game` is never constructed [INFO] [stderr] --> advent15/src/day22.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | struct Game { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Game` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `play` is never used [INFO] [stderr] --> advent15/src/day22.rs:298:12 [INFO] [stderr] | [INFO] [stderr] 297 | impl Game { [INFO] [stderr] | --------- method in this implementation [INFO] [stdout] [INFO] [stderr] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stdout] running 36 tests [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent15` (bin "advent15" test) generated 25 warnings (7 duplicates) (run `cargo fix --bin "advent15" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/advent15-16fea5c283104a75) [INFO] [stdout] test day10::test_examples ... ok [INFO] [stdout] test day10::test_series_parsing ... ok [INFO] [stdout] test day12::test_calculate ... ok [INFO] [stdout] test day14::test_fastest_computation ... ok [INFO] [stdout] test day11::test_valid_passwords ... ok [INFO] [stdout] test day15::test_calculate_example ... ok [INFO] [stdout] test day13::test_example_arrangement ... ok [INFO] [stdout] test day17::test_count_ways_example ... ok [INFO] [stdout] test day19::test_split_matches ... ok [INFO] [stdout] test day18::test_ndarray ... ok [INFO] [stdout] test day15::test_calculate_optimal_example ... ok [INFO] [stdout] test day21::test_example_winner ... ok [INFO] [stdout] test day19::test_unique_replacements ... ok [INFO] [stdout] test day21::test_parse_armor ... ok [INFO] [stdout] test day21::test_parse_hit_points ... ok [INFO] [stdout] test day21::test_parse_damage ... ok [INFO] [stdout] test day22::test_example ... ok [INFO] [stdout] test day2::test_aggregate ... ok [INFO] [stdout] test day2::test_examples ... ok [INFO] [stdout] test day20::test_given_elves_delivery ... ok [INFO] [stdout] test day3::test_examples ... ok [INFO] [stdout] test day8::test_example ... ok [INFO] [stdout] test day5::test_examples ... ok [INFO] [stdout] test day6::test_parse_toggle ... ok [INFO] [stdout] test day16::test_parse_info ... ok [INFO] [stdout] test day16::test_parse_aunt ... ok [INFO] [stdout] test day6::test_parse_turnon ... ok [INFO] [stdout] test day6::test_parse_turnoff ... ok [INFO] [stdout] test day9::test_parse_distance_spec ... ok [INFO] [stdout] test day14::test_parse_reindeer ... ok [INFO] [stdout] test day15::test_parsing_ingredients ... ok [INFO] [stdout] test day7::test_gates1 ... ok [INFO] [stdout] test day13::test_parsing_happiness_desc ... ok [INFO] [stdout] test day7::test_gates2 ... ok [INFO] [stdout] test day11::test_example ... ok [INFO] [stdout] test day4::test_examples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.41s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/advent16-4e5a28002630d1da) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test day1::test_examples ... ok [INFO] [stdout] test day2::test_example ... ok [INFO] [stdout] test day1::test_parse_side ... ok [INFO] [stdout] test day3::test_parse_triangle ... ok [INFO] [stdout] test day3::test_valid_triangle ... ok [INFO] [stdout] test day2::test_pos_to_digit ... ok [INFO] [stdout] test day4::test_calculate_checksum ... ok [INFO] [stdout] test day2::test_move_pos ... ok [INFO] [stdout] test day7::test_ip_from_string ... ok [INFO] [stdout] test day7::test_valid_annotation ... ok [INFO] [stdout] test day7::test_valid_ip ... ok [INFO] [stdout] test day6::test_example ... ok [INFO] [stdout] test day4::test_parse_entry ... ok [INFO] [stdout] test day5::test_examples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 32.59s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/advent17-3fb56b66cf225876) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a634b10baea82f6ebb2b61b1727177bedcb0c2bdef42961ae868d45315bab52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a634b10baea82f6ebb2b61b1727177bedcb0c2bdef42961ae868d45315bab52", kill_on_drop: false }` [INFO] [stdout] 0a634b10baea82f6ebb2b61b1727177bedcb0c2bdef42961ae868d45315bab52