[INFO] cloning repository https://github.com/gpwclark/learnrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gpwclark/learnrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc02c9b4e669a3865709ba3108457a9e86a8df2b
[INFO] checking gpwclark/learnrust against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgpwclark%2Flearnrust" "/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/gpwclark/learnrust
[INFO] finished tweaking git repo https://github.com/gpwclark/learnrust
[INFO] tweaked toml for git repo https://github.com/gpwclark/learnrust written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gpwclark/learnrust on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gpwclark/learnrust 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `learn` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a
[INFO] running `Command { std: "docker" "start" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a", 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" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a", 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" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `learn` (manifest) generated 1 warning
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling serde_derive v1.0.125
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling libc v0.2.92
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]     Checking regex-syntax v0.6.23
[INFO] [stderr]     Checking directories v0.10.0
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking regex v1.4.5
[INFO] [stderr]    Compiling enum-display-derive v0.1.1
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking confy v0.3.1
[INFO] [stderr]     Checking learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/advent_of_code/mod.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   if let Ok(item) = l.parse() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bar` and `tup` are never read
[INFO] [stdout]  --> src/data_structures/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct MyStruct {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 4 |         foo: String,
[INFO] [stdout] 5 |         bar: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |         tup: (u32, u32),
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyStruct` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/advent_of_code/mod.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 | ...                   if let Ok(item) = l.parse() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Password` is never constructed
[INFO] [stdout]   --> src/advent_of_code/mod.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub struct Password {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `make_password`, `is_valid_new`, and `is_valid` are never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:55:16
[INFO] [stdout]     |
[INFO] [stdout]  54 |     impl Password {
[INFO] [stdout]     |     ------------- associated items in this implementation
[INFO] [stdout]  55 |         pub fn new(line: &str) -> Option<Password> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |         fn make_password(line: &str) -> Option<Password> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  82 |         pub fn is_valid_new(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |         pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_1` is never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:205:12
[INFO] [stdout]     |
[INFO] [stdout] 205 |     pub fn solve_puzzle_1() -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_2` is never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 |     pub fn solve_puzzle_2() -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CircArr` is never constructed
[INFO] [stdout]    --> src/advent_of_code/mod.rs:235:16
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub struct CircArr {
[INFO] [stdout]     |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `get` are never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:242:16
[INFO] [stdout]     |
[INFO] [stdout] 241 |     impl CircArr {
[INFO] [stdout]     |     ------------ associated items in this implementation
[INFO] [stdout] 242 |         pub fn new(arr: Vec<u8>) -> CircArr {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 248 |         pub fn get(&self, idx: usize) -> u8 {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_1` is never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:278:12
[INFO] [stdout]     |
[INFO] [stdout] 278 |     pub fn solve_puzzle_1() -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `solve_puzzle_2` is never used
[INFO] [stdout]    --> src/advent_of_code/mod.rs:300:12
[INFO] [stdout]     |
[INFO] [stdout] 300 |     pub fn solve_puzzle_2() {}
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `bar` and `tup` are never read
[INFO] [stdout]  --> src/data_structures/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct MyStruct {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 4 |         foo: String,
[INFO] [stdout] 5 |         bar: bool,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |         tup: (u32, u32),
[INFO] [stdout]   |         ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MyStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.26s
[INFO] running `Command { std: "docker" "inspect" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a", kill_on_drop: false }`
[INFO] [stdout] 1e3fda6d844f34ead10f6f7258db4b0d30388e1af24b2f26bfc254895bd90e1a
