[INFO] cloning repository https://github.com/Niphram/aoc2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Niphram/aoc2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiphram%2Faoc2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiphram%2Faoc2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 426a6b945f96a6eeb5c91eeb86e34f24e3982b23 [INFO] checking Niphram/aoc2022 against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNiphram%2Faoc2022" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Niphram/aoc2022 [INFO] finished tweaking git repo https://github.com/Niphram/aoc2022 [INFO] tweaked toml for git repo https://github.com/Niphram/aoc2022 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Niphram/aoc2022 on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Niphram/aoc2022 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused field `authors` in `workspace.package` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | authors = ["Niphram"] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.authors` [INFO] [stderr] warning: unused field `description` in `workspace.package` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | description = "Solutions for the Advent of Code 2022" [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.description` [INFO] [stderr] warning: unused field `version` in `workspace.package` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | version = "1.0.0" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.version` [INFO] [stderr] warning: workspace (manifest) generated 3 warnings [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125 [INFO] running `Command { std: "docker" "start" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused field `authors` in `workspace.package` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | authors = ["Niphram"] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.authors` [INFO] [stderr] warning: unused field `description` in `workspace.package` [INFO] [stderr] --> Cargo.toml:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | description = "Solutions for the Advent of Code 2022" [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.description` [INFO] [stderr] warning: unused field `version` in `workspace.package` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | version = "1.0.0" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.version` [INFO] [stderr] warning: workspace (manifest) generated 3 warnings [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking day-7 v0.1.0 (/opt/rustwide/workdir/day-7) [INFO] [stderr] Checking day-8 v0.1.0 (/opt/rustwide/workdir/day-8) [INFO] [stderr] Checking day-9 v0.1.0 (/opt/rustwide/workdir/day-9) [INFO] [stderr] Checking day-14 v0.1.0 (/opt/rustwide/workdir/day-14) [INFO] [stderr] Checking day-1 v0.1.0 (/opt/rustwide/workdir/day-1) [INFO] [stderr] Checking day-15 v0.1.0 (/opt/rustwide/workdir/day-15) [INFO] [stderr] Checking day-17 v0.1.0 (/opt/rustwide/workdir/day-17) [INFO] [stderr] Checking day-10 v0.1.0 (/opt/rustwide/workdir/day-10) [INFO] [stderr] Checking day-11 v0.1.0 (/opt/rustwide/workdir/day-11) [INFO] [stdout] warning: unused import: `ops::SubAssign` [INFO] [stdout] --> day-17/src/main.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, fmt::Display, ops::SubAssign, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day-18 v0.1.0 (/opt/rustwide/workdir/day-18) [INFO] [stderr] Checking day-12 v0.1.0 (/opt/rustwide/workdir/day-12) [INFO] [stderr] Checking day-2 v0.1.0 (/opt/rustwide/workdir/day-2) [INFO] [stderr] Checking day-25 v0.1.0 (/opt/rustwide/workdir/day-25) [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> day-7/src/main.rs:130:59 [INFO] [stdout] | [INFO] [stdout] 130 | ... cur_dir.borrow_mut().add_file(name.into(), size); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 130 - cur_dir.borrow_mut().add_file(name.into(), size); [INFO] [stdout] 130 + cur_dir.borrow_mut().add_file(name, size); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 130 - cur_dir.borrow_mut().add_file(name.into(), size); [INFO] [stdout] 130 + cur_dir.borrow_mut().add_file(<&str as Into<_>>::into(name), size); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> day-7/src/main.rs:134:58 [INFO] [stdout] | [INFO] [stdout] 134 | ... cur_dir.borrow_mut().add_dir(name.into(), subdir); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 134 - cur_dir.borrow_mut().add_dir(name.into(), subdir); [INFO] [stdout] 134 + cur_dir.borrow_mut().add_dir(name, subdir); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 134 - cur_dir.borrow_mut().add_dir(name.into(), subdir); [INFO] [stdout] 134 + cur_dir.borrow_mut().add_dir(<&str as Into<_>>::into(name), subdir); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> day-7/src/main.rs:153:66 [INFO] [stdout] | [INFO] [stdout] 153 | let subdir = cur_dir.borrow_mut().get_subdir(d.into()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 153 - let subdir = cur_dir.borrow_mut().get_subdir(d.into()); [INFO] [stdout] 153 + let subdir = cur_dir.borrow_mut().get_subdir(d); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 153 - let subdir = cur_dir.borrow_mut().get_subdir(d.into()); [INFO] [stdout] 153 + let subdir = cur_dir.borrow_mut().get_subdir(<&str as Into<_>>::into(d)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> day-7/src/main.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_input(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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | fn parse_input(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> day-7/src/main.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | fn parse_dir(input: &str) -> Directory { [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] 118 | fn parse_dir(input: &str) -> Directory<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day-7` (bin "day-7" test) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125", kill_on_drop: false }` [INFO] [stdout] 01a75d422bce04fe739f90f09904748c7f3ea246bec17503599cc7e6ab7ac125