[INFO] fetching crate casperlens-server 0.1.1... [INFO] testing casperlens-server-0.1.1 against 1.95.0 for beta-1.96-1 [INFO] extracting crate casperlens-server 0.1.1 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate casperlens-server 0.1.1 on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zmij v1.0.0 [INFO] [stderr] Downloaded jsonrpc-lite v0.6.1 [INFO] [stderr] Downloaded hex-buffer-serde v0.4.0 [INFO] [stderr] Downloaded blake2 v0.9.2 [INFO] [stderr] Downloaded clap_complete v4.5.64 [INFO] [stderr] Downloaded axum-macros v0.5.0 [INFO] [stderr] Downloaded aws-lc-rs v1.15.2 [INFO] [stderr] Downloaded konst v0.2.19 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded base64ct v1.8.1 [INFO] [stderr] Downloaded casper-client v5.0.0 [INFO] [stderr] Downloaded utoipa-gen v5.4.0 [INFO] [stderr] Downloaded webpki-root-certs v1.0.4 [INFO] [stderr] Downloaded utoipa v5.4.0 [INFO] [stderr] Downloaded base16 v0.2.1 [INFO] [stderr] Downloaded serde-map-to-array v1.1.1 [INFO] [stderr] Downloaded derp v0.0.14 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded konst_macro_rules v0.2.19 [INFO] [stderr] Downloaded openssl-probe v0.2.0 [INFO] [stderr] Downloaded casper-types v6.1.0 [INFO] [stderr] Downloaded aws-lc-sys v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8af8939a43192bd185fda01851dd2e148acd49e8161713e0dd058d1416c4a4fc [INFO] running `Command { std: "docker" "start" "-a" "8af8939a43192bd185fda01851dd2e148acd49e8161713e0dd058d1416c4a4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8af8939a43192bd185fda01851dd2e148acd49e8161713e0dd058d1416c4a4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af8939a43192bd185fda01851dd2e148acd49e8161713e0dd058d1416c4a4fc", kill_on_drop: false }` [INFO] [stdout] 8af8939a43192bd185fda01851dd2e148acd49e8161713e0dd058d1416c4a4fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8a3ed738982ac966a007993d13d7ff0d24fa7c374e0687ab8cfc93b0d6796db [INFO] running `Command { std: "docker" "start" "-a" "a8a3ed738982ac966a007993d13d7ff0d24fa7c374e0687ab8cfc93b0d6796db", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling serde_core v1.0.228 [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 cc v1.2.51 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling ecdsa v0.16.9 [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-iter v0.1.45 [INFO] [stderr] Compiling openssl-probe v0.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling derp v0.0.14 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling konst_macro_rules v0.2.19 [INFO] [stderr] Compiling casper-client v5.0.0 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling konst v0.2.19 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling clap_complete v4.5.64 [INFO] [stderr] Compiling casperlens-server v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [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 num-derive v0.4.2 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling utoipa-gen v5.4.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling jsonrpc-lite v0.6.1 [INFO] [stderr] Compiling hex-buffer-serde v0.4.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde-map-to-array v1.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling casper-types v6.1.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling utoipa v5.4.0 [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 hyper-util v0.1.19 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.8 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [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 1m 46s [INFO] running `Command { std: "docker" "inspect" "a8a3ed738982ac966a007993d13d7ff0d24fa7c374e0687ab8cfc93b0d6796db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a3ed738982ac966a007993d13d7ff0d24fa7c374e0687ab8cfc93b0d6796db", kill_on_drop: false }` [INFO] [stdout] a8a3ed738982ac966a007993d13d7ff0d24fa7c374e0687ab8cfc93b0d6796db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e205a902d544ecc5343c4967aee06153aed0e8fad941d87fa45813e6c4b2bcdf [INFO] running `Command { std: "docker" "start" "-a" "e205a902d544ecc5343c4967aee06153aed0e8fad941d87fa45813e6c4b2bcdf", 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 3.74s [INFO] running `Command { std: "docker" "inspect" "e205a902d544ecc5343c4967aee06153aed0e8fad941d87fa45813e6c4b2bcdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e205a902d544ecc5343c4967aee06153aed0e8fad941d87fa45813e6c4b2bcdf", kill_on_drop: false }` [INFO] [stdout] e205a902d544ecc5343c4967aee06153aed0e8fad941d87fa45813e6c4b2bcdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f07f595566f66da1f29a1ab60a5ac3c3907f48ca85e50470a51bd08d417da6bb [INFO] running `Command { std: "docker" "start" "-a" "f07f595566f66da1f29a1ab60a5ac3c3907f48ca85e50470a51bd08d417da6bb", 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.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/casperlens_server-1d2e44c1bf6d7c2d) [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" "f07f595566f66da1f29a1ab60a5ac3c3907f48ca85e50470a51bd08d417da6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f07f595566f66da1f29a1ab60a5ac3c3907f48ca85e50470a51bd08d417da6bb", kill_on_drop: false }` [INFO] [stdout] f07f595566f66da1f29a1ab60a5ac3c3907f48ca85e50470a51bd08d417da6bb