[INFO] cloning repository https://github.com/jugglerchris/aoc2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jugglerchris/aoc2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Faoc2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Faoc2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 916cad896d19425b197d0bc3bc24f851242fe72d [INFO] testing jugglerchris/aoc2017 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjugglerchris%2Faoc2017" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jugglerchris/aoc2017 [INFO] finished tweaking git repo https://github.com/jugglerchris/aoc2017 [INFO] tweaked toml for git repo https://github.com/jugglerchris/aoc2017 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jugglerchris/aoc2017 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jugglerchris/aoc2017 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded regex-syntax v0.4.1 [INFO] [stderr] Downloaded libc v0.2.34 [INFO] [stderr] Downloaded regex v0.2.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e53c2bd1e71689e0ae8d6070c932cdf1185d2f645d09d940e646074f0e9cc5e [INFO] running `Command { std: "docker" "start" "-a" "4e53c2bd1e71689e0ae8d6070c932cdf1185d2f645d09d940e646074f0e9cc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e53c2bd1e71689e0ae8d6070c932cdf1185d2f645d09d940e646074f0e9cc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e53c2bd1e71689e0ae8d6070c932cdf1185d2f645d09d940e646074f0e9cc5e", kill_on_drop: false }` [INFO] [stdout] 4e53c2bd1e71689e0ae8d6070c932cdf1185d2f645d09d940e646074f0e9cc5e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b05892f4779619a082775058759d872aa460573019808b87dd01806fbe7c8140 [INFO] running `Command { std: "docker" "start" "-a" "b05892f4779619a082775058759d872aa460573019808b87dd01806fbe7c8140", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling aoc2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut f = try!(File::open(&filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "b05892f4779619a082775058759d872aa460573019808b87dd01806fbe7c8140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05892f4779619a082775058759d872aa460573019808b87dd01806fbe7c8140", kill_on_drop: false }` [INFO] [stdout] b05892f4779619a082775058759d872aa460573019808b87dd01806fbe7c8140 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 04c553e101c5f8905dadddb05eb5b289c382f25f991479feb2b73297c7cb530d [INFO] running `Command { std: "docker" "start" "-a" "04c553e101c5f8905dadddb05eb5b289c382f25f991479feb2b73297c7cb530d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut f = try!(File::open(&filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aoc2017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day19.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate aoc2017; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day19.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> examples/day19.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | b'A' ... b'|' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day19.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day5.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day14.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> examples/day19.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let height = map.len() as isize; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/day8.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / regex_parser!(parse_insn: Instruction { [INFO] [stdout] 67 | | INSN = r#"^(\w+) (inc|dec) (-?\d+) if (\w+) (==|!=|<|>|<=|>=) (-?\d+)$"# => [INFO] [stdout] 68 | | | target: String, op: Operation, adjval: isize, cond_src: String, [INFO] [stdout] 69 | | cmp: Comparison, cmpval: isize | [INFO] [stdout] ... | [INFO] [stdout] 78 | | }); [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 `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day8.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/day16.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / regex_parser!(parse_move: Move { [INFO] [stdout] 14 | | SPIN = r#"^s(\d+)$"# => | x: usize | Spin(x), [INFO] [stdout] 15 | | EXCHANGE = r#"^x(\d+)/(\d+)$"# => | a: usize, b: usize | Exchange(a,b), [INFO] [stdout] 16 | | PARTNER = r#"^p(.)/(.)$"# => | a: char, b: char | Partner(a as u8 - b'a', b as u8 - b'a') [INFO] [stdout] 17 | | }); [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 `regex_parser` (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] --> examples/day16.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / regex_parser!(parse_move: Move { [INFO] [stdout] 14 | | SPIN = r#"^s(\d+)$"# => | x: usize | Spin(x), [INFO] [stdout] 15 | | EXCHANGE = r#"^x(\d+)/(\d+)$"# => | a: usize, b: usize | Exchange(a,b), [INFO] [stdout] 16 | | PARTNER = r#"^p(.)/(.)$"# => | a: char, b: char | Partner(a as u8 - b'a', b as u8 - b'a') [INFO] [stdout] 17 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> examples/day16.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / regex_parser!(parse_move: Move { [INFO] [stdout] 14 | | SPIN = r#"^s(\d+)$"# => | x: usize | Spin(x), [INFO] [stdout] 15 | | EXCHANGE = r#"^x(\d+)/(\d+)$"# => | a: usize, b: usize | Exchange(a,b), [INFO] [stdout] 16 | | PARTNER = r#"^p(.)/(.)$"# => | a: char, b: char | Partner(a as u8 - b'a', b as u8 - b'a') [INFO] [stdout] 17 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day16.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/day20.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / regex_parser!(parse_particle: Particle { [INFO] [stdout] 50 | | LINE = r#"^p=<(-?\d+),(-?\d+),(-?\d+)>, v=<(-?\d+),(-?\d+),(-?\d+)>, a=<(-?\d+),(-?\d+),(-?\d+)>$"# => [INFO] [stdout] 51 | | | px: isize, py: isize, pz: isize, [INFO] [stdout] 52 | | vx: isize, vy: isize, vz: isize, [INFO] [stdout] ... | [INFO] [stdout] 59 | | }); [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 `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day20.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day22.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day3.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day2.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day17.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate aoc2017; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut f = try!(File::open(&filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day17.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day17.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day21.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day15.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate aoc2017; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day15.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day15.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day6.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day9.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate aoc2017; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day9.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stdout] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stdout] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stdout] 166 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> src/lib.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stdout] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stdout] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stdout] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stdout] ... | [INFO] [stdout] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stdout] 200 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (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] --> examples/day21.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut output = rule.output; [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: variable does not need to be mutable [INFO] [stdout] --> examples/day21.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut output = rule.output; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_grid` is never used [INFO] [stdout] --> examples/day21.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn print_grid(data: &[Square], size: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> examples/day21.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day25.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day10.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/day12.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / regex_parser!(parse_pipes: Connections { [INFO] [stdout] 13 | | LINE = r#"^(\d+) <-> ([\d, ]+)$"# => [INFO] [stdout] 14 | | | name: usize, pipes: String | [INFO] [stdout] 15 | | Connections { [INFO] [stdout] ... | [INFO] [stdout] 23 | | }); [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 `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day12.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day11.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `se` is never read [INFO] [stdout] --> examples/day11.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | se = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `smaller` [INFO] [stdout] --> examples/day11.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let smaller = min(ne.abs(), n.abs()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smaller` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day24.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/day7.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / regex_parser!(parse_tinfo: TowerInfo { [INFO] [stdout] 15 | | TOWER = r#"^\s*(\w+) \((\d+)\) -> ([\w, ]*)$"# => [INFO] [stdout] 16 | | | name: String, weight: usize, childstring: String| [INFO] [stdout] 17 | | TowerInfo { [INFO] [stdout] ... | [INFO] [stdout] 28 | | }); [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 `regex_parser` (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] --> examples/day7.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / regex_parser!(parse_tinfo: TowerInfo { [INFO] [stdout] 15 | | TOWER = r#"^\s*(\w+) \((\d+)\) -> ([\w, ]*)$"# => [INFO] [stdout] 16 | | | name: String, weight: usize, childstring: String| [INFO] [stdout] 17 | | TowerInfo { [INFO] [stdout] ... | [INFO] [stdout] 28 | | }); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day7.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/day23.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/day23.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day23.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> examples/day18.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day18.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/day24.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | assert!(piece.used.get(), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 60 | assert!(piece.used.get(), "{}", true); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> examples/day18.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(id: isize, code: &'a [Insn]) -> Thread { [INFO] [stdout] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(id: isize, code: &'a [Insn]) -> Thread<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day13.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate aoc2017; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/day13.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day13.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day1.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> examples/day4.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(conservative_impl_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.31s [INFO] running `Command { std: "docker" "inspect" "04c553e101c5f8905dadddb05eb5b289c382f25f991479feb2b73297c7cb530d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c553e101c5f8905dadddb05eb5b289c382f25f991479feb2b73297c7cb530d", kill_on_drop: false }` [INFO] [stdout] 04c553e101c5f8905dadddb05eb5b289c382f25f991479feb2b73297c7cb530d [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6788cdd9aee12edbe560db437648369c517bc7b9eb8c36ceea311951ce0b31c3 [INFO] running `Command { std: "docker" "start" "-a" "6788cdd9aee12edbe560db437648369c517bc7b9eb8c36ceea311951ce0b31c3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | let mut f = try!(File::open(&filename)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:163:5 [INFO] [stderr] | [INFO] [stderr] 163 | / regex_parser!(parse_operand: Operand { [INFO] [stderr] 164 | | VAL = r#"^(-?\d+)$"# => | val: isize | Operand::Val(val), [INFO] [stderr] 165 | | REG = r#"^(\w)$"# => | reg: String | Operand::Reg((reg.chars().next().unwrap() as u8 - b'a') as usize) [INFO] [stderr] 166 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | / regex_parser!(parse_insn: Insn { [INFO] [stderr] 191 | | SND = r#"snd (.*)$"# => | op: Operand | Snd(op), [INFO] [stderr] 192 | | SET = r#"set (.*) (.*)$"# => | op1: Operand, op2: Operand | Set(op1, op2), [INFO] [stderr] 193 | | ADD = r#"add (.*) (.*)$"# => | op1: Operand, op2: Operand | Add(op1, op2), [INFO] [stderr] ... | [INFO] [stderr] 199 | | JNZ = r#"jnz (.*) (.*)$"# => | op1: Operand, op2: Operand | Jnz(op1, op2) [INFO] [stderr] 200 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `aoc2017` (lib) generated 12 warnings (9 duplicates) [INFO] [stderr] warning: `aoc2017` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day25.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day5.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day9.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate aoc2017; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day9.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day22.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day16.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / regex_parser!(parse_move: Move { [INFO] [stderr] 14 | | SPIN = r#"^s(\d+)$"# => | x: usize | Spin(x), [INFO] [stderr] 15 | | EXCHANGE = r#"^x(\d+)/(\d+)$"# => | a: usize, b: usize | Exchange(a,b), [INFO] [stderr] 16 | | PARTNER = r#"^p(.)/(.)$"# => | a: char, b: char | Partner(a as u8 - b'a', b as u8 - b'a') [INFO] [stderr] 17 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day16.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | / regex_parser!(parse_move: Move { [INFO] [stderr] 14 | | SPIN = r#"^s(\d+)$"# => | x: usize | Spin(x), [INFO] [stderr] 15 | | EXCHANGE = r#"^x(\d+)/(\d+)$"# => | a: usize, b: usize | Exchange(a,b), [INFO] [stderr] 16 | | PARTNER = r#"^p(.)/(.)$"# => | a: char, b: char | Partner(a as u8 - b'a', b as u8 - b'a') [INFO] [stderr] 17 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day16.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day13.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate aoc2017; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day13.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day13.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day8.rs:66:1 [INFO] [stderr] | [INFO] [stderr] 66 | / regex_parser!(parse_insn: Instruction { [INFO] [stderr] 67 | | INSN = r#"^(\w+) (inc|dec) (-?\d+) if (\w+) (==|!=|<|>|<=|>=) (-?\d+)$"# => [INFO] [stderr] 68 | | | target: String, op: Operation, adjval: isize, cond_src: String, [INFO] [stderr] 69 | | cmp: Comparison, cmpval: isize | [INFO] [stderr] ... | [INFO] [stderr] 78 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day8.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day6.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day14.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aoc2017` (example "day25") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day5") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day9") generated 2 warnings [INFO] [stderr] warning: `aoc2017` (example "day22") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day16") generated 4 warnings (1 duplicate) [INFO] [stderr] warning: `aoc2017` (example "day13") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day8") generated 2 warnings [INFO] [stderr] warning: `aoc2017` (example "day6") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day14") generated 1 warning [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day4.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day11.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `se` is never read [INFO] [stderr] --> examples/day11.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | se = 0; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `smaller` [INFO] [stderr] --> examples/day11.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | let smaller = min(ne.abs(), n.abs()); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smaller` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day24.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> examples/day24.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | assert!(piece.used.get(), true); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 60 | assert!(piece.used.get(), "{}", true); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day19.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate aoc2017; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day19.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> examples/day19.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | b'A' ... b'|' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day19.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> examples/day19.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let height = map.len() as isize; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day1.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day10.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day12.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / regex_parser!(parse_pipes: Connections { [INFO] [stderr] 13 | | LINE = r#"^(\d+) <-> ([\d, ]+)$"# => [INFO] [stderr] 14 | | | name: usize, pipes: String | [INFO] [stderr] 15 | | Connections { [INFO] [stderr] ... | [INFO] [stderr] 23 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day12.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day2.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day7.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / regex_parser!(parse_tinfo: TowerInfo { [INFO] [stderr] 15 | | TOWER = r#"^\s*(\w+) \((\d+)\) -> ([\w, ]*)$"# => [INFO] [stderr] 16 | | | name: String, weight: usize, childstring: String| [INFO] [stderr] 17 | | TowerInfo { [INFO] [stderr] ... | [INFO] [stderr] 28 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day7.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / regex_parser!(parse_tinfo: TowerInfo { [INFO] [stderr] 15 | | TOWER = r#"^\s*(\w+) \((\d+)\) -> ([\w, ]*)$"# => [INFO] [stderr] 16 | | | name: String, weight: usize, childstring: String| [INFO] [stderr] 17 | | TowerInfo { [INFO] [stderr] ... | [INFO] [stderr] 28 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day7.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day21.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/day21.rs:152:17 [INFO] [stderr] | [INFO] [stderr] 152 | let mut output = rule.output; [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: variable does not need to be mutable [INFO] [stderr] --> examples/day21.rs:177:17 [INFO] [stderr] | [INFO] [stderr] 177 | let mut output = rule.output; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function `print_grid` is never used [INFO] [stderr] --> examples/day21.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn print_grid(data: &[Square], size: usize) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `print` is never used [INFO] [stderr] --> examples/day21.rs:136:8 [INFO] [stderr] | [INFO] [stderr] 89 | impl Grid { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 136 | fn print(&self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day15.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate aoc2017; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day15.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day15.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day17.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate aoc2017; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> examples/day17.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] extern crate lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day17.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day3.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> examples/day23.rs:19:6 [INFO] [stderr] | [INFO] [stderr] 19 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> examples/day23.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day23.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> examples/day18.rs:20:6 [INFO] [stderr] | [INFO] [stderr] 20 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day18.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> examples/day18.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn new(id: isize, code: &'a [Insn]) -> Thread { [INFO] [stderr] | ^^ ------ the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 54 | pub fn new(id: isize, code: &'a [Insn]) -> Thread<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> examples/day20.rs:49:1 [INFO] [stderr] | [INFO] [stderr] 49 | / regex_parser!(parse_particle: Particle { [INFO] [stderr] 50 | | LINE = r#"^p=<(-?\d+),(-?\d+),(-?\d+)>, v=<(-?\d+),(-?\d+),(-?\d+)>, a=<(-?\d+),(-?\d+),(-?\d+)>$"# => [INFO] [stderr] 51 | | | px: isize, py: isize, pz: isize, [INFO] [stderr] 52 | | vx: isize, vy: isize, vz: isize, [INFO] [stderr] ... | [INFO] [stderr] 59 | | }); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `regex_parser` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the feature `conservative_impl_trait` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stderr] --> examples/day20.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(conservative_impl_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `aoc2017` (example "day4") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day11") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day24") generated 2 warnings (run `cargo fix --example "day24"` to apply 1 suggestion) [INFO] [stderr] warning: `aoc2017` (example "day19") generated 5 warnings (run `cargo fix --example "day19"` to apply 1 suggestion) [INFO] [stderr] warning: `aoc2017` (example "day1") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day10") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day12") generated 2 warnings [INFO] [stderr] warning: `aoc2017` (example "day2") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day7") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day21") generated 5 warnings (run `cargo fix --example "day21"` to apply 2 suggestions) [INFO] [stderr] warning: `aoc2017` (example "day15") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day17") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day3") generated 1 warning [INFO] [stderr] warning: `aoc2017` (example "day23") generated 3 warnings [INFO] [stderr] warning: `aoc2017` (example "day18") generated 3 warnings (run `cargo fix --example "day18"` to apply 1 suggestion) [INFO] [stderr] warning: `aoc2017` (example "day20") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/aoc2017-0d2219dbedba9f0a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests aoc2017 [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::parse_rows_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "6788cdd9aee12edbe560db437648369c517bc7b9eb8c36ceea311951ce0b31c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6788cdd9aee12edbe560db437648369c517bc7b9eb8c36ceea311951ce0b31c3", kill_on_drop: false }` [INFO] [stdout] 6788cdd9aee12edbe560db437648369c517bc7b9eb8c36ceea311951ce0b31c3