[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 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dewaka/advent-rust on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-2/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded serde v1.0.34 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4949f06037e5d7ea5439869003b6317014c8584992623a7ae4948472c3695cfa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4949f06037e5d7ea5439869003b6317014c8584992623a7ae4948472c3695cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4949f06037e5d7ea5439869003b6317014c8584992623a7ae4948472c3695cfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4949f06037e5d7ea5439869003b6317014c8584992623a7ae4948472c3695cfa", kill_on_drop: false }` [INFO] [stdout] 4949f06037e5d7ea5439869003b6317014c8584992623a7ae4948472c3695cfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9553b74c230253b4cdb24268ede8137a233f21af7c620e3a014fbb18a5b1db5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9553b74c230253b4cdb24268ede8137a233f21af7c620e3a014fbb18a5b1db5c", kill_on_drop: false }` [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Checking md5 v0.3.7 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking serde v1.0.34 [INFO] [stderr] Checking advent17 v0.1.0 (/opt/rustwide/workdir/advent17) [INFO] [stderr] Checking memchr v2.0.1 [INFO] [stderr] Checking atty v0.2.8 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.5.3 [INFO] [stderr] Checking itertools v0.7.8 [INFO] [stderr] Checking aho-corasick v0.6.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking serde_json v1.0.13 [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 `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 a macro (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 `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 a macro (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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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] 161 | | [INFO] [stdout] 162 | | static ref R_LOSE: Regex = [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 a macro (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 `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] 161 | | [INFO] [stdout] 162 | | static ref R_LOSE: Regex = [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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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] 161 | | [INFO] [stdout] 162 | | static ref R_LOSE: Regex = [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 a macro (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 `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] 161 | | [INFO] [stdout] 162 | | static ref R_LOSE: Regex = [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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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 `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 a macro (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: associated function is never used: `lost` [INFO] [stdout] --> advent15/src/day22.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn lost(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attack` [INFO] [stdout] --> advent15/src/day22.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> advent15/src/day22.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [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: associated function is never used: `lost` [INFO] [stdout] --> advent15/src/day22.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn lost(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attack` [INFO] [stdout] --> advent15/src/day22.rs:186:12 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `play` [INFO] [stdout] --> advent15/src/day22.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.92s [INFO] running `Command { std: "docker" "inspect" "9553b74c230253b4cdb24268ede8137a233f21af7c620e3a014fbb18a5b1db5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9553b74c230253b4cdb24268ede8137a233f21af7c620e3a014fbb18a5b1db5c", kill_on_drop: false }` [INFO] [stdout] 9553b74c230253b4cdb24268ede8137a233f21af7c620e3a014fbb18a5b1db5c