[INFO] cloning repository https://github.com/airone01/isod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/airone01/isod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairone01%2Fisod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairone01%2Fisod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1b1338a600f1a76db79e11d7f4a750792348d83 [INFO] testing airone01/isod against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fairone01%2Fisod" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/airone01/isod [INFO] finished tweaking git repo https://github.com/airone01/isod [INFO] tweaked toml for git repo https://github.com/airone01/isod written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/airone01/isod on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/airone01/isod 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5 v0.8.0 [INFO] [stderr] Downloaded udev v0.6.3 [INFO] [stderr] Downloaded console v0.16.0 [INFO] [stderr] Downloaded usbenum v0.1.0 [INFO] [stderr] Downloaded sysinfo v0.35.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26f10a35bd4495a9f9d28866187736bee5d9c2ec60c10cb90f3a7a2b5ecdd6f6 [INFO] running `Command { std: "docker" "start" "-a" "26f10a35bd4495a9f9d28866187736bee5d9c2ec60c10cb90f3a7a2b5ecdd6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26f10a35bd4495a9f9d28866187736bee5d9c2ec60c10cb90f3a7a2b5ecdd6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26f10a35bd4495a9f9d28866187736bee5d9c2ec60c10cb90f3a7a2b5ecdd6f6", kill_on_drop: false }` [INFO] [stdout] 26f10a35bd4495a9f9d28866187736bee5d9c2ec60c10cb90f3a7a2b5ecdd6f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b86ec1593dc743a4facbb53ac1851059e672ad82d5a1c850ea740d713cc3a672 [INFO] running `Command { std: "docker" "start" "-a" "b86ec1593dc743a4facbb53ac1851059e672ad82d5a1c850ea740d713cc3a672", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling udev v0.6.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling console v0.16.0 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling sysinfo v0.35.2 [INFO] [stderr] Compiling md5 v0.8.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling usbenum v0.1.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling isod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/registry/version_detection.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 289 | struct GitHubRelease { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 290 | tag_name: String, [INFO] [stdout] 291 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubRelease` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry/sources.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_best_sources_by_method(&self) -> BestSources { [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] 287 | pub fn get_best_sources_by_method(&self) -> BestSources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/handlers/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [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: `isod::usb::UsbManager` [INFO] [stdout] --> src/handlers/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use isod::usb::UsbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigManager` and `IsoRegistry` [INFO] [stdout] --> src/handlers/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use isod::{ConfigManager, IsoRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_distro_name`, `requires_usb`, and `modifies_config` are never used [INFO] [stdout] --> src/cli.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl Cli { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn get_distro_name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn requires_usb(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn modifies_config(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "b86ec1593dc743a4facbb53ac1851059e672ad82d5a1c850ea740d713cc3a672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b86ec1593dc743a4facbb53ac1851059e672ad82d5a1c850ea740d713cc3a672", kill_on_drop: false }` [INFO] [stdout] b86ec1593dc743a4facbb53ac1851059e672ad82d5a1c850ea740d713cc3a672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddaa4f5d040df16b34aff8cbc274c644a27362e85973bbee709f279b3a43ef97 [INFO] running `Command { std: "docker" "start" "-a" "ddaa4f5d040df16b34aff8cbc274c644a27362e85973bbee709f279b3a43ef97", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.20 [INFO] [stderr] Compiling isod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/registry/version_detection.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 289 | struct GitHubRelease { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 290 | tag_name: String, [INFO] [stdout] 291 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubRelease` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry/sources.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_best_sources_by_method(&self) -> BestSources { [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] 287 | pub fn get_best_sources_by_method(&self) -> BestSources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/registry/version_detection.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 289 | struct GitHubRelease { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 290 | tag_name: String, [INFO] [stdout] 291 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitHubRelease` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/registry/sources.rs:287:39 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_best_sources_by_method(&self) -> BestSources { [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] 287 | pub fn get_best_sources_by_method(&self) -> BestSources<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `network_tests` [INFO] [stdout] --> tests/integration_test.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | #[cfg(feature = "network_tests")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `network_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_lts` [INFO] [stdout] --> tests/integration_test.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let has_lts = versions [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_lts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/handlers/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [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: `isod::usb::UsbManager` [INFO] [stdout] --> src/handlers/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use isod::usb::UsbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigManager` and `IsoRegistry` [INFO] [stdout] --> src/handlers/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use isod::{ConfigManager, IsoRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/handlers/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use anyhow::Result; [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: `isod::usb::UsbManager` [INFO] [stdout] --> src/handlers/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use isod::usb::UsbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConfigManager` and `IsoRegistry` [INFO] [stdout] --> src/handlers/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use isod::{ConfigManager, IsoRegistry}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_distro_name`, `requires_usb`, and `modifies_config` are never used [INFO] [stdout] --> src/cli.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 437 | impl Cli { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn get_distro_name(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub fn requires_usb(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub fn modifies_config(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.04s [INFO] running `Command { std: "docker" "inspect" "ddaa4f5d040df16b34aff8cbc274c644a27362e85973bbee709f279b3a43ef97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddaa4f5d040df16b34aff8cbc274c644a27362e85973bbee709f279b3a43ef97", kill_on_drop: false }` [INFO] [stdout] ddaa4f5d040df16b34aff8cbc274c644a27362e85973bbee709f279b3a43ef97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66f240e7c5e94261e6df9d3be9327e70f04d5ab6099c33d12b9a8daffa4496f5 [INFO] running `Command { std: "docker" "start" "-a" "66f240e7c5e94261e6df9d3be9327e70f04d5ab6099c33d12b9a8daffa4496f5", kill_on_drop: false }` [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/registry/version_detection.rs:291:5 [INFO] [stderr] | [INFO] [stderr] 289 | struct GitHubRelease { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 290 | tag_name: String, [INFO] [stderr] 291 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GitHubRelease` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/registry/sources.rs:287:39 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn get_best_sources_by_method(&self) -> BestSources { [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] 287 | pub fn get_best_sources_by_method(&self) -> BestSources<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `isod` (lib) generated 2 warnings (run `cargo fix --lib -p isod` to apply 1 suggestion) [INFO] [stderr] warning: `isod` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] warning: unused import: `anyhow::Result` [INFO] [stderr] --> src/handlers/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use anyhow::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `isod::usb::UsbManager` [INFO] [stderr] --> src/handlers/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use isod::usb::UsbManager; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConfigManager` and `IsoRegistry` [INFO] [stderr] --> src/handlers/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | use isod::{ConfigManager, IsoRegistry}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `network_tests` [INFO] [stderr] --> tests/integration_test.rs:221:7 [INFO] [stderr] | [INFO] [stderr] 221 | #[cfg(feature = "network_tests")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `network_tests` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `has_lts` [INFO] [stderr] --> tests/integration_test.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | let has_lts = versions [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_lts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_distro_name`, `requires_usb`, and `modifies_config` are never used [INFO] [stderr] --> src/cli.rs:483:12 [INFO] [stderr] | [INFO] [stderr] 437 | impl Cli { [INFO] [stderr] | -------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 483 | pub fn get_distro_name(&self) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 506 | pub fn requires_usb(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 520 | pub fn modifies_config(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `isod` (bin "isod" test) generated 3 warnings (run `cargo fix --bin "isod" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `isod` (test "integration_test") generated 2 warnings [INFO] [stderr] warning: `isod` (bin "isod") generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/isod-353016049a0aa9fa) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test registry::distros::debian::tests::test_debian_architectures ... ok [INFO] [stdout] test registry::distros::debian::tests::test_debian_definition_creation ... ok [INFO] [stdout] test registry::distros::debian::tests::test_debian_filename_pattern ... ok [INFO] [stdout] test registry::distros::debian::tests::test_debian_version_detection ... ok [INFO] [stdout] test registry::distros::debian::tests::test_debian_variants ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test cli::tests::test_config_subcommands ... ok [INFO] [stdout] test cli::tests::test_cli_parsing ... ok [INFO] [stdout] test cli::tests::test_validation ... ok [INFO] [stdout] test cli::tests::test_helper_methods ... ok [INFO] [stdout] test cli::tests::test_add_command_options ... ok [INFO] [stdout] test tests::test_config_manager_initialization ... ok [INFO] [stdout] test tests::test_cli_integration ... ok [INFO] [stdout] test tests::test_usb_manager_initialization ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/isod-fcad2623756435a3) [INFO] [stderr] 🔍 Found 0 potential USB devices [INFO] [stdout] test tests::test_download_system ... ok [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test tests::test_iso_registry_initialization ... ok [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test tests::test_error_handling ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.49s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-b852d1ff56530be0) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_download_options ... ok [INFO] [stdout] test test_checksum_calculation ... ok [INFO] [stdout] test test_download_request_creation ... ok [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stdout] test test_download_manager_creation ... ok [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] 📦 Loading built-in distro definitions... [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test test_search_functionality ... ok [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test test_iso_registry_basic_operations ... ok [INFO] [stdout] test test_version_detection ... ok [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test test_iso_info_generation ... ok [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stderr] ✅ Loaded 4 built-in distro definitions [INFO] [stdout] test test_filename_generation ... ok [INFO] [stdout] test test_complete_workflow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.13s [INFO] [stdout] [INFO] [stderr] Doc-tests isod [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66f240e7c5e94261e6df9d3be9327e70f04d5ab6099c33d12b9a8daffa4496f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f240e7c5e94261e6df9d3be9327e70f04d5ab6099c33d12b9a8daffa4496f5", kill_on_drop: false }` [INFO] [stdout] 66f240e7c5e94261e6df9d3be9327e70f04d5ab6099c33d12b9a8daffa4496f5