[INFO] cloning repository https://github.com/maxdavidson/advent-of-code-2020 [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-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxdavidson%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25838e6c15317d1cf909350b15d4244d51f7c99e [INFO] checking maxdavidson/advent-of-code-2020 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-2020" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxdavidson/advent-of-code-2020 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-2020 [INFO] finished tweaking git repo https://github.com/maxdavidson/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/maxdavidson/advent-of-code-2020 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/maxdavidson/advent-of-code-2020 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 5ae7845e027866ec536d85b39df98a75088efa9439bac1b7ea620aecf930dba0 [INFO] running `Command { std: "docker" "start" "-a" "5ae7845e027866ec536d85b39df98a75088efa9439bac1b7ea620aecf930dba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ae7845e027866ec536d85b39df98a75088efa9439bac1b7ea620aecf930dba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ae7845e027866ec536d85b39df98a75088efa9439bac1b7ea620aecf930dba0", kill_on_drop: false }` [INFO] [stdout] 5ae7845e027866ec536d85b39df98a75088efa9439bac1b7ea620aecf930dba0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] ce2d786a9795b61fd6fa115b9e3aba086a3ca79ea18eafe5ccde75d3274b561a [INFO] running `Command { std: "docker" "start" "-a" "ce2d786a9795b61fd6fa115b9e3aba086a3ca79ea18eafe5ccde75d3274b561a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling pcre2-sys v0.2.5 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking pcre2 v0.2.3 [INFO] [stderr] Checking advent-of-code-2020 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | input.trim().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:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | input.trim().lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 3 | 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/day01/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | input.trim().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:3:45 [INFO] [stdout] | [INFO] [stdout] 3 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | input.trim().lines().filter_map(|line| line.parse().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound... [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_lines<'a, T: std::str::FromStr + 'a>(input: &str) -> impl Iterator + '_ { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [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-2020` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [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-2020` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ce2d786a9795b61fd6fa115b9e3aba086a3ca79ea18eafe5ccde75d3274b561a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce2d786a9795b61fd6fa115b9e3aba086a3ca79ea18eafe5ccde75d3274b561a", kill_on_drop: false }` [INFO] [stdout] ce2d786a9795b61fd6fa115b9e3aba086a3ca79ea18eafe5ccde75d3274b561a