[INFO] cloning repository https://github.com/regalk13/AdventOfCode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/regalk13/AdventOfCode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregalk13%2FAdventOfCode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregalk13%2FAdventOfCode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5eb12b6f46f21027af3dd66e007f6281dd0bfec [INFO] building regalk13/AdventOfCode against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fregalk13%2FAdventOfCode" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/regalk13/AdventOfCode [INFO] finished tweaking git repo https://github.com/regalk13/AdventOfCode [INFO] tweaked toml for git repo https://github.com/regalk13/AdventOfCode written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/regalk13/AdventOfCode on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/regalk13/AdventOfCode 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 225b06f2f10f03ca49d94b67bba250cfbd80c7810c536ad81a6ad89588481c56 [INFO] running `Command { std: "docker" "start" "-a" "225b06f2f10f03ca49d94b67bba250cfbd80c7810c536ad81a6ad89588481c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "225b06f2f10f03ca49d94b67bba250cfbd80c7810c536ad81a6ad89588481c56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225b06f2f10f03ca49d94b67bba250cfbd80c7810c536ad81a6ad89588481c56", kill_on_drop: false }` [INFO] [stdout] 225b06f2f10f03ca49d94b67bba250cfbd80c7810c536ad81a6ad89588481c56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 366c7202909b3bcdbb09925ce4d9ea2064607ee6c52d72753f2581685f328004 [INFO] running `Command { std: "docker" "start" "-a" "366c7202909b3bcdbb09925ce4d9ea2064607ee6c52d72753f2581685f328004", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling deprecate-until v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pathfinding v4.11.0 [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/aoc2022/day03.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `anychar`, `is_alphabetic`, `many1`, and `one_of` [INFO] [stdout] --> src/aoc2022/day07.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | complete::{alpha1, anychar, newline, one_of}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | is_alphabetic, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | }, [INFO] [stdout] 11 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::verify`, `digit1`, `is_a`, `many1`, and `separated_pair` [INFO] [stdout] --> src/aoc2022/day10.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::complete::{is_a, tag}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | character::complete::{self, alpha1, digit1, newline}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 8 | combinator::verify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sequence::{preceded, separated_pair}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/aoc2022/day10.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{BTreeMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_x` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut sign_x = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_y` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut sign_y = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_x` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut sign_x = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_y` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sign_y = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/aoc2022/day11.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | for i in 0..10_000 { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 138 | for _i in 0..10_000 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FACE_SIZE` [INFO] [stdout] | [INFO] [stdout] 138 - for i in 0..10_000 { [INFO] [stdout] 138 + for aoc2022::day22::Instruction::move_cube_edge::FACE_SIZE in 0..10_000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new` is never read [INFO] [stdout] --> src/aoc2022/day11.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let mut new = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/aoc2022/day11.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | for i in 0..20 { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 186 | for _i in 0..20 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FACE_SIZE` [INFO] [stdout] | [INFO] [stdout] 186 - for i in 0..20 { [INFO] [stdout] 186 + for aoc2022::day22::Instruction::move_cube_edge::FACE_SIZE in 0..20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new` is never read [INFO] [stdout] --> src/aoc2022/day11.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | let mut new = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/aoc2022/day07.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Dir(&'a str), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Files` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Dir(&'a str), [INFO] [stdout] 42 + Dir(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/aoc2022/day07.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 82 | size: u32, [INFO] [stdout] 83 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CTR` is never constructed [INFO] [stdout] --> src/aoc2022/day10.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct CTR { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_cycle`, `clear_positions`, `add_position`, and `draw_row` are never used [INFO] [stdout] --> src/aoc2022/day10.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl CTR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 75 | fn add_cycle(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn clear_positions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn add_position(&mut self, position: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn draw_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn p_valves(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 41 | fn p_valves(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | fn p_valve(input: &str) -> IResult<&str, Valve> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 45 | fn p_valve(input: &str) -> IResult<&str, Valve<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse(input: &str) -> Vec { [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] 59 | fn parse(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | fn file(input: &str) -> IResult<&str, Files> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 45 | fn file(input: &str) -> IResult<&str, Files<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | fn directory(input: &str) -> IResult<&str, Files> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 53 | fn directory(input: &str) -> IResult<&str, Files<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | fn ls(input: &str) -> IResult<&str, Operation> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 58 | fn ls(input: &str) -> IResult<&str, Operation<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | fn cd(input: &str) -> IResult<&str, Operation> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 64 | fn cd(input: &str) -> IResult<&str, Operation<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn commands(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 74 | fn commands(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.95s [INFO] running `Command { std: "docker" "inspect" "366c7202909b3bcdbb09925ce4d9ea2064607ee6c52d72753f2581685f328004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "366c7202909b3bcdbb09925ce4d9ea2064607ee6c52d72753f2581685f328004", kill_on_drop: false }` [INFO] [stdout] 366c7202909b3bcdbb09925ce4d9ea2064607ee6c52d72753f2581685f328004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16f40b5c249b72707e9d0ad0c094d34ede4c717287fb647a18bfb3c3321c6e84 [INFO] running `Command { std: "docker" "start" "-a" "16f40b5c249b72707e9d0ad0c094d34ede4c717287fb647a18bfb3c3321c6e84", kill_on_drop: false }` [INFO] [stderr] Compiling advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/aoc2022/day03.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `anychar`, `is_alphabetic`, `many1`, and `one_of` [INFO] [stdout] --> src/aoc2022/day07.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | complete::{alpha1, anychar, newline, one_of}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 9 | is_alphabetic, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | }, [INFO] [stdout] 11 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::verify`, `digit1`, `is_a`, `many1`, and `separated_pair` [INFO] [stdout] --> src/aoc2022/day10.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | bytes::complete::{is_a, tag}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | character::complete::{self, alpha1, digit1, newline}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 8 | combinator::verify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | multi::{many1, separated_list1}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | sequence::{preceded, separated_pair}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/aoc2022/day10.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::{BTreeMap, HashSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_x` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut sign_x = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_y` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut sign_y = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_x` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut sign_x = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sign_y` is never read [INFO] [stdout] --> src/aoc2022/day09.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let mut sign_y = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/aoc2022/day11.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | for i in 0..10_000 { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 138 | for _i in 0..10_000 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FACE_SIZE` [INFO] [stdout] | [INFO] [stdout] 138 - for i in 0..10_000 { [INFO] [stdout] 138 + for aoc2022::day22::Instruction::move_cube_edge::FACE_SIZE in 0..10_000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new` is never read [INFO] [stdout] --> src/aoc2022/day11.rs:144:29 [INFO] [stdout] | [INFO] [stdout] 144 | let mut new = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/aoc2022/day11.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | for i in 0..20 { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 186 | for _i in 0..20 { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FACE_SIZE` [INFO] [stdout] | [INFO] [stdout] 186 - for i in 0..20 { [INFO] [stdout] 186 + for aoc2022::day22::Instruction::move_cube_edge::FACE_SIZE in 0..20 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `new` is never read [INFO] [stdout] --> src/aoc2022/day11.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | let mut new = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/aoc2022/day07.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | Dir(&'a str), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Files` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Dir(&'a str), [INFO] [stdout] 42 + Dir(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/aoc2022/day07.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 82 | size: u32, [INFO] [stdout] 83 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CTR` is never constructed [INFO] [stdout] --> src/aoc2022/day10.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct CTR { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_cycle`, `clear_positions`, `add_position`, and `draw_row` are never used [INFO] [stdout] --> src/aoc2022/day10.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl CTR { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 75 | fn add_cycle(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn clear_positions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn add_position(&mut self, position: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn draw_row(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | fn file(input: &str) -> IResult<&str, Files> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 45 | fn file(input: &str) -> IResult<&str, Files<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | fn directory(input: &str) -> IResult<&str, Files> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 53 | fn directory(input: &str) -> IResult<&str, Files<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | fn ls(input: &str) -> IResult<&str, Operation> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 58 | fn ls(input: &str) -> IResult<&str, Operation<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | fn cd(input: &str) -> IResult<&str, Operation> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 64 | fn cd(input: &str) -> IResult<&str, Operation<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day07.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn commands(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 74 | fn commands(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | fn p_valves(input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 41 | fn p_valves(input: &str) -> IResult<&str, Vec>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | fn p_valve(input: &str) -> IResult<&str, Valve> { [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [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] 45 | fn p_valve(input: &str) -> IResult<&str, Valve<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/aoc2022/day16.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse(input: &str) -> Vec { [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] 59 | fn parse(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "16f40b5c249b72707e9d0ad0c094d34ede4c717287fb647a18bfb3c3321c6e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16f40b5c249b72707e9d0ad0c094d34ede4c717287fb647a18bfb3c3321c6e84", kill_on_drop: false }` [INFO] [stdout] 16f40b5c249b72707e9d0ad0c094d34ede4c717287fb647a18bfb3c3321c6e84