[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] testing callum-oakley/advent-of-code-2018 against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-0/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3f6ee7a0e4e05698a5ecbaca8f1d5261daf535d1f79921accf510d01c3153118 [INFO] running `"docker" "start" "-a" "3f6ee7a0e4e05698a5ecbaca8f1d5261daf535d1f79921accf510d01c3153118"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling simple-error v0.1.12 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling 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: 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" "3f6ee7a0e4e05698a5ecbaca8f1d5261daf535d1f79921accf510d01c3153118"` [INFO] running `"docker" "rm" "-f" "3f6ee7a0e4e05698a5ecbaca8f1d5261daf535d1f79921accf510d01c3153118"` [INFO] [stdout] 3f6ee7a0e4e05698a5ecbaca8f1d5261daf535d1f79921accf510d01c3153118