[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcallum-oakley%2Fadvent-of-code-2018" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/callum-oakley/advent-of-code-2018 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-98/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21c76870268e14f54d2428c49e71f9e63c6bb8515be8f65d6d6988d9f23ba37c [INFO] running `Command { std: "docker" "start" "-a" "21c76870268e14f54d2428c49e71f9e63c6bb8515be8f65d6d6988d9f23ba37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21c76870268e14f54d2428c49e71f9e63c6bb8515be8f65d6d6988d9f23ba37c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c76870268e14f54d2428c49e71f9e63c6bb8515be8f65d6d6988d9f23ba37c", kill_on_drop: false }` [INFO] [stdout] 21c76870268e14f54d2428c49e71f9e63c6bb8515be8f65d6d6988d9f23ba37c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f97a9d8777ef4250df453cf1df9677348319dd358f20d133b1e30d700be4d049 [INFO] running `Command { std: "docker" "start" "-a" "f97a9d8777ef4250df453cf1df9677348319dd358f20d133b1e30d700be4d049", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling simple-error v0.1.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling memchr v2.1.1 [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: 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: 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: 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: 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: 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: 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" "f97a9d8777ef4250df453cf1df9677348319dd358f20d133b1e30d700be4d049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97a9d8777ef4250df453cf1df9677348319dd358f20d133b1e30d700be4d049", kill_on_drop: false }` [INFO] [stdout] f97a9d8777ef4250df453cf1df9677348319dd358f20d133b1e30d700be4d049