[INFO] cloning repository https://github.com/lusen82/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lusen82/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusen82%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusen82%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a692ab544d3de01a6b026650c0d2eec28b1b6c74 [INFO] testing lusen82/advent-of-code-2019 against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flusen82%2Fadvent-of-code-2019" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lusen82/advent-of-code-2019 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lusen82/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/lusen82/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/lusen82/advent-of-code-2019 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/lusen82/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ec02ffd06bc3baa9078158d83d29a0824e4e58cb6573002fd2fe5fac8c25086 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ec02ffd06bc3baa9078158d83d29a0824e4e58cb6573002fd2fe5fac8c25086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ec02ffd06bc3baa9078158d83d29a0824e4e58cb6573002fd2fe5fac8c25086", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ec02ffd06bc3baa9078158d83d29a0824e4e58cb6573002fd2fe5fac8c25086", kill_on_drop: false }` [INFO] [stdout] 1ec02ffd06bc3baa9078158d83d29a0824e4e58cb6573002fd2fe5fac8c25086 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db2f3698b3da8c2ced8726c884c23d2667e61b0648e1ab17439f673fcc29bae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5db2f3698b3da8c2ced8726c884c23d2667e61b0648e1ab17439f673fcc29bae", kill_on_drop: false }` [INFO] [stderr] Compiling advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, `Read` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, BufReader, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/main.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::BitAnd` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::BitAnd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::SliceIndex` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day_2.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | for noun in (0..100) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - for noun in (0..100) { [INFO] [stdout] 13 + for noun in 0..100 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/day_2.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | for verb in (0..100) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - for verb in (0..100) { [INFO] [stdout] 14 + for verb in 0..100 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/day_5.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_01` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 163 | struct Instr_01 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr01` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:176:51 [INFO] [stdout] | [INFO] [stdout] 176 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 176 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 176 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:177:53 [INFO] [stdout] | [INFO] [stdout] 177 | let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 177 + let second_value = self.get_value_for_mode(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_02` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 192 | struct Instr_02 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:203:51 [INFO] [stdout] | [INFO] [stdout] 203 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 203 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 203 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:204:53 [INFO] [stdout] | [INFO] [stdout] 204 | let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 204 - let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 204 + let second_value = self.get_value_for_mode(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_03` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | struct Instr_03 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr03` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:232:57 [INFO] [stdout] | [INFO] [stdout] 232 | let first_value = self.get_value_for_mode_usize((pointer + 1), ParamMode::IMMEDIATE, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 232 - let first_value = self.get_value_for_mode_usize((pointer + 1), ParamMode::IMMEDIATE, &memory); [INFO] [stdout] 232 + let first_value = self.get_value_for_mode_usize(pointer + 1, ParamMode::IMMEDIATE, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_04` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | struct Instr_04 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr04` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:260:57 [INFO] [stdout] | [INFO] [stdout] 260 | let first_value = self.get_value_for_mode_usize((pointer + 1), ParamMode::IMMEDIATE, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - let first_value = self.get_value_for_mode_usize((pointer + 1), ParamMode::IMMEDIATE, &memory); [INFO] [stdout] 260 + let first_value = self.get_value_for_mode_usize(pointer + 1, ParamMode::IMMEDIATE, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_05` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:275:8 [INFO] [stdout] | [INFO] [stdout] 275 | struct Instr_05 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr05` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:286:51 [INFO] [stdout] | [INFO] [stdout] 286 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 286 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 286 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:287:59 [INFO] [stdout] | [INFO] [stdout] 287 | let second_value = self.get_value_for_mode_usize((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 287 - let second_value = self.get_value_for_mode_usize((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 287 + let second_value = self.get_value_for_mode_usize(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_06` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:304:8 [INFO] [stdout] | [INFO] [stdout] 304 | struct Instr_06 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr06` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:315:51 [INFO] [stdout] | [INFO] [stdout] 315 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 315 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 315 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:316:59 [INFO] [stdout] | [INFO] [stdout] 316 | let second_value = self.get_value_for_mode_usize((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 - let second_value = self.get_value_for_mode_usize((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 316 + let second_value = self.get_value_for_mode_usize(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_07` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:334:8 [INFO] [stdout] | [INFO] [stdout] 334 | struct Instr_07 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr07` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:345:51 [INFO] [stdout] | [INFO] [stdout] 345 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 345 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 345 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:346:53 [INFO] [stdout] | [INFO] [stdout] 346 | let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 346 - let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 346 + let second_value = self.get_value_for_mode(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Instr_08` should have an upper camel case name [INFO] [stdout] --> src/day_5.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | struct Instr_08 { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Instr08` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:379:51 [INFO] [stdout] | [INFO] [stdout] 379 | let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 379 - let first_value = self.get_value_for_mode((pointer + 1), param_1_mode, &memory); [INFO] [stdout] 379 + let first_value = self.get_value_for_mode(pointer + 1, param_1_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/day_5.rs:380:53 [INFO] [stdout] | [INFO] [stdout] 380 | let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 380 - let second_value = self.get_value_for_mode((pointer + 2), param_2_mode, &memory); [INFO] [stdout] 380 + let second_value = self.get_value_for_mode(pointer + 2, param_2_mode, &memory); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `!` [INFO] [stdout] --> src/day_5.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | !unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/day_5.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | !unreachable!() [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0600`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` due to 7 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5db2f3698b3da8c2ced8726c884c23d2667e61b0648e1ab17439f673fcc29bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db2f3698b3da8c2ced8726c884c23d2667e61b0648e1ab17439f673fcc29bae", kill_on_drop: false }` [INFO] [stdout] 5db2f3698b3da8c2ced8726c884c23d2667e61b0648e1ab17439f673fcc29bae