[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] testing callum-oakley/advent-of-code-2018 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "fetch" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] e7878fd0c7c762eb7783c6681124254d048de507ed537c534b0529865dad6515 [INFO] running `Command { std: "docker" "start" "-a" "e7878fd0c7c762eb7783c6681124254d048de507ed537c534b0529865dad6515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7878fd0c7c762eb7783c6681124254d048de507ed537c534b0529865dad6515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7878fd0c7c762eb7783c6681124254d048de507ed537c534b0529865dad6515", kill_on_drop: false }` [INFO] [stdout] e7878fd0c7c762eb7783c6681124254d048de507ed537c534b0529865dad6515 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] b0393a86b8a48d404e79b2cf10276ad032c518f7759dc75bb9c2c040021077d8 [INFO] running `Command { std: "docker" "start" "-a" "b0393a86b8a48d404e79b2cf10276ad032c518f7759dc75bb9c2c040021077d8", kill_on_drop: false }` [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] [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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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] | |_____^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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 reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (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:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | .entry(require_with!(on_duty, "no guard on duty!")) [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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | .entry(require_with!(on_duty, "no guard on duty!")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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 reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (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:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let no_of_metadata = 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: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`: [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] - impl AsRef<[u8]> for str; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: this error originates in the macro `require_with` (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:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let no_of_metadata = require_with!(ns.next(), "couldn't create node"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for reference `&_` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: ~const From<&_>` found in the `alloc` crate: [INFO] [stdout] - impl<> From<&String> for String; [INFO] [stdout] - impl<> From<&str> for String; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&_` [INFO] [stdout] note: required by a bound in `SimpleError::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/simple-error-0.1.12/src/lib.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new>(t: T) -> SimpleError { [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `SimpleError::new` [INFO] [stdout] = note: this error originates in the macro `require_with` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 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` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "b0393a86b8a48d404e79b2cf10276ad032c518f7759dc75bb9c2c040021077d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0393a86b8a48d404e79b2cf10276ad032c518f7759dc75bb9c2c040021077d8", kill_on_drop: false }` [INFO] [stdout] b0393a86b8a48d404e79b2cf10276ad032c518f7759dc75bb9c2c040021077d8