[INFO] fetching crate casperlens-server 0.1.1... [INFO] testing casperlens-server-0.1.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate casperlens-server 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate casperlens-server 0.1.1 [INFO] finished tweaking crates.io crate casperlens-server 0.1.1 [INFO] tweaked toml for crates.io crate casperlens-server 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate casperlens-server 0.1.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate casperlens-server 0.1.1 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85fa802fc3cc1062a2e0dfcfc890669418eca7c2e7ea5bf2a701ca65d53ffaea [INFO] running `Command { std: "docker" "start" "-a" "85fa802fc3cc1062a2e0dfcfc890669418eca7c2e7ea5bf2a701ca65d53ffaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85fa802fc3cc1062a2e0dfcfc890669418eca7c2e7ea5bf2a701ca65d53ffaea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85fa802fc3cc1062a2e0dfcfc890669418eca7c2e7ea5bf2a701ca65d53ffaea", kill_on_drop: false }` [INFO] [stdout] 85fa802fc3cc1062a2e0dfcfc890669418eca7c2e7ea5bf2a701ca65d53ffaea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] c883305be4943a07cce1a743ab9d3076b7656c90be0f19013be47c1eb8c2e5a5 [INFO] running `Command { std: "docker" "start" "-a" "c883305be4943a07cce1a743ab9d3076b7656c90be0f19013be47c1eb8c2e5a5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zmij v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling derp v0.0.14 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling konst_macro_rules v0.2.19 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling casper-client v5.0.0 [INFO] [stderr] Compiling clap_complete v4.5.64 [INFO] [stderr] Compiling konst v0.2.19 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling casperlens-server v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling jsonrpc-lite v0.6.1 [INFO] [stderr] Compiling hex-buffer-serde v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde-map-to-array v1.1.1 [INFO] [stderr] Compiling casper-types v6.1.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling utoipa v5.4.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/services/tasks/contract.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | network: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc_address` [INFO] [stdout] --> src/services/tasks/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rpc_address: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret_key` is never read [INFO] [stdout] --> src/config/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/schema/contract.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ContractPackageMeta { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 41 | pub account_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | centralized_account_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | coingecko_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | coingecko_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | contract_package_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | cspr_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | csprtrade_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | has_ces_events: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | icon_url: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | is_contract_info_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | latest_version_contract_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | latest_version_contract_type_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | owner_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | website_url: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractPackageMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deploy_hash`, `block_height`, `contract_type_id`, and `contract_package` are never read [INFO] [stdout] --> src/models/schema/contract.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ContractVersionMeta { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub deploy_hash: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | #[serde(skip)] [INFO] [stdout] 89 | pub block_height: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | #[serde(skip)] [INFO] [stdout] 91 | pub contract_type_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub contract_package: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractVersionMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_contract_version_details` is never used [INFO] [stdout] --> src/services/contract/package.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn get_contract_version_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 36s [INFO] running `Command { std: "docker" "inspect" "c883305be4943a07cce1a743ab9d3076b7656c90be0f19013be47c1eb8c2e5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c883305be4943a07cce1a743ab9d3076b7656c90be0f19013be47c1eb8c2e5a5", kill_on_drop: false }` [INFO] [stdout] c883305be4943a07cce1a743ab9d3076b7656c90be0f19013be47c1eb8c2e5a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f328e57b3a9d2f1b1d23fd268ed6b9ddda53270333bb2d56311988860b5c5575 [INFO] running `Command { std: "docker" "start" "-a" "f328e57b3a9d2f1b1d23fd268ed6b9ddda53270333bb2d56311988860b5c5575", kill_on_drop: false }` [INFO] [stderr] Compiling casperlens-server v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/services/tasks/contract.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | network: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpc_address` [INFO] [stdout] --> src/services/tasks/contract.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rpc_address: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `secret_key` is never read [INFO] [stdout] --> src/config/mod.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub(crate) secret_key: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/schema/contract.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ContractPackageMeta { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 41 | pub account_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | centralized_account_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | coingecko_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | coingecko_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 45 | contract_package_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | cspr_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | csprtrade_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 48 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | has_ces_events: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | icon_url: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 51 | is_contract_info_approved: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | latest_version_contract_hash: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | latest_version_contract_type_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | metadata: serde_json::Value, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 55 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 56 | owner_hash: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | website_url: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractPackageMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `deploy_hash`, `block_height`, `contract_type_id`, and `contract_package` are never read [INFO] [stdout] --> src/models/schema/contract.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ContractVersionMeta { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub deploy_hash: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | #[serde(skip)] [INFO] [stdout] 89 | pub block_height: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 90 | #[serde(skip)] [INFO] [stdout] 91 | pub contract_type_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub contract_package: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractVersionMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_contract_version_details` is never used [INFO] [stdout] --> src/services/contract/package.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn get_contract_version_details( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "f328e57b3a9d2f1b1d23fd268ed6b9ddda53270333bb2d56311988860b5c5575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f328e57b3a9d2f1b1d23fd268ed6b9ddda53270333bb2d56311988860b5c5575", kill_on_drop: false }` [INFO] [stdout] f328e57b3a9d2f1b1d23fd268ed6b9ddda53270333bb2d56311988860b5c5575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 3f9100f9dab284ff79df1a6c6b8903a09b00ba6277ce02184b6f858d8347c641 [INFO] running `Command { std: "docker" "start" "-a" "3f9100f9dab284ff79df1a6c6b8903a09b00ba6277ce02184b6f858d8347c641", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `network` [INFO] [stderr] --> src/services/tasks/contract.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | network: &str, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rpc_address` [INFO] [stderr] --> src/services/tasks/contract.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | rpc_address: &str, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rpc_address` [INFO] [stderr] [INFO] [stderr] warning: field `secret_key` is never read [INFO] [stderr] --> src/config/mod.rs:18:16 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pub(crate) secret_key: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/models/schema/contract.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct ContractPackageMeta { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 41 | pub account_info: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 42 | centralized_account_info: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 43 | coingecko_data: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 44 | coingecko_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 45 | contract_package_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 46 | cspr_name: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 47 | csprtrade_data: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 48 | description: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 49 | has_ces_events: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 50 | icon_url: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 51 | is_contract_info_approved: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 52 | latest_version_contract_hash: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | latest_version_contract_type_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | metadata: serde_json::Value, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 55 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 56 | owner_hash: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | website_url: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContractPackageMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `deploy_hash`, `block_height`, `contract_type_id`, and `contract_package` are never read [INFO] [stderr] --> src/models/schema/contract.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 83 | pub struct ContractVersionMeta { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 87 | pub deploy_hash: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 88 | #[serde(skip)] [INFO] [stderr] 89 | pub block_height: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 90 | #[serde(skip)] [INFO] [stderr] 91 | pub contract_type_id: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | pub contract_package: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ContractVersionMeta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_contract_version_details` is never used [INFO] [stderr] --> src/services/contract/package.rs:115:14 [INFO] [stderr] | [INFO] [stderr] 115 | pub async fn get_contract_version_details( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `casperlens-server` (bin "casperlens-server" test) generated 6 warnings (run `cargo fix --bin "casperlens-server" -p casperlens-server --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/casperlens-server/aa6e42fcc3a52ec9/deps/casperlens_server-aa6e42fcc3a52ec9) [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" "3f9100f9dab284ff79df1a6c6b8903a09b00ba6277ce02184b6f858d8347c641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f9100f9dab284ff79df1a6c6b8903a09b00ba6277ce02184b6f858d8347c641", kill_on_drop: false }` [INFO] [stdout] 3f9100f9dab284ff79df1a6c6b8903a09b00ba6277ce02184b6f858d8347c641