[INFO] cloning repository https://github.com/callum-oakley/advent-of-code-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/callum-oakley/advent-of-code-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c7bed3ca45abcf2ca8bb39f0593a7ee54e11dee [INFO] checking callum-oakley/advent-of-code-2018 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/callum-oakley/advent-of-code-2018 [INFO] finished tweaking git repo https://github.com/callum-oakley/advent-of-code-2018 [INFO] tweaked toml for git repo https://github.com/callum-oakley/advent-of-code-2018 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/callum-oakley/advent-of-code-2018 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e530ff30edb1b70b8d8bd5883d835d2cfce1f91dfe6c0a07ca58ab1b1e37b3b5 [INFO] running `Command { std: "docker" "start" "-a" "e530ff30edb1b70b8d8bd5883d835d2cfce1f91dfe6c0a07ca58ab1b1e37b3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e530ff30edb1b70b8d8bd5883d835d2cfce1f91dfe6c0a07ca58ab1b1e37b3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e530ff30edb1b70b8d8bd5883d835d2cfce1f91dfe6c0a07ca58ab1b1e37b3b5", kill_on_drop: false }` [INFO] [stdout] e530ff30edb1b70b8d8bd5883d835d2cfce1f91dfe6c0a07ca58ab1b1e37b3b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6eafde40447cf4170c06317661dc38b596607b5a6efbd8636a7aab6b6811cac [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" "f6eafde40447cf4170c06317661dc38b596607b5a6efbd8636a7aab6b6811cac", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking simple-error v0.1.12 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking advent-of-code-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/day03.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(require_with!( [INFO] [stdout] | ________^ [INFO] [stdout] 68 | | claims.iter().find(|c| c.squares().all(|s| fabric[&s] == 1)), [INFO] [stdout] 69 | | "all claims overlap!" [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/day04.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | match require_with!(s.chars().next(), "empty event") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Vec<&str>` [INFO] [stdout] --> src/day04.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 76 | let mut raw_logs = input.trim().lines().map(|l| l.trim()).collect::>(); [INFO] [stdout] | ------------ consider giving `raw_logs` the explicit type `Vec<&str>`, where the type parameter `str` is specified [INFO] [stdout] ... [INFO] [stdout] 93 | for m in require_with!(fell_asleep_at.take(), "guard not asleep!")..log.minute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/day08.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let no_of_children = require_with!(ns.next(), "couldn't create node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2018` [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] error[E0283]: type annotations needed [INFO] [stdout] --> src/day03.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | Ok(require_with!( [INFO] [stdout] | ________^ [INFO] [stdout] 68 | | claims.iter().find(|c| c.squares().all(|s| fabric[&s] == 1)), [INFO] [stdout] 69 | | "all claims overlap!" [INFO] [stdout] 70 | | ) [INFO] [stdout] | |_____^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/day04.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | match require_with!(s.chars().next(), "empty event") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `Vec<&str>` [INFO] [stdout] --> src/day04.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 76 | let mut raw_logs = input.trim().lines().map(|l| l.trim()).collect::>(); [INFO] [stdout] | ------------ consider giving `raw_logs` the explicit type `Vec<&str>`, where the type parameter `str` is specified [INFO] [stdout] ... [INFO] [stdout] 93 | for m in require_with!(fell_asleep_at.take(), "guard not asleep!")..log.minute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/day08.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let no_of_children = require_with!(ns.next(), "couldn't create node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `str: AsRef<_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f6eafde40447cf4170c06317661dc38b596607b5a6efbd8636a7aab6b6811cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6eafde40447cf4170c06317661dc38b596607b5a6efbd8636a7aab6b6811cac", kill_on_drop: false }` [INFO] [stdout] f6eafde40447cf4170c06317661dc38b596607b5a6efbd8636a7aab6b6811cac