[INFO] cloning repository https://github.com/autrilla/advent-of-code-2016 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/autrilla/advent-of-code-2016" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautrilla%2Fadvent-of-code-2016", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautrilla%2Fadvent-of-code-2016'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86b00578d23cf419732b8397e03c16b08cf9fb35 [INFO] checking autrilla/advent-of-code-2016 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fautrilla%2Fadvent-of-code-2016" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/autrilla/advent-of-code-2016 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/autrilla/advent-of-code-2016 [INFO] finished tweaking git repo https://github.com/autrilla/advent-of-code-2016 [INFO] tweaked toml for git repo https://github.com/autrilla/advent-of-code-2016 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/autrilla/advent-of-code-2016 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-6/source/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1b97030882c6ceb6f72d4607637937ba8790eeb72ff0f84eee77464e01556f30 [INFO] running `Command { std: "docker" "start" "-a" "1b97030882c6ceb6f72d4607637937ba8790eeb72ff0f84eee77464e01556f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b97030882c6ceb6f72d4607637937ba8790eeb72ff0f84eee77464e01556f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b97030882c6ceb6f72d4607637937ba8790eeb72ff0f84eee77464e01556f30", kill_on_drop: false }` [INFO] [stdout] 1b97030882c6ceb6f72d4607637937ba8790eeb72ff0f84eee77464e01556f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 133158d47d5e4fa5451be28fc714f5134302e0da138f107d2ef40ce5263cd2fe [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" "133158d47d5e4fa5451be28fc714f5134302e0da138f107d2ef40ce5263cd2fe", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking libc v0.2.18 [INFO] [stderr] Compiling ndarray v0.7.1 [INFO] [stderr] Checking either v1.0.2 [INFO] [stderr] Checking matrixmultiply v0.1.12 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking lazy_static v0.2.2 [INFO] [stderr] Checking nom v2.0.1 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking num-complex v0.1.35 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Checking itertools v0.5.6 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/2.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | n @ 1 ... 3 => n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/2.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | n @ 7 ... 9 => n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/2.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | n @ 1 ... 3 => n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/9.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/2.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | n @ 7 ... 9 => n, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/9.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/9.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/4.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | type Err = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/4.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | type Err = String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/4.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stdout] 36 | | let mut s = String::new(); [INFO] [stdout] 37 | | File::open("src/4.txt") [INFO] [stdout] 38 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/4.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stdout] 36 | | let mut s = String::new(); [INFO] [stdout] 37 | | File::open("src/4.txt") [INFO] [stdout] 38 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/4.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stdout] 36 | | let mut s = String::new(); [INFO] [stdout] 37 | | File::open("src/4.txt") [INFO] [stdout] 38 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/5.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut output = &mut [0; 16]; [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: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stdout] 9 | | let mut s = String::new(); [INFO] [stdout] 10 | | File::open("src/6.txt") [INFO] [stdout] 11 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stdout] 9 | | let mut s = String::new(); [INFO] [stdout] 10 | | File::open("src/6.txt") [INFO] [stdout] 11 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Err` not found for `Self` [INFO] [stdout] --> src/4.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(s: String) -> Result { [INFO] [stdout] | ^^^ associated type `Err` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/4.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stdout] 36 | | let mut s = String::new(); [INFO] [stdout] 37 | | File::open("src/4.txt") [INFO] [stdout] 38 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 44 | | }; [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stdout] 9 | | let mut s = String::new(); [INFO] [stdout] 10 | | File::open("src/6.txt") [INFO] [stdout] 11 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Err` not found for `Self` [INFO] [stdout] --> src/4.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(s: String) -> Result { [INFO] [stdout] | ^^^ associated type `Err` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/3.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | static ref TRIANGLES: Vec = { [INFO] [stdout] 24 | | let mut s = String::new(); [INFO] [stdout] 25 | | File::open("src/3.txt") [INFO] [stdout] ... | [INFO] [stdout] 50 | | }; [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/6.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stdout] 9 | | let mut s = String::new(); [INFO] [stdout] 10 | | File::open("src/6.txt") [INFO] [stdout] 11 | | .expect("Could not open input file") [INFO] [stdout] ... | [INFO] [stdout] 17 | | }; [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/6.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/6.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/6.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/6.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/5.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | let mut output = &mut [0; 16]; [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: function is never used: `supports_tls` [INFO] [stdout] --> src/7.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn supports_tls(pre_brackets: &str, in_brackets: &str, post_brackets: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "133158d47d5e4fa5451be28fc714f5134302e0da138f107d2ef40ce5263cd2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "133158d47d5e4fa5451be28fc714f5134302e0da138f107d2ef40ce5263cd2fe", kill_on_drop: false }` [INFO] [stdout] 133158d47d5e4fa5451be28fc714f5134302e0da138f107d2ef40ce5263cd2fe