[INFO] cloning repository https://github.com/tahnok/advent2016 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahnok/advent2016" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2016", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2016'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc6fadfe65f9f9fda4ec1c7f84b30ad2f94ae724 [INFO] testing tahnok/advent2016 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2016" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tahnok/advent2016 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tahnok/advent2016 [INFO] finished tweaking git repo https://github.com/tahnok/advent2016 [INFO] tweaked toml for git repo https://github.com/tahnok/advent2016 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/tahnok/advent2016 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ee2a218e4e086e54331dc7a27238708551311147c2f8d146e01d52922f57c9c [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" "6ee2a218e4e086e54331dc7a27238708551311147c2f8d146e01d52922f57c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ee2a218e4e086e54331dc7a27238708551311147c2f8d146e01d52922f57c9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee2a218e4e086e54331dc7a27238708551311147c2f8d146e01d52922f57c9c", kill_on_drop: false }` [INFO] [stdout] 6ee2a218e4e086e54331dc7a27238708551311147c2f8d146e01d52922f57c9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c63a7833e081d1c885a64944683d4f8f845f57d8073da52212770270928cdbeb [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" "c63a7833e081d1c885a64944683d4f8f845f57d8073da52212770270928cdbeb", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.39 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling advent2016 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/bin/day9_2.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | let mut parts = input.splitn(3, (|c| c == '(' || c == ')')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - let mut parts = input.splitn(3, (|c| c == '(' || c == ')')); [INFO] [stdout] 16 + let mut parts = input.splitn(3, |c| c == '(' || c == ')'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/bin/day20_1.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 'inner: for current_range in output.iter_mut() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` 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/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_1.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/day20_2.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn new(start: usize, end: usize) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/bin/day9_1.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | let mut parts = input.splitn(3, (|c| c == '(' || c == ')')); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - let mut parts = input.splitn(3, (|c| c == '(' || c == ')')); [INFO] [stdout] 25 + let mut parts = input.splitn(3, |c| c == '(' || c == ')'); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/day1_1.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref MOVEMENT_RE: Regex = Regex::new(r#"([RL])(\d+)"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day1_1.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref MOVEMENT_RE: Regex = Regex::new(r#"([RL])(\d+)"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `calculate_distance_tuple` [INFO] [stdout] --> src/bin/../day1.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn calculate_distance_tuple((x, y): (i32, i32)) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/bin/day7_1.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref HYPERNET: Regex = Regex::new(r#"\[(\w+)\]"#).unwrap(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day7_1.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static! { [INFO] [stdout] 11 | | static ref HYPERNET: Regex = Regex::new(r#"\[(\w+)\]"#).unwrap(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day4_1.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref SECTOR_RE: Regex = Regex::new(r#"(?P.+)-(?P\d+)\[(?P[a-z]+)\]"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day4_1.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref SECTOR_RE: Regex = Regex::new(r#"(?P.+)-(?P\d+)\[(?P[a-z]+)\]"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day8_2.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | static ref RECT: Regex = Regex::new(r#"rect (\d+)x(\d+)"#).unwrap(); [INFO] [stdout] 11 | | static ref ROTATE_COLUMN: Regex = Regex::new(r#"rotate column x=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 12 | | static ref ROTATE_ROW: Regex = Regex::new(r#"rotate row y=(\d+) by (\d+)"#).unwrap(); [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day4_2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref SECTOR_RE: Regex = Regex::new(r#"(?P.+)-(?P\d+)\[(?P[a-z]+)\]"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day4_2.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref SECTOR_RE: Regex = Regex::new(r#"(?P.+)-(?P\d+)\[(?P[a-z]+)\]"#).unwrap(); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum_valid` [INFO] [stdout] --> src/bin/day4_2.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn sum_valid(codes: Vec<&str>) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/bin/day1_2.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref MOVEMENT_RE: Regex = Regex::new(r#"([RL])(\d+)"#).unwrap(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/bin/day1_2.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / lazy_static! { [INFO] [stdout] 14 | | static ref MOVEMENT_RE: Regex = Regex::new(r#"([RL])(\d+)"#).unwrap(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day11_1` [INFO] [stdout] --> src/bin/day11_1.rs:236:2 [INFO] [stdout] | [INFO] [stdout] 236 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/day11_1.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2016` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c63a7833e081d1c885a64944683d4f8f845f57d8073da52212770270928cdbeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63a7833e081d1c885a64944683d4f8f845f57d8073da52212770270928cdbeb", kill_on_drop: false }` [INFO] [stdout] c63a7833e081d1c885a64944683d4f8f845f57d8073da52212770270928cdbeb