[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] checking dewaka/advent-rust/482a2681a9db22b1d7c3fb99b4350df30d6da76f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dewaka/advent-rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/advent17/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] [stderr] Downloaded matrixmultiply v0.1.14 [INFO] [stderr] Downloaded serde v1.0.34 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded md5 v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b40ce56f6df78011ba5b3fb4804e0c34023153fa7a0fc9dced9abecf211d1cd6 [INFO] running `Command { std: "docker" "start" "-a" "b40ce56f6df78011ba5b3fb4804e0c34023153fa7a0fc9dced9abecf211d1cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b40ce56f6df78011ba5b3fb4804e0c34023153fa7a0fc9dced9abecf211d1cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40ce56f6df78011ba5b3fb4804e0c34023153fa7a0fc9dced9abecf211d1cd6", kill_on_drop: false }` [INFO] [stdout] b40ce56f6df78011ba5b3fb4804e0c34023153fa7a0fc9dced9abecf211d1cd6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae0cd9128c0d45bc901cc2c6e69c4f2206552c8c616e0c9f8ebc032f4a1bc846 [INFO] running `Command { std: "docker" "start" "-a" "ae0cd9128c0d45bc901cc2c6e69c4f2206552c8c616e0c9f8ebc032f4a1bc846", 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 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/advent15/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: /opt/rustwide/workdir/advent16/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.39 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking serde v1.0.34 [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking itoa v0.4.1 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking advent17 v0.1.0 (/opt/rustwide/workdir/advent17) [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking env_logger v0.5.6 [INFO] [stderr] Checking 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: 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_json v1.0.13 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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: 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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] [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] [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] [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] [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: 27 warnings emitted [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 `Clone` and `Debug`, 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] [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] [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] [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] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.80s [INFO] running `Command { std: "docker" "inspect" "ae0cd9128c0d45bc901cc2c6e69c4f2206552c8c616e0c9f8ebc032f4a1bc846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0cd9128c0d45bc901cc2c6e69c4f2206552c8c616e0c9f8ebc032f4a1bc846", kill_on_drop: false }` [INFO] [stdout] ae0cd9128c0d45bc901cc2c6e69c4f2206552c8c616e0c9f8ebc032f4a1bc846