[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-7/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] da1b4a80c2dfb20efa235c59eb6f6b2abc8d7294af949025e8f7c2fbef0c28d1 [INFO] running `Command { std: "docker" "start" "-a" "da1b4a80c2dfb20efa235c59eb6f6b2abc8d7294af949025e8f7c2fbef0c28d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da1b4a80c2dfb20efa235c59eb6f6b2abc8d7294af949025e8f7c2fbef0c28d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1b4a80c2dfb20efa235c59eb6f6b2abc8d7294af949025e8f7c2fbef0c28d1", kill_on_drop: false }` [INFO] [stdout] da1b4a80c2dfb20efa235c59eb6f6b2abc8d7294af949025e8f7c2fbef0c28d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] e322ba0f20b2cff33ac0e4222ecdc4465ed04b0cb02cee47d27b4ed00a63cc4f [INFO] running `Command { std: "docker" "start" "-a" "e322ba0f20b2cff33ac0e4222ecdc4465ed04b0cb02cee47d27b4ed00a63cc4f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking simple-error v0.1.12 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.3 [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] | | ^ [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: 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] [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] [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] [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" "e322ba0f20b2cff33ac0e4222ecdc4465ed04b0cb02cee47d27b4ed00a63cc4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e322ba0f20b2cff33ac0e4222ecdc4465ed04b0cb02cee47d27b4ed00a63cc4f", kill_on_drop: false }` [INFO] [stdout] e322ba0f20b2cff33ac0e4222ecdc4465ed04b0cb02cee47d27b4ed00a63cc4f