[INFO] updating cached repository https://github.com/ryandv/advent_of_code_2018 [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] 4efc8b55fda24d07e87fb1a475d84ab236a6067e [INFO] testing ryandv/advent_of_code_2018 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryandv%2Fadvent_of_code_2018" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryandv/advent_of_code_2018 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryandv/advent_of_code_2018 [INFO] finished tweaking git repo https://github.com/ryandv/advent_of_code_2018 [INFO] tweaked toml for git repo https://github.com/ryandv/advent_of_code_2018 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/ryandv/advent_of_code_2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b956189a52087b7c051bc6274e39c449b3509bda14a6193643da48e1b425788c [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" "b956189a52087b7c051bc6274e39c449b3509bda14a6193643da48e1b425788c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b956189a52087b7c051bc6274e39c449b3509bda14a6193643da48e1b425788c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b956189a52087b7c051bc6274e39c449b3509bda14a6193643da48e1b425788c", kill_on_drop: false }` [INFO] [stdout] b956189a52087b7c051bc6274e39c449b3509bda14a6193643da48e1b425788c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec9f3029be34d29a65a0c143c30e9a8833ac76434696de2b86aa17a97eb33de [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" "2ec9f3029be34d29a65a0c143c30e9a8833ac76434696de2b86aa17a97eb33de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling try_opt v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/day_4_part_1.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | let occurred_at = try!(caps [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/day_4_part_1.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | let guard_id = try!(caps [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/day_4_part_1.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | let guard_id = try!(active_guard_id.ok_or(Day4Error::NoGuardOnDuty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/day_4_part_1.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | let guard_id = try!(active_guard_id.ok_or(Day4Error::NoGuardOnDuty)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/day_4_part_1.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | let event = try!(parse_event(active_guard_id, ln)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `day_4_part_1` [INFO] [stdout] --> src/day_4_part_1.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / extern crate chrono; [INFO] [stdout] 2 | | extern crate regex; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | use chrono::{Duration, NaiveDateTime}; [INFO] [stdout] ... | [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/day_4_part_1.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/day_4_part_1.rs:43:95 [INFO] [stdout] | [INFO] [stdout] 43 | Day4Error::InvalidTimestampError(e) => write!(f, "InvalidTimestampError: {:?}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unite` [INFO] [stdout] --> src/util/bitboard.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | pub unsafe fn unite(&mut self, other: &Bitboard) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code`. [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2ec9f3029be34d29a65a0c143c30e9a8833ac76434696de2b86aa17a97eb33de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec9f3029be34d29a65a0c143c30e9a8833ac76434696de2b86aa17a97eb33de", kill_on_drop: false }` [INFO] [stdout] 2ec9f3029be34d29a65a0c143c30e9a8833ac76434696de2b86aa17a97eb33de