[INFO] cloning repository https://github.com/RWZ11/did-system
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RWZ11/did-system" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c30136e748d4450be0b767f065a83600169d18a1
[INFO] building RWZ11/did-system against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRWZ11%2Fdid-system" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/RWZ11/did-system
[INFO] finished tweaking git repo https://github.com/RWZ11/did-system
[INFO] tweaked toml for git repo https://github.com/RWZ11/did-system written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RWZ11/did-system 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/RWZ11/did-system 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]  Downloading crates ...
[INFO] [stderr]   Downloaded hyper-util v0.1.13
[INFO] [stderr]   Downloaded rusqlite v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 69db79208d84939fe164afc725db7cf2887dba89f01f13d4daedaf39ddd55b23
[INFO] running `Command { std: "docker" "start" "-a" "69db79208d84939fe164afc725db7cf2887dba89f01f13d4daedaf39ddd55b23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "69db79208d84939fe164afc725db7cf2887dba89f01f13d4daedaf39ddd55b23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "69db79208d84939fe164afc725db7cf2887dba89f01f13d4daedaf39ddd55b23", kill_on_drop: false }`
[INFO] [stdout] 69db79208d84939fe164afc725db7cf2887dba89f01f13d4daedaf39ddd55b23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 292febd30d77c8ed00267d4f37a609dca87916f75651b74e04c1adf5fc03f209
[INFO] running `Command { std: "docker" "start" "-a" "292febd30d77c8ed00267d4f37a609dca87916f75651b74e04c1adf5fc03f209", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling cc v1.2.24
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling zerovec v0.11.2
[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 tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling hyper-util v0.1.13
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling rusqlite v0.30.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling did_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` 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: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` 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: methods `store_did_document` and `get_did_document` are never used
[INFO] [stdout]   --> src/blockchain/mod.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl BlockchainClient {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn store_did_document(&self, document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn get_did_document(&self, did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub async fn store_did_document(document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn get_did_document(did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_did` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub async fn register_did(did: &str, public_key: &[u8]) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deactivate_did` is never used
[INFO] [stdout]    --> src/db/mod.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn deactivate_did(did: &str) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_did` is never used
[INFO] [stdout]   --> src/did/mod.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub async fn create_did(signing_key: &SigningKey) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError`, `CryptoError`, and `NetworkError` are never constructed
[INFO] [stdout]   --> src/types.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     InternalError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     CryptoError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     NetworkError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DIDStatus` is never used
[INFO] [stdout]   --> src/types.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum DIDStatus {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_keypair` is never used
[INFO] [stdout]  --> src/utils.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_keypair() -> SigningKey {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_signature` is never used
[INFO] [stdout]   --> src/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn verify_signature(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_base58` is never used
[INFO] [stdout]   --> src/utils.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn decode_base58(encoded: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn generate_random_bytes(length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha256` is never used
[INFO] [stdout]   --> src/utils.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ripemd160` is never used
[INFO] [stdout]   --> src/utils.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn ripemd160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_sha256` is never used
[INFO] [stdout]   --> src/utils.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn double_sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash160` is never used
[INFO] [stdout]   --> src/utils.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn hash160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_salt` is never used
[INFO] [stdout]    --> src/utils.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn generate_salt() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_base58` is never used
[INFO] [stdout]    --> src/utils.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_valid_base58(encoded: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_hex` is never used
[INFO] [stdout]    --> src/utils.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn is_valid_hex(hex: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_hex` is never used
[INFO] [stdout]    --> src/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_hex` is never used
[INFO] [stdout]    --> src/utils.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn from_hex(hex: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "292febd30d77c8ed00267d4f37a609dca87916f75651b74e04c1adf5fc03f209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "292febd30d77c8ed00267d4f37a609dca87916f75651b74e04c1adf5fc03f209", kill_on_drop: false }`
[INFO] [stdout] 292febd30d77c8ed00267d4f37a609dca87916f75651b74e04c1adf5fc03f209
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e67d04f74c3541226d18b8bf917d4ba240e98f57a7ae3ff4330e170d899593f
[INFO] running `Command { std: "docker" "start" "-a" "7e67d04f74c3541226d18b8bf917d4ba240e98f57a7ae3ff4330e170d899593f", kill_on_drop: false }`
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` 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: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling did_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` 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: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `status` is never read
[INFO] [stdout]   --> src/blockchain/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct TransactionResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     status: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TransactionResponse` 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: methods `store_did_document` and `get_did_document` are never used
[INFO] [stdout]   --> src/blockchain/mod.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl BlockchainClient {
[INFO] [stdout]    | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn store_did_document(&self, document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub async fn get_did_document(&self, did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `store_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub async fn store_did_document(document: &DIDDocument) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_did_document` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 | pub async fn get_did_document(did: &str) -> Result<DIDDocument, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_did` is never used
[INFO] [stdout]    --> src/blockchain/mod.rs:159:14
[INFO] [stdout]     |
[INFO] [stdout] 159 | pub async fn register_did(did: &str, public_key: &[u8]) -> Result<String, Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deactivate_did` is never used
[INFO] [stdout]    --> src/db/mod.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn deactivate_did(did: &str) -> Result<(), Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_did` is never used
[INFO] [stdout]   --> src/did/mod.rs:63:14
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub async fn create_did(signing_key: &SigningKey) -> Result<DIDDocument, Error> {
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InternalError`, `CryptoError`, and `NetworkError` are never constructed
[INFO] [stdout]   --> src/types.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Error {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     InternalError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     CryptoError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 42 |     NetworkError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DIDStatus` is never used
[INFO] [stdout]   --> src/types.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub enum DIDStatus {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_keypair` is never used
[INFO] [stdout]  --> src/utils.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn generate_keypair() -> SigningKey {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_signature` is never used
[INFO] [stdout]   --> src/utils.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn verify_signature(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_base58` is never used
[INFO] [stdout]   --> src/utils.rs:62:8
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn decode_base58(encoded: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_bytes` is never used
[INFO] [stdout]   --> src/utils.rs:69:8
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub fn generate_random_bytes(length: usize) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sha256` is never used
[INFO] [stdout]   --> src/utils.rs:78:8
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub fn sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ripemd160` is never used
[INFO] [stdout]   --> src/utils.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn ripemd160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `double_sha256` is never used
[INFO] [stdout]   --> src/utils.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn double_sha256(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash160` is never used
[INFO] [stdout]   --> src/utils.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn hash160(data: &[u8]) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_salt` is never used
[INFO] [stdout]    --> src/utils.rs:101:8
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn generate_salt() -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_base58` is never used
[INFO] [stdout]    --> src/utils.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub fn is_valid_base58(encoded: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_valid_hex` is never used
[INFO] [stdout]    --> src/utils.rs:111:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub fn is_valid_hex(hex: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `to_hex` is never used
[INFO] [stdout]    --> src/utils.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `from_hex` is never used
[INFO] [stdout]    --> src/utils.rs:123:8
[INFO] [stdout]     |
[INFO] [stdout] 123 | pub fn from_hex(hex: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/blockchain/mod.rs:134:9
[INFO] [stdout]     |
[INFO] [stdout] 134 |         CLIENT.as_ref().ok_or_else(|| Error::BlockchainError("Blockchain client not initialized".to_string()))
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.45s
[INFO] running `Command { std: "docker" "inspect" "7e67d04f74c3541226d18b8bf917d4ba240e98f57a7ae3ff4330e170d899593f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e67d04f74c3541226d18b8bf917d4ba240e98f57a7ae3ff4330e170d899593f", kill_on_drop: false }`
[INFO] [stdout] 7e67d04f74c3541226d18b8bf917d4ba240e98f57a7ae3ff4330e170d899593f
