[INFO] cloning repository https://github.com/tahnok/advent2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahnok/advent2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56909ab0b16daf58fbe7c5f3cb72459de9e6468f [INFO] checking tahnok/advent2018 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahnok%2Fadvent2018" "/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/tahnok/advent2018 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tahnok/advent2018 [INFO] finished tweaking git repo https://github.com/tahnok/advent2018 [INFO] tweaked toml for git repo https://github.com/tahnok/advent2018 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tahnok/advent2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded indoc-impl v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.3 [INFO] [stderr] Downloaded indoc v0.3.1 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62f366f9ca4c34af633208350c02ec464a1ef65427524b755f9a3f5ac5018aa8 [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" "62f366f9ca4c34af633208350c02ec464a1ef65427524b755f9a3f5ac5018aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62f366f9ca4c34af633208350c02ec464a1ef65427524b755f9a3f5ac5018aa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62f366f9ca4c34af633208350c02ec464a1ef65427524b755f9a3f5ac5018aa8", kill_on_drop: false }` [INFO] [stdout] 62f366f9ca4c34af633208350c02ec464a1ef65427524b755f9a3f5ac5018aa8 [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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a72973e3a23a56232b04964801870dbd23f554afd3e51c58301d9ca7825eff38 [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" "a72973e3a23a56232b04964801870dbd23f554afd3e51c58301d9ca7825eff38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.3 [INFO] [stderr] Compiling indoc-impl v0.3.1 [INFO] [stderr] Checking indoc v0.3.1 [INFO] [stderr] Checking advent2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/template.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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: unused import: `indoc::indoc` [INFO] [stdout] --> src/bin/day_07_1.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_1.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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] error[E0601]: `main` function not found in crate `utils` [INFO] [stdout] --> src/bin/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use std::fs::File; [INFO] [stdout] 2 | | use std::io::prelude::*; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub fn load_input(filename: &str) -> String { [INFO] [stdout] ... | [INFO] [stdout] 8 | | contents [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/bin/utils.rs` [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: 1 warning emitted [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_04_1.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut times = guards_and_times.get_mut(&id).unwrap(); [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] [stderr] error: could not compile `advent2018` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_04_1.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut times = guards_and_times.get_mut(&id).unwrap(); [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] [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: static variable `guard` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | static ref guard: Regex = Regex::new(r"#(\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GUARD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | static ref time: Regex = Regex::new(r"(\d+):(\d+)\]").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `guard` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | static ref guard: Regex = Regex::new(r"#(\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GUARD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time` should have an upper case name [INFO] [stdout] --> src/bin/day_04_1.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | static ref time: Regex = Regex::new(r"(\d+):(\d+)\]").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indoc::indoc` [INFO] [stdout] --> src/bin/day_07_2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use indoc::indoc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_04_2.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut times = guards_and_times.get_mut(&id).unwrap(); [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: static variable `guard` should have an upper case name [INFO] [stdout] --> src/bin/day_04_2.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | static ref guard: Regex = Regex::new(r"#(\d+)").unwrap(); [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GUARD` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `time` should have an upper case name [INFO] [stdout] --> src/bin/day_04_2.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | static ref time: Regex = Regex::new(r"(\d+):(\d+)\]").unwrap(); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `TIME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_07_2.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut dependencies = result.entry(required_by).or_insert(HashSet::new()); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a72973e3a23a56232b04964801870dbd23f554afd3e51c58301d9ca7825eff38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72973e3a23a56232b04964801870dbd23f554afd3e51c58301d9ca7825eff38", kill_on_drop: false }` [INFO] [stdout] a72973e3a23a56232b04964801870dbd23f554afd3e51c58301d9ca7825eff38