[INFO] cloning repository https://github.com/nwforrer/advent_of_code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nwforrer/advent_of_code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwforrer%2Fadvent_of_code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwforrer%2Fadvent_of_code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba4f08ee07ad3e155e1098f5619493a00419dda6 [INFO] testing nwforrer/advent_of_code against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnwforrer%2Fadvent_of_code" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nwforrer/advent_of_code [INFO] finished tweaking git repo https://github.com/nwforrer/advent_of_code [INFO] tweaked toml for git repo https://github.com/nwforrer/advent_of_code written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nwforrer/advent_of_code on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nwforrer/advent_of_code 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a9f6dad010ea04fbff18ccf6e145f31ad81ec3c45bfe4bfd9a80ed405eb875e [INFO] running `Command { std: "docker" "start" "-a" "7a9f6dad010ea04fbff18ccf6e145f31ad81ec3c45bfe4bfd9a80ed405eb875e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a9f6dad010ea04fbff18ccf6e145f31ad81ec3c45bfe4bfd9a80ed405eb875e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9f6dad010ea04fbff18ccf6e145f31ad81ec3c45bfe4bfd9a80ed405eb875e", kill_on_drop: false }` [INFO] [stdout] 7a9f6dad010ea04fbff18ccf6e145f31ad81ec3c45bfe4bfd9a80ed405eb875e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba2bc6d72593467c946fcfefe4a8654771459e36fbfa99b41c0ef82af9048221 [INFO] running `Command { std: "docker" "start" "-a" "ba2bc6d72593467c946fcfefe4a8654771459e36fbfa99b41c0ef82af9048221", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut target_bag = "shiny gold"; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bsp`, `row`, and `col` are never read [INFO] [stdout] --> src/aoc2020/day05.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct BoardingPass<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | pub bsp: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | pub row: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | pub col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day02.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day04.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day05.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day07.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.79s [INFO] running `Command { std: "docker" "inspect" "ba2bc6d72593467c946fcfefe4a8654771459e36fbfa99b41c0ef82af9048221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba2bc6d72593467c946fcfefe4a8654771459e36fbfa99b41c0ef82af9048221", kill_on_drop: false }` [INFO] [stdout] ba2bc6d72593467c946fcfefe4a8654771459e36fbfa99b41c0ef82af9048221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c91271b64371dc31ae337b2fcf257507cdc1caa5c51b7aec488c24dc6d096af [INFO] running `Command { std: "docker" "start" "-a" "1c91271b64371dc31ae337b2fcf257507cdc1caa5c51b7aec488c24dc6d096af", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut target_bag = "shiny gold"; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bsp`, `row`, and `col` are never read [INFO] [stdout] --> src/aoc2020/day05.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct BoardingPass<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | pub bsp: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | pub row: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | pub col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day02.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day04.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day05.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day07.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/aoc2020/day07.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut target_bag = "shiny gold"; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/aoc2020/day07.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut result = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bsp`, `row`, and `col` are never read [INFO] [stdout] --> src/aoc2020/day05.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | struct BoardingPass<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 4 | pub bsp: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | pub row: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | pub col: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day02.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result> { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(rule_entry: &str) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day04.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result> { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(lines: Vec<&str>) -> Result, Box> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day05.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn new(bsp: &str) -> BoardingPass<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2020/day07.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 13 | fn new(line: &str) -> Bag<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "1c91271b64371dc31ae337b2fcf257507cdc1caa5c51b7aec488c24dc6d096af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c91271b64371dc31ae337b2fcf257507cdc1caa5c51b7aec488c24dc6d096af", kill_on_drop: false }` [INFO] [stdout] 1c91271b64371dc31ae337b2fcf257507cdc1caa5c51b7aec488c24dc6d096af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b4c80437c53e31a962c762076d8de6ee27636fc65408b1cac65b1ea96f0248a [INFO] running `Command { std: "docker" "start" "-a" "3b4c80437c53e31a962c762076d8de6ee27636fc65408b1cac65b1ea96f0248a", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aoc2020/day07.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let mut result = 0; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/aoc2020/day07.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | let mut target_bag = "shiny gold"; [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/aoc2020/day07.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let mut result = 0; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `bsp`, `row`, and `col` are never read [INFO] [stderr] --> src/aoc2020/day05.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 3 | struct BoardingPass<'a> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 4 | pub bsp: &'a str, [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | pub row: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] 6 | pub col: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aoc2020/day02.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(rule_entry: &str) -> Result> { [INFO] [stderr] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(rule_entry: &str) -> Result, Box> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aoc2020/day04.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(lines: Vec<&str>) -> Result> { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new(lines: Vec<&str>) -> Result, Box> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aoc2020/day05.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | fn new(bsp: &str) -> BoardingPass { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | fn new(bsp: &str) -> BoardingPass<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/aoc2020/day07.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 13 | fn new(line: &str) -> Bag { [INFO] [stderr] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | fn new(line: &str) -> Bag<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `advent_of_code` (lib) generated 8 warnings (run `cargo fix --lib -p advent_of_code` to apply 7 suggestions) [INFO] [stderr] warning: `advent_of_code` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/advent_of_code-618cb84e2d2723c0) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test aoc2020::day05::tests::test_parse_bsp_row ... ok [INFO] [stdout] test aoc2020::day05::tests::test_parse_bsp_col ... ok [INFO] [stdout] test aoc2020::day03::tests::test_run ... ok [INFO] [stdout] test aoc2020::day05::tests::test_run ... ok [INFO] [stdout] test aoc2020::day02::tests::test_run ... ok [INFO] [stdout] test aoc2020::day07::tests::test_regex_two_bags ... ok [INFO] [stdout] test aoc2020::day07::tests::test_bag_creation ... ok [INFO] [stdout] test aoc2020::day07::tests::test_regex_one_bag ... ok [INFO] [stdout] test aoc2020::day06::tests::test_run ... ok [INFO] [stdout] test aoc2020::day04::tests::test_run ... ok [INFO] [stdout] test aoc2020::day07::tests::test_part1 ... ok [INFO] [stdout] test aoc2020::day01::tests::part1 ... ok [INFO] [stdout] test aoc2020::day07::tests::test_part2 has been running for over 60 seconds [INFO] [stdout] test aoc2020::day07::tests::test_run has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "3b4c80437c53e31a962c762076d8de6ee27636fc65408b1cac65b1ea96f0248a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4c80437c53e31a962c762076d8de6ee27636fc65408b1cac65b1ea96f0248a", kill_on_drop: false }` [INFO] [stdout] 3b4c80437c53e31a962c762076d8de6ee27636fc65408b1cac65b1ea96f0248a