[INFO] updating cached repository https://github.com/tahnok/advent2016 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc6fadfe65f9f9fda4ec1c7f84b30ad2f94ae724 [INFO] testing tahnok/advent2016 against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2016" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tahnok/advent2016 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 429e0363ae0afad1bd52fefc59dd5d5754e8c43adccb0b400fa15faf75831ac8 [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" "429e0363ae0afad1bd52fefc59dd5d5754e8c43adccb0b400fa15faf75831ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "429e0363ae0afad1bd52fefc59dd5d5754e8c43adccb0b400fa15faf75831ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "429e0363ae0afad1bd52fefc59dd5d5754e8c43adccb0b400fa15faf75831ac8", kill_on_drop: false }` [INFO] [stdout] 429e0363ae0afad1bd52fefc59dd5d5754e8c43adccb0b400fa15faf75831ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d5517c6d5c8bd5a6f7bcb5dbe52d95f7d50aab2714dd8cf55ccfd33d80857b [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" "d1d5517c6d5c8bd5a6f7bcb5dbe52d95f7d50aab2714dd8cf55ccfd33d80857b", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.39 [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 regex v0.1.80 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling advent2016 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day11_1` [INFO] [stdout] --> src/bin/day11_1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::collections::HashSet; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | #[derive(PartialEq, Debug)] [INFO] [stdout] 4 | | pub struct Building { [INFO] [stdout] ... | [INFO] [stdout] 235 | | } [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] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent2016`. [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: 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: 1 warning 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d1d5517c6d5c8bd5a6f7bcb5dbe52d95f7d50aab2714dd8cf55ccfd33d80857b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d5517c6d5c8bd5a6f7bcb5dbe52d95f7d50aab2714dd8cf55ccfd33d80857b", kill_on_drop: false }` [INFO] [stdout] d1d5517c6d5c8bd5a6f7bcb5dbe52d95f7d50aab2714dd8cf55ccfd33d80857b