[INFO] cloning repository https://github.com/seiryolinux/koushou
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seiryolinux/koushou" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseiryolinux%2Fkoushou", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseiryolinux%2Fkoushou'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] abd12e5785915cf587ca8ed6279178ca605d97b2
[INFO] checking seiryolinux/koushou against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseiryolinux%2Fkoushou" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/seiryolinux/koushou
[INFO] finished tweaking git repo https://github.com/seiryolinux/koushou
[INFO] tweaked toml for git repo https://github.com/seiryolinux/koushou written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/seiryolinux/koushou on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/seiryolinux/koushou 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9
[INFO] running `Command { std: "docker" "start" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9", 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" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9", 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" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking indexmap v2.12.1
[INFO] [stderr]     Checking tracing v0.1.43
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling libsqlite3-sys v0.35.0
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]     Checking iri-string v0.7.9
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling cc v1.2.49
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking console v0.16.1
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking miette v7.6.0
[INFO] [stderr]     Checking rustls-pki-types v1.13.1
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking serde_spanned v1.0.3
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking toml_datetime v0.7.3
[INFO] [stderr]     Checking filetime v0.2.26
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking toml_writer v1.0.4
[INFO] [stderr]     Checking winnow v0.6.24
[INFO] [stderr]     Checking indicatif v0.18.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking rusqlite v0.37.0
[INFO] [stderr]     Checking flate2 v1.1.5
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]     Checking toml_parser v1.0.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking xattr v1.6.1
[INFO] [stderr]     Checking tar v0.4.44
[INFO] [stderr]     Checking toml v0.9.8
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking kdl v6.5.0 (https://github.com/kdl-org/kdl-rs?tag=v6.5.0#268f3a2d)
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking hyper-util v0.1.19
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.25
[INFO] [stderr]     Checking kspkg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/sync.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[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 import: `PathBuf`
[INFO] [stdout]  --> src/resolve.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout]  --> src/depres.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rusqlite::{Connection, params};
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/sync.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[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 import: `PathBuf`
[INFO] [stdout]  --> src/resolve.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `params`
[INFO] [stdout]  --> src/depres.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rusqlite::{Connection, params};
[INFO] [stdout]   |                            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/mkdb.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |     for child_doc in pkg_node.children() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 138 -     for child_doc in pkg_node.children() {
[INFO] [stdout] 138 +     while let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 138 -     for child_doc in pkg_node.children() {
[INFO] [stdout] 138 +     if let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/mkdb.rs:138:22
[INFO] [stdout]     |
[INFO] [stdout] 138 |     for child_doc in pkg_node.children() {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 138 -     for child_doc in pkg_node.children() {
[INFO] [stdout] 138 +     while let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]     |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 138 -     for child_doc in pkg_node.children() {
[INFO] [stdout] 138 +     if let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/depres.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   _ => VersionPredicate::Any,
[INFO] [stdout]     |                       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/depres.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   Some(p) => VersionPredicate::Exact(p.to_string()),
[INFO] [stdout]     |                       ------- matches some of the same values
[INFO] [stdout] 153 | ...                   None => VersionPredicate::Any,
[INFO] [stdout]     |                       ---- matches some of the same values
[INFO] [stdout] 154 | ...                   _ => VersionPredicate::Any,
[INFO] [stdout]     |                       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/depres.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 154 | ...                   _ => VersionPredicate::Any,
[INFO] [stdout]     |                       ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/depres.rs:154:29
[INFO] [stdout]     |
[INFO] [stdout] 152 | ...                   Some(p) => VersionPredicate::Exact(p.to_string()),
[INFO] [stdout]     |                       ------- matches some of the same values
[INFO] [stdout] 153 | ...                   None => VersionPredicate::Any,
[INFO] [stdout]     |                       ---- matches some of the same values
[INFO] [stdout] 154 | ...                   _ => VersionPredicate::Any,
[INFO] [stdout]     |                       ^ collectively making this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `homepage` and `license` are never read
[INFO] [stdout]   --> src/package.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Package {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub homepage: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 14 |     pub license: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `get` and `contains` are never used
[INFO] [stdout]   --> src/pkgdb.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl PackageDatabase {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn get(&self, name: &str) -> Result<&InstalledPackage, PkgDbError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn contains(&self, name: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `version`, `arch`, and `depends` are never read
[INFO] [stdout]   --> src/resolve.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct ResolvedPackage {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 34 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 35 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 36 |     pub arch: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub depends: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResolvedPackage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `key` is never used
[INFO] [stdout]   --> src/depres.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl PackageId {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn key(&self) -> String {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     Exact(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 45 -     Exact(String),
[INFO] [stdout] 45 +     Exact(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |     GreaterOrEqual(String),
[INFO] [stdout]    |     -------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 46 -     GreaterOrEqual(String),
[INFO] [stdout] 46 +     GreaterOrEqual(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     LessThan(String),
[INFO] [stdout]    |     -------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 47 -     LessThan(String),
[INFO] [stdout] 47 +     LessThan(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches` is never used
[INFO] [stdout]   --> src/depres.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl VersionPredicate {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 51 |     pub fn matches(&self, candidate: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `predicate` is never read
[INFO] [stdout]   --> src/depres.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Dependency {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 63 |     pub name: String,
[INFO] [stdout] 64 |     pub predicate: VersionPredicate,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_dependency` is never used
[INFO] [stdout]    --> src/depres.rs:239:4
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn parse_dependency(s: &str) -> Option<(String, Option<String>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/package.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for child_doc in pkg_node.children() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 72 -         for child_doc in pkg_node.children() {
[INFO] [stdout] 72 +         while let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 72 -         for child_doc in pkg_node.children() {
[INFO] [stdout] 72 +         if let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `homepage` and `license` are never read
[INFO] [stdout]   --> src/package.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Package {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub homepage: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 14 |     pub license: Option<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Package` has derived impls for the traits `Clone` and `Debug`, but these are 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: methods `get` and `contains` are never used
[INFO] [stdout]   --> src/pkgdb.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl PackageDatabase {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub fn get(&self, name: &str) -> Result<&InstalledPackage, PkgDbError> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     pub fn contains(&self, name: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `version`, `arch`, and `depends` are never read
[INFO] [stdout]   --> src/resolve.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct ResolvedPackage {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 34 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 35 |     pub version: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 36 |     pub arch: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub depends: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResolvedPackage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `key` is never used
[INFO] [stdout]   --> src/depres.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl PackageId {
[INFO] [stdout]    | -------------- method in this implementation
[INFO] [stdout] 37 |     pub fn key(&self) -> String {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 45 |     Exact(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 45 -     Exact(String),
[INFO] [stdout] 45 +     Exact(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:46:20
[INFO] [stdout]    |
[INFO] [stdout] 46 |     GreaterOrEqual(String),
[INFO] [stdout]    |     -------------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 46 -     GreaterOrEqual(String),
[INFO] [stdout] 46 +     GreaterOrEqual(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/depres.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     LessThan(String),
[INFO] [stdout]    |     -------- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VersionPredicate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[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] 47 -     LessThan(String),
[INFO] [stdout] 47 +     LessThan(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches` is never used
[INFO] [stdout]   --> src/depres.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl VersionPredicate {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] 51 |     pub fn matches(&self, candidate: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `predicate` is never read
[INFO] [stdout]   --> src/depres.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct Dependency {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 63 |     pub name: String,
[INFO] [stdout] 64 |     pub predicate: VersionPredicate,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Dependency` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_dependency` is never used
[INFO] [stdout]    --> src/depres.rs:239:4
[INFO] [stdout]     |
[INFO] [stdout] 239 | fn parse_dependency(s: &str) -> Option<(String, Option<String>)> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]   --> src/package.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for child_doc in pkg_node.children() {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]    |
[INFO] [stdout] 72 -         for child_doc in pkg_node.children() {
[INFO] [stdout] 72 +         while let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]    |
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]    |
[INFO] [stdout] 72 -         for child_doc in pkg_node.children() {
[INFO] [stdout] 72 +         if let Some(child_doc) = pkg_node.children() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.36s
[INFO] running `Command { std: "docker" "inspect" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9", kill_on_drop: false }`
[INFO] [stdout] a8cc2c45ee8ea2ceb50abebe330676f082b926505ae0f4395fb28848da39e6a9
