[INFO] cloning repository https://github.com/sdzharkov/AdventOfCode2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sdzharkov/AdventOfCode2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdzharkov%2FAdventOfCode2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdzharkov%2FAdventOfCode2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f23473eb00b321a8ed8d6893ba88099903fd813 [INFO] checking sdzharkov/AdventOfCode2019 against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsdzharkov%2FAdventOfCode2019" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sdzharkov/AdventOfCode2019 [INFO] finished tweaking git repo https://github.com/sdzharkov/AdventOfCode2019 [INFO] tweaked toml for git repo https://github.com/sdzharkov/AdventOfCode2019 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sdzharkov/AdventOfCode2019 on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sdzharkov/AdventOfCode2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 877e1f2849047947c0adb6c4ba0b77408334ad554cb53d0bc59241ae8d687eb5 [INFO] running `Command { std: "docker" "start" "-a" "877e1f2849047947c0adb6c4ba0b77408334ad554cb53d0bc59241ae8d687eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "877e1f2849047947c0adb6c4ba0b77408334ad554cb53d0bc59241ae8d687eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "877e1f2849047947c0adb6c4ba0b77408334ad554cb53d0bc59241ae8d687eb5", kill_on_drop: false }` [INFO] [stdout] 877e1f2849047947c0adb6c4ba0b77408334ad554cb53d0bc59241ae8d687eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 339912d0da78fb436e6ae5aa8d25db93b890086c3cc641f775bcdb6f40b13b20 [INFO] running `Command { std: "docker" "start" "-a" "339912d0da78fb436e6ae5aa8d25db93b890086c3cc641f775bcdb6f40b13b20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking aoc-runner v0.3.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling aoc-runner-internal v0.1.0 [INFO] [stderr] Compiling aoc-runner-derive v0.3.0 [INFO] [stderr] Checking advent_of_code_2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `coordinates` is never read [INFO] [stdout] --> src/day3.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 44 | struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 45 | coordinates: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day3.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse<'a>(contents: &'a String) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn parse<'a>(contents: &'a String) -> (Vec<&'a str>, Vec<&'a str>) { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `coordinates` is never read [INFO] [stdout] --> src/day3.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 44 | struct Path { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 45 | coordinates: HashSet, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/day3.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | fn parse<'a>(contents: &'a String) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^ ---- ---- the lifetimes get resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'a` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | fn parse<'a>(contents: &'a String) -> (Vec<&'a str>, Vec<&'a str>) { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.50s [INFO] running `Command { std: "docker" "inspect" "339912d0da78fb436e6ae5aa8d25db93b890086c3cc641f775bcdb6f40b13b20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339912d0da78fb436e6ae5aa8d25db93b890086c3cc641f775bcdb6f40b13b20", kill_on_drop: false }` [INFO] [stdout] 339912d0da78fb436e6ae5aa8d25db93b890086c3cc641f775bcdb6f40b13b20