[INFO] cloning repository https://github.com/leonheldattoradex/oxidizr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leonheldattoradex/oxidizr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonheldattoradex%2Foxidizr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonheldattoradex%2Foxidizr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5597a51c2358bff23e3e22797ae42f6f94426815 [INFO] testing leonheldattoradex/oxidizr against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonheldattoradex%2Foxidizr" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leonheldattoradex/oxidizr [INFO] finished tweaking git repo https://github.com/leonheldattoradex/oxidizr [INFO] tweaked toml for git repo https://github.com/leonheldattoradex/oxidizr written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leonheldattoradex/oxidizr on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leonheldattoradex/oxidizr 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41cd23ddadff83d46a8d637c04e6f4ea865542ba46ced67c53a5ad9a5d9d21ee [INFO] running `Command { std: "docker" "start" "-a" "41cd23ddadff83d46a8d637c04e6f4ea865542ba46ced67c53a5ad9a5d9d21ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41cd23ddadff83d46a8d637c04e6f4ea865542ba46ced67c53a5ad9a5d9d21ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41cd23ddadff83d46a8d637c04e6f4ea865542ba46ced67c53a5ad9a5d9d21ee", kill_on_drop: false }` [INFO] [stdout] 41cd23ddadff83d46a8d637c04e6f4ea865542ba46ced67c53a5ad9a5d9d21ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 884139490bf9d17fbcc1c537b146d8b056bd864c3f1daaf3798b15e14b1ac821 [INFO] running `Command { std: "docker" "start" "-a" "884139490bf9d17fbcc1c537b146d8b056bd864c3f1daaf3798b15e14b1ac821", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling oxidizr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `identify_rsa_key_type`, `rsa_pss_verify`, and `ed25519_verify` are never used [INFO] [stdout] --> src/crypto.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Crypto { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 48 | pub fn identify_rsa_key_type(public_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn rsa_pss_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn ed25519_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/hardware_identifier.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HardwareIdentifier { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn to_string(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_type` is never read [INFO] [stdout] --> src/public_key.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PublicKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | value: String, [INFO] [stdout] 11 | key_type: KeyType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicKey` 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: associated items `from_path`, `from_json`, `verify_signature`, and `to_uptane` are never used [INFO] [stdout] --> src/public_key.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PublicKey { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_path(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_json(uptane_json: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn verify_signature(&self, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn to_uptane(&self) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/secondary_info.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SecondaryInfo { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_primary_key`, `clear_primary_keys`, `clear_tls_creds`, and `load_image_root` are never used [INFO] [stdout] --> src/sqlstorage.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SQLStorage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn load_primary_key(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn clear_primary_keys(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn clear_tls_creds(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn load_image_root(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Delegation`, `OfflineSnapshot`, `OfflineUpdates`, and `InvalidRole` are never constructed [INFO] [stdout] --> src/tuf_roles.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum RoleEnum { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Delegation = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | OfflineSnapshot = 5, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OfflineUpdates = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | InvalidRole = -1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoleEnum` 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: multiple associated items are never used [INFO] [stdout] --> src/tuf_roles.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Role { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn offline_snapshot() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn offline_updates() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn invalid_role() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn delegation(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn roles() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_reserved(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn is_delegation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/tuf_version.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ANY_VERSION`, `new`, `from_int`, `version`, `role_file_name`, and `is_latest` are never used [INFO] [stdout] --> src/tuf_version.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 8 | impl Version { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | const ANY_VERSION: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_int(v: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn version(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn role_file_name(&self, role: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_latest(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.55s [INFO] running `Command { std: "docker" "inspect" "884139490bf9d17fbcc1c537b146d8b056bd864c3f1daaf3798b15e14b1ac821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884139490bf9d17fbcc1c537b146d8b056bd864c3f1daaf3798b15e14b1ac821", kill_on_drop: false }` [INFO] [stdout] 884139490bf9d17fbcc1c537b146d8b056bd864c3f1daaf3798b15e14b1ac821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99fbfef7b6480a3ede66e00f6d08b18033a91d112232c488ce0b1d5a14c140a1 [INFO] running `Command { std: "docker" "start" "-a" "99fbfef7b6480a3ede66e00f6d08b18033a91d112232c488ce0b1d5a14c140a1", kill_on_drop: false }` [INFO] [stderr] Compiling oxidizr v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated functions `identify_rsa_key_type`, `rsa_pss_verify`, and `ed25519_verify` are never used [INFO] [stdout] --> src/crypto.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Crypto { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 48 | pub fn identify_rsa_key_type(public_key: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn rsa_pss_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn ed25519_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/hardware_identifier.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HardwareIdentifier { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn to_string(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key_type` is never read [INFO] [stdout] --> src/public_key.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PublicKey { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | value: String, [INFO] [stdout] 11 | key_type: KeyType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PublicKey` 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: associated items `from_path`, `from_json`, `verify_signature`, and `to_uptane` are never used [INFO] [stdout] --> src/public_key.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl PublicKey { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn from_path(path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_json(uptane_json: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn verify_signature(&self, signature: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn to_uptane(&self) -> Value { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `default` is never used [INFO] [stdout] --> src/secondary_info.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SecondaryInfo { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_primary_key`, `clear_primary_keys`, `clear_tls_creds`, and `load_image_root` are never used [INFO] [stdout] --> src/sqlstorage.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl SQLStorage { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn load_primary_key(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn clear_primary_keys(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn clear_tls_creds(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn load_image_root(&self) -> Result, rusqlite::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Delegation`, `OfflineSnapshot`, `OfflineUpdates`, and `InvalidRole` are never constructed [INFO] [stdout] --> src/tuf_roles.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum RoleEnum { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Delegation = 4, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | OfflineSnapshot = 5, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | OfflineUpdates = 6, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | InvalidRole = -1, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RoleEnum` 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: multiple associated items are never used [INFO] [stdout] --> src/tuf_roles.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Role { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn offline_snapshot() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn offline_updates() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn invalid_role() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn delegation(name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn roles() -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn is_reserved(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn is_delegation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Version` is never constructed [INFO] [stdout] --> src/tuf_version.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Version { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ANY_VERSION`, `new`, `from_int`, `version`, `role_file_name`, and `is_latest` are never used [INFO] [stdout] --> src/tuf_version.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 8 | impl Version { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | const ANY_VERSION: i32 = -1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn from_int(v: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn version(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn role_file_name(&self, role: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_latest(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "99fbfef7b6480a3ede66e00f6d08b18033a91d112232c488ce0b1d5a14c140a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fbfef7b6480a3ede66e00f6d08b18033a91d112232c488ce0b1d5a14c140a1", kill_on_drop: false }` [INFO] [stdout] 99fbfef7b6480a3ede66e00f6d08b18033a91d112232c488ce0b1d5a14c140a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29531dc03686f33ee2a70e732311f88887048b437b3c52bbde535d0b87ac211f [INFO] running `Command { std: "docker" "start" "-a" "29531dc03686f33ee2a70e732311f88887048b437b3c52bbde535d0b87ac211f", kill_on_drop: false }` [INFO] [stderr] warning: associated functions `identify_rsa_key_type`, `rsa_pss_verify`, and `ed25519_verify` are never used [INFO] [stderr] --> src/crypto.rs:48:12 [INFO] [stderr] | [INFO] [stderr] 47 | impl Crypto { [INFO] [stderr] | ----------- associated functions in this implementation [INFO] [stderr] 48 | pub fn identify_rsa_key_type(public_key: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn rsa_pss_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub fn ed25519_verify(public_key: &str, signature: &str, message: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `to_string` is never used [INFO] [stderr] --> src/hardware_identifier.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl HardwareIdentifier { [INFO] [stderr] | ----------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn to_string(&self) -> &str { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `key_type` is never read [INFO] [stderr] --> src/public_key.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct PublicKey { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 10 | value: String, [INFO] [stderr] 11 | key_type: KeyType, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PublicKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `from_path`, `from_json`, `verify_signature`, and `to_uptane` are never used [INFO] [stderr] --> src/public_key.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl PublicKey { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub fn from_path(path: &Path) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn from_json(uptane_json: &Value) -> Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn verify_signature(&self, signature: &str, message: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn to_uptane(&self) -> Value { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `default` is never used [INFO] [stderr] --> src/secondary_info.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl SecondaryInfo { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn default() -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `load_primary_key`, `clear_primary_keys`, `clear_tls_creds`, and `load_image_root` are never used [INFO] [stderr] --> src/sqlstorage.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl SQLStorage { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn load_primary_key(&self) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn clear_primary_keys(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 147 | pub fn clear_tls_creds(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 296 | pub fn load_image_root(&self) -> Result, rusqlite::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Delegation`, `OfflineSnapshot`, `OfflineUpdates`, and `InvalidRole` are never constructed [INFO] [stderr] --> src/tuf_roles.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum RoleEnum { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 9 | Delegation = 4, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 10 | OfflineSnapshot = 5, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | OfflineUpdates = 6, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 12 | InvalidRole = -1, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RoleEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/tuf_roles.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Role { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn offline_snapshot() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn offline_updates() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn invalid_role() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn delegation(name: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 85 | pub fn roles() -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub fn is_reserved(name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | pub fn is_delegation(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Version` is never constructed [INFO] [stderr] --> src/tuf_version.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Version { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `ANY_VERSION`, `new`, `from_int`, `version`, `role_file_name`, and `is_latest` are never used [INFO] [stderr] --> src/tuf_version.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 8 | impl Version { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 9 | const ANY_VERSION: i32 = -1; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 10 | [INFO] [stderr] 11 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 17 | pub fn from_int(v: i32) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn version(&self) -> i32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn role_file_name(&self, role: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn is_latest(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oxidizr` (bin "oxidizr" test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/oxidizr-c8e532757e1bddbb) [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" "29531dc03686f33ee2a70e732311f88887048b437b3c52bbde535d0b87ac211f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29531dc03686f33ee2a70e732311f88887048b437b3c52bbde535d0b87ac211f", kill_on_drop: false }` [INFO] [stdout] 29531dc03686f33ee2a70e732311f88887048b437b3c52bbde535d0b87ac211f