[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 try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "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-1/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" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-error v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 645b065c4745a9a1f9d7c5e0689e382070b092bd414ac655d6cd228f44f4dda6 [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" "645b065c4745a9a1f9d7c5e0689e382070b092bd414ac655d6cd228f44f4dda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "645b065c4745a9a1f9d7c5e0689e382070b092bd414ac655d6cd228f44f4dda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645b065c4745a9a1f9d7c5e0689e382070b092bd414ac655d6cd228f44f4dda6", kill_on_drop: false }` [INFO] [stdout] 645b065c4745a9a1f9d7c5e0689e382070b092bd414ac655d6cd228f44f4dda6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27d8d11155fec3def5c60a99a634b16cec96c09cc7f73da267ddf3d1d72462e8 [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" "27d8d11155fec3def5c60a99a634b16cec96c09cc7f73da267ddf3d1d72462e8", kill_on_drop: false }` [INFO] [stderr] Checking simple-error v0.1.12 [INFO] [stderr] Checking regex v1.0.6 [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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | for m in require_with!(fell_asleep_at.take(), "guard not asleep!")..log.minute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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/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] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | for m in require_with!(fell_asleep_at.take(), "guard not asleep!")..log.minute { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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/day08.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let no_of_children = require_with!(ns.next(), "couldn't create node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | cannot infer type for type parameter `T` declared on the trait `AsRef` [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] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "27d8d11155fec3def5c60a99a634b16cec96c09cc7f73da267ddf3d1d72462e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27d8d11155fec3def5c60a99a634b16cec96c09cc7f73da267ddf3d1d72462e8", kill_on_drop: false }` [INFO] [stdout] 27d8d11155fec3def5c60a99a634b16cec96c09cc7f73da267ddf3d1d72462e8