[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdewaka%2Fadvent-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dewaka/advent-rust on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-11/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-error v1.2.1 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] [stderr] Downloaded serde_json v1.0.13 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded ndarray v0.11.2 [INFO] [stderr] Downloaded serde v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d65d447d287a68c9cd5952bb82be9d4d2210c698265c5ff7839215f671ed959 [INFO] running `Command { std: "docker" "start" "-a" "4d65d447d287a68c9cd5952bb82be9d4d2210c698265c5ff7839215f671ed959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d65d447d287a68c9cd5952bb82be9d4d2210c698265c5ff7839215f671ed959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d65d447d287a68c9cd5952bb82be9d4d2210c698265c5ff7839215f671ed959", kill_on_drop: false }` [INFO] [stdout] 4d65d447d287a68c9cd5952bb82be9d4d2210c698265c5ff7839215f671ed959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c53b70ac1abdf1c5fb4ac74a031092666c9d5b3f415417ce2c053409c060bfa9 [INFO] running `Command { std: "docker" "start" "-a" "c53b70ac1abdf1c5fb4ac74a031092666c9d5b3f415417ce2c053409c060bfa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling regex v0.2.10 [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 quick-error v1.2.1 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling serde v1.0.34 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling md5 v0.3.7 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling advent17 v0.1.0 (/opt/rustwide/workdir/advent17) [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.13 [INFO] [stderr] Compiling env_logger v0.5.6 [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 `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` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.40s [INFO] running `Command { std: "docker" "inspect" "c53b70ac1abdf1c5fb4ac74a031092666c9d5b3f415417ce2c053409c060bfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53b70ac1abdf1c5fb4ac74a031092666c9d5b3f415417ce2c053409c060bfa9", kill_on_drop: false }` [INFO] [stdout] c53b70ac1abdf1c5fb4ac74a031092666c9d5b3f415417ce2c053409c060bfa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fa2c16e657203833d8b0e54bbac792c3d91e63b772105b5ae49325bcb573c0 [INFO] running `Command { std: "docker" "start" "-a" "21fa2c16e657203833d8b0e54bbac792c3d91e63b772105b5ae49325bcb573c0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 `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` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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 the macro `__lazy_static_create` (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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.89s [INFO] running `Command { std: "docker" "inspect" "21fa2c16e657203833d8b0e54bbac792c3d91e63b772105b5ae49325bcb573c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fa2c16e657203833d8b0e54bbac792c3d91e63b772105b5ae49325bcb573c0", kill_on_drop: false }` [INFO] [stdout] 21fa2c16e657203833d8b0e54bbac792c3d91e63b772105b5ae49325bcb573c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e57f1acaf15eb22ff757389b3c19e2c58ab4e12aa0d6083c9a87554f8a1575f [INFO] running `Command { std: "docker" "start" "-a" "7e57f1acaf15eb22ff757389b3c19e2c58ab4e12aa0d6083c9a87554f8a1575f", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] running 36 tests [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` (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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this returns the trimmed string as a slice, without modifying the original [INFO] [stderr] [INFO] [stderr] warning: `advent16` (bin "advent16" test) generated 2 warnings [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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] 161 | | [INFO] [stderr] 162 | | static ref R_LOSE: Regex = [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` (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 `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` (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 `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` (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 `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` (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 `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` (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: associated function is never used: `lost` [INFO] [stderr] --> advent15/src/day22.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn lost(&self) -> bool { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `attack` [INFO] [stderr] --> advent15/src/day22.rs:186:12 [INFO] [stderr] | [INFO] [stderr] 186 | pub fn attack(&self, p: &mut Player) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `play` [INFO] [stderr] --> advent15/src/day22.rs:298:12 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn play(&self, spells: Vec) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `advent15` (bin "advent15" test) generated 20 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent15-cf7f8d65ab4aff92) [INFO] [stdout] test day11::test_valid_passwords ... ok [INFO] [stdout] test day14::test_fastest_computation ... ok [INFO] [stdout] test day13::test_example_arrangement ... ok [INFO] [stdout] test day10::test_examples ... ok [INFO] [stdout] test day10::test_series_parsing ... ok [INFO] [stdout] test day15::test_calculate_optimal_example ... ok [INFO] [stdout] test day21::test_example_winner ... ok [INFO] [stdout] test day21::test_parse_armor ... ok [INFO] [stdout] test day12::test_calculate ... ok [INFO] [stdout] test day8::test_example ... ok [INFO] [stdout] test day19::test_split_matches ... ok [INFO] [stdout] test day15::test_calculate_example ... ok [INFO] [stdout] test day19::test_unique_replacements ... ok [INFO] [stdout] test day20::test_given_elves_delivery ... ok [INFO] [stdout] test day21::test_parse_damage ... ok [INFO] [stdout] test day21::test_parse_hit_points ... 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 day3::test_examples ... ok [INFO] [stdout] test day17::test_count_ways_example ... ok [INFO] [stdout] test day5::test_examples ... ok [INFO] [stdout] test day18::test_ndarray ... ok [INFO] [stdout] test day16::test_parse_info ... ok [INFO] [stdout] test day6::test_parse_turnon ... ok [INFO] [stdout] test day6::test_parse_toggle ... ok [INFO] [stdout] test day16::test_parse_aunt ... ok [INFO] [stdout] test day6::test_parse_turnoff ... ok [INFO] [stdout] test day14::test_parse_reindeer ... ok [INFO] [stdout] test day15::test_parsing_ingredients ... ok [INFO] [stdout] test day9::test_parse_distance_spec ... 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 day4::test_examples ... ok [INFO] [stdout] test day11::test_example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 36 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 18.56s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent16-18cf169e8b630efb) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test day1::test_examples ... ok [INFO] [stdout] test day1::test_parse_side ... ok [INFO] [stdout] test day2::test_move_pos ... ok [INFO] [stdout] test day2::test_example ... ok [INFO] [stdout] test day7::test_valid_annotation ... ok [INFO] [stdout] test day3::test_valid_triangle ... ok [INFO] [stdout] test day7::test_ip_from_string ... ok [INFO] [stdout] test day4::test_parse_entry ... ok [INFO] [stdout] test day4::test_calculate_checksum ... ok [INFO] [stdout] test day2::test_pos_to_digit ... ok [INFO] [stdout] test day7::test_valid_ip ... ok [INFO] [stdout] test day6::test_example ... ok [INFO] [stdout] test day3::test_parse_triangle ... ok [INFO] [stdout] test day5::test_examples has been running for over 60 seconds [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/advent17-61dff85a6684fdb9) [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 73.85s [INFO] [stdout] [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" "7e57f1acaf15eb22ff757389b3c19e2c58ab4e12aa0d6083c9a87554f8a1575f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e57f1acaf15eb22ff757389b3c19e2c58ab4e12aa0d6083c9a87554f8a1575f", kill_on_drop: false }` [INFO] [stdout] 7e57f1acaf15eb22ff757389b3c19e2c58ab4e12aa0d6083c9a87554f8a1575f