[INFO] updating cached repository autrilla/advent-of-code-2016 [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/autrilla/advent-of-code-2016 [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/autrilla/advent-of-code-2016" "work/ex/beta-1.38-1/sources/1.37.0/gh/autrilla/advent-of-code-2016"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/autrilla/advent-of-code-2016'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/autrilla/advent-of-code-2016" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/autrilla/advent-of-code-2016"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/autrilla/advent-of-code-2016'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 86b00578d23cf419732b8397e03c16b08cf9fb35 [INFO] sha for GitHub repo autrilla/advent-of-code-2016: 86b00578d23cf419732b8397e03c16b08cf9fb35 [INFO] validating manifest of autrilla/advent-of-code-2016 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of autrilla/advent-of-code-2016 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing autrilla/advent-of-code-2016 [INFO] finished frobbing autrilla/advent-of-code-2016 [INFO] frobbed toml for autrilla/advent-of-code-2016 written to work/ex/beta-1.38-1/sources/1.37.0/gh/autrilla/advent-of-code-2016/Cargo.toml [INFO] started frobbing autrilla/advent-of-code-2016 [INFO] finished frobbing autrilla/advent-of-code-2016 [INFO] frobbed toml for autrilla/advent-of-code-2016 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/autrilla/advent-of-code-2016/Cargo.toml [INFO] crate autrilla/advent-of-code-2016 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing autrilla/advent-of-code-2016 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/autrilla/advent-of-code-2016:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a9f677c4e432f2e74714250eed2efeff7e19736fb0e4fd61089d4b870399a5f6 [INFO] running `"docker" "start" "-a" "a9f677c4e432f2e74714250eed2efeff7e19736fb0e4fd61089d4b870399a5f6"` [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/crater/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] Compiling ndarray v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.1.12 [INFO] [stderr] Compiling nom v2.0.1 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling num-complex v0.1.35 [INFO] [stderr] Compiling itertools v0.5.6 [INFO] [stderr] Compiling advent-of-code v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: function is never used: `supports_tls` [INFO] [stderr] --> src/7.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | fn supports_tls(pre_brackets: &str, in_brackets: &str, post_brackets: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stderr] --> src/4.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | type Err = String; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/4.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(try_from)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/4.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(static_in_const)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/2.rs:13:19 [INFO] [stderr] | [INFO] [stderr] 13 | n @ 1 ... 3 => n, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/2.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | n @ 7 ... 9 => n, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/4.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stderr] 36 | | let mut s = String::new(); [INFO] [stderr] 37 | | File::open("src/4.txt") [INFO] [stderr] 38 | | .expect("Could not open input file") [INFO] [stderr] ... | [INFO] [stderr] 44 | | }; [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/4.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | / lazy_static! { static ref ROOMS: Vec = { [INFO] [stderr] 36 | | let mut s = String::new(); [INFO] [stderr] 37 | | File::open("src/4.txt") [INFO] [stderr] 38 | | .expect("Could not open input file") [INFO] [stderr] ... | [INFO] [stderr] 44 | | }; [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0220]: associated type `Err` not found for `Self` [INFO] [stderr] --> src/4.rs:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | fn try_from(s: String) -> Result { [INFO] [stderr] | ^^^^^^^^^ associated type `Err` not found [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0220, E0437, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0220`. [INFO] [stderr] error: Could not compile `advent-of-code`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/6.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stderr] 9 | | let mut s = String::new(); [INFO] [stderr] 10 | | File::open("src/6.txt") [INFO] [stderr] 11 | | .expect("Could not open input file") [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/6.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / lazy_static! { static ref ROWS: Vec> = { [INFO] [stderr] 9 | | let mut s = String::new(); [INFO] [stderr] 10 | | File::open("src/6.txt") [INFO] [stderr] 11 | | .expect("Could not open input file") [INFO] [stderr] ... | [INFO] [stderr] 17 | | }; [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/3.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref TRIANGLES: Vec = { [INFO] [stderr] 24 | | let mut s = String::new(); [INFO] [stderr] 25 | | File::open("src/3.txt") [INFO] [stderr] ... | [INFO] [stderr] 50 | | }; [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/3.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref TRIANGLES: Vec = { [INFO] [stderr] 24 | | let mut s = String::new(); [INFO] [stderr] 25 | | File::open("src/3.txt") [INFO] [stderr] ... | [INFO] [stderr] 50 | | }; [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/3.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref TRIANGLES: Vec = { [INFO] [stderr] 24 | | let mut s = String::new(); [INFO] [stderr] 25 | | File::open("src/3.txt") [INFO] [stderr] ... | [INFO] [stderr] 50 | | }; [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/3.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / lazy_static! { [INFO] [stderr] 23 | | static ref TRIANGLES: Vec = { [INFO] [stderr] 24 | | let mut s = String::new(); [INFO] [stderr] 25 | | File::open("src/3.txt") [INFO] [stderr] ... | [INFO] [stderr] 50 | | }; [INFO] [stderr] 51 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/6.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/6.rs:41:36 [INFO] [stderr] | [INFO] [stderr] 41 | entries.iter().map(|&(&c, &i)| c).next().unwrap() [INFO] [stderr] | ^ help: consider prefixing with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/5.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 25 | let mut output = &mut [0; 16]; [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] error: build failed [INFO] running `"docker" "inspect" "a9f677c4e432f2e74714250eed2efeff7e19736fb0e4fd61089d4b870399a5f6"` [INFO] running `"docker" "rm" "-f" "a9f677c4e432f2e74714250eed2efeff7e19736fb0e4fd61089d4b870399a5f6"` [INFO] [stdout] a9f677c4e432f2e74714250eed2efeff7e19736fb0e4fd61089d4b870399a5f6