[INFO] cloning repository https://github.com/maxdavidson/advent-of-code-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxdavidson/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9a590c54d0e56e30028387003b6f3ee13ca38a5 [INFO] checking maxdavidson/advent-of-code-2019 against try#0ec6e73c26e84416f7a6c0dacee999279e12896e for pr-84385 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2019" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxdavidson/advent-of-code-2019 on toolchain 0ec6e73c26e84416f7a6c0dacee999279e12896e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxdavidson/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/maxdavidson/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/maxdavidson/advent-of-code-2019 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/maxdavidson/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd2a28bd7a05d13646aa979103206357914eb97fa2e51b5e0a92721a7772e90a [INFO] running `Command { std: "docker" "start" "-a" "cd2a28bd7a05d13646aa979103206357914eb97fa2e51b5e0a92721a7772e90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd2a28bd7a05d13646aa979103206357914eb97fa2e51b5e0a92721a7772e90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd2a28bd7a05d13646aa979103206357914eb97fa2e51b5e0a92721a7772e90a", kill_on_drop: false }` [INFO] [stdout] cd2a28bd7a05d13646aa979103206357914eb97fa2e51b5e0a92721a7772e90a [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+0ec6e73c26e84416f7a6c0dacee999279e12896e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 472d30ed27bb911b4aff19304402d9a8b7c8aebc10d5b2a212b0783999488148 [INFO] running `Command { std: "docker" "start" "-a" "472d30ed27bb911b4aff19304402d9a8b7c8aebc10d5b2a212b0783999488148", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking bytecount v0.6.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking bit-set v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking fancy-regex v0.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day01/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | input.lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day01/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_lines(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day01/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | input.lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_lines<'a, T: std::str::FromStr + 'a>(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day03/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / input.split(',').filter_map(|s| { [INFO] [stdout] 23 | | let (dir, len) = s.trim().split_at(1); [INFO] [stdout] 24 | | Some((Direction::try_from(dir.chars().nth(0)?).ok()?, len.parse().ok()?)) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day03/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn pairs(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day03/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / input.split(',').filter_map(|s| { [INFO] [stdout] 23 | | let (dir, len) = s.trim().split_at(1); [INFO] [stdout] 24 | | Some((Direction::try_from(dir.chars().nth(0)?).ok()?, len.parse().ok()?)) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 21 | fn pairs<'a, T: FromStr + 'a>(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day12/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / RE.captures_iter(input).filter_map(|cap| { [INFO] [stdout] 14 | | Some(Vec3( [INFO] [stdout] 15 | | cap.get(1)?.as_str().parse().ok()?, [INFO] [stdout] 16 | | cap.get(2)?.as_str().parse().ok()?, [INFO] [stdout] 17 | | cap.get(3)?.as_str().parse().ok()?, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day12/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_coords(input: &str) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day12/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / RE.captures_iter(input).filter_map(|cap| { [INFO] [stdout] 14 | | Some(Vec3( [INFO] [stdout] 15 | | cap.get(1)?.as_str().parse().ok()?, [INFO] [stdout] 16 | | cap.get(2)?.as_str().parse().ok()?, [INFO] [stdout] 17 | | cap.get(3)?.as_str().parse().ok()?, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_coords<'a, T: FromStr + 'a>(input: &str) -> impl Iterator> + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day01/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | input.lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day01/mod.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_lines(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day01/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | input.lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_lines<'a, T: std::str::FromStr + 'a>(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day03/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / input.split(',').filter_map(|s| { [INFO] [stdout] 23 | | let (dir, len) = s.trim().split_at(1); [INFO] [stdout] 24 | | Some((Direction::try_from(dir.chars().nth(0)?).ok()?, len.parse().ok()?)) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day03/mod.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | fn pairs(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day03/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / input.split(',').filter_map(|s| { [INFO] [stdout] 23 | | let (dir, len) = s.trim().split_at(1); [INFO] [stdout] 24 | | Some((Direction::try_from(dir.chars().nth(0)?).ok()?, len.parse().ok()?)) [INFO] [stdout] 25 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 21 | fn pairs<'a, T: FromStr + 'a>(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> src/day12/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / RE.captures_iter(input).filter_map(|cap| { [INFO] [stdout] 14 | | Some(Vec3( [INFO] [stdout] 15 | | cap.get(1)?.as_str().parse().ok()?, [INFO] [stdout] 16 | | cap.get(2)?.as_str().parse().ok()?, [INFO] [stdout] 17 | | cap.get(3)?.as_str().parse().ok()?, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] note: the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] --> src/day12/mod.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_coords(input: &str) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] note: ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] --> src/day12/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / RE.captures_iter(input).filter_map(|cap| { [INFO] [stdout] 14 | | Some(Vec3( [INFO] [stdout] 15 | | cap.get(1)?.as_str().parse().ok()?, [INFO] [stdout] 16 | | cap.get(2)?.as_str().parse().ok()?, [INFO] [stdout] 17 | | cap.get(3)?.as_str().parse().ok()?, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 9 | fn parse_coords<'a, T: FromStr + 'a>(input: &str) -> impl Iterator> + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/day17/mod.rs:167:58 [INFO] [stdout] | [INFO] [stdout] 167 | instructions.iter().map(|&i| SEGMENT_SYMBOLS[i]).intersperse(',').chain(once('\n')), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0311`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/day17/mod.rs:167:58 [INFO] [stdout] | [INFO] [stdout] 167 | instructions.iter().map(|&i| SEGMENT_SYMBOLS[i]).intersperse(',').chain(once('\n')), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0311`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2019` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "472d30ed27bb911b4aff19304402d9a8b7c8aebc10d5b2a212b0783999488148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472d30ed27bb911b4aff19304402d9a8b7c8aebc10d5b2a212b0783999488148", kill_on_drop: false }` [INFO] [stdout] 472d30ed27bb911b4aff19304402d9a8b7c8aebc10d5b2a212b0783999488148