[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 master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonheldattoradex%2Foxidizr" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leonheldattoradex/oxidizr on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca4bd4085b40e0456fd6876fbbd34d16111da7661d95076368a08ea68509e109 [INFO] running `Command { std: "docker" "start" "-a" "ca4bd4085b40e0456fd6876fbbd34d16111da7661d95076368a08ea68509e109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca4bd4085b40e0456fd6876fbbd34d16111da7661d95076368a08ea68509e109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4bd4085b40e0456fd6876fbbd34d16111da7661d95076368a08ea68509e109", kill_on_drop: false }` [INFO] [stdout] ca4bd4085b40e0456fd6876fbbd34d16111da7661d95076368a08ea68509e109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 999f7f6ddcc26a3cc586b220383b321498c6bcc000d47903f8770c6107b90653 [INFO] running `Command { std: "docker" "start" "-a" "999f7f6ddcc26a3cc586b220383b321498c6bcc000d47903f8770c6107b90653", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling ahash v0.8.11 [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 aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [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)]` 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: 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 1m 02s [INFO] running `Command { std: "docker" "inspect" "999f7f6ddcc26a3cc586b220383b321498c6bcc000d47903f8770c6107b90653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999f7f6ddcc26a3cc586b220383b321498c6bcc000d47903f8770c6107b90653", kill_on_drop: false }` [INFO] [stdout] 999f7f6ddcc26a3cc586b220383b321498c6bcc000d47903f8770c6107b90653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 275b5bff7a500e8146fdd804f4c875a456ad6991f7e6f0be93f0330279a2cf43 [INFO] running `Command { std: "docker" "start" "-a" "275b5bff7a500e8146fdd804f4c875a456ad6991f7e6f0be93f0330279a2cf43", 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)]` 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: 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.81s [INFO] running `Command { std: "docker" "inspect" "275b5bff7a500e8146fdd804f4c875a456ad6991f7e6f0be93f0330279a2cf43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275b5bff7a500e8146fdd804f4c875a456ad6991f7e6f0be93f0330279a2cf43", kill_on_drop: false }` [INFO] [stdout] 275b5bff7a500e8146fdd804f4c875a456ad6991f7e6f0be93f0330279a2cf43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b090104b69acab792bc136cc7e7704d4aa34b1f7de4dd0400329a353ff8dd59 [INFO] running `Command { std: "docker" "start" "-a" "6b090104b69acab792bc136cc7e7704d4aa34b1f7de4dd0400329a353ff8dd59", 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)]` 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: 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 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/oxidizr-1211917498dd4cf7) [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" "6b090104b69acab792bc136cc7e7704d4aa34b1f7de4dd0400329a353ff8dd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b090104b69acab792bc136cc7e7704d4aa34b1f7de4dd0400329a353ff8dd59", kill_on_drop: false }` [INFO] [stdout] 6b090104b69acab792bc136cc7e7704d4aa34b1f7de4dd0400329a353ff8dd59