[INFO] updating cached repository https://github.com/callum-oakley/advent-of-code-2018 [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9c7bed3ca45abcf2ca8bb39f0593a7ee54e11dee [INFO] checking callum-oakley/advent-of-code-2018 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3dbb1a6370bb9e1850c42973ca81065248261600d4e64596806b478227f04ab1 [INFO] running `"docker" "start" "-a" "3dbb1a6370bb9e1850c42973ca81065248261600d4e64596806b478227f04ab1"` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.44 [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 regex v1.0.6 [INFO] [stderr] Checking advent-of-code-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day03.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | Ok(require_with!( [INFO] [stderr] | ________^ [INFO] [stderr] 68 | | claims.iter().find(|c| c.squares().all(|s| fabric[&s] == 1)), [INFO] [stderr] 69 | | "all claims overlap!" [INFO] [stderr] 70 | | ) [INFO] [stderr] | |_____^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day04.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | match require_with!(s.chars().next(), "empty event") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed for `&str` [INFO] [stderr] --> src/day04.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | let mut raw_logs = input.trim().lines().map(|l| l.trim()).collect::>(); [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&str`, where the type parameter `str` is specified [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day08.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let no_of_children = require_with!(ns.next(), "couldn't create node"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day03.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | Ok(require_with!( [INFO] [stderr] | ________^ [INFO] [stderr] 68 | | claims.iter().find(|c| c.squares().all(|s| fabric[&s] == 1)), [INFO] [stderr] 69 | | "all claims overlap!" [INFO] [stderr] 70 | | ) [INFO] [stderr] | |_____^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day04.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | match require_with!(s.chars().next(), "empty event") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0283]: type annotations needed for `&str` [INFO] [stderr] --> src/day04.rs:76:50 [INFO] [stderr] | [INFO] [stderr] 76 | let mut raw_logs = input.trim().lines().map(|l| l.trim()).collect::>(); [INFO] [stderr] | ^ consider giving this closure parameter the explicit type `&str`, where the type parameter `str` is specified [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [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] [stderr] error[E0283]: type annotations needed [INFO] [stderr] --> src/day08.rs:10:30 [INFO] [stderr] | [INFO] [stderr] 10 | let no_of_children = require_with!(ns.next(), "couldn't create node"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `str` [INFO] [stderr] | [INFO] [stderr] = note: cannot satisfy `str: std::convert::AsRef<_>` [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0283`. [INFO] [stderr] error: could not compile `advent-of-code-2018`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3dbb1a6370bb9e1850c42973ca81065248261600d4e64596806b478227f04ab1"` [INFO] running `"docker" "rm" "-f" "3dbb1a6370bb9e1850c42973ca81065248261600d4e64596806b478227f04ab1"` [INFO] [stdout] 3dbb1a6370bb9e1850c42973ca81065248261600d4e64596806b478227f04ab1