[INFO] cloning repository https://github.com/roundnews/MoneroWebCoordinator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roundnews/MoneroWebCoordinator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froundnews%2FMoneroWebCoordinator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froundnews%2FMoneroWebCoordinator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23ca4f7fa6426744e87795f2422c305223ff68e3 [INFO] testing roundnews/MoneroWebCoordinator against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froundnews%2FMoneroWebCoordinator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/roundnews/MoneroWebCoordinator [INFO] finished tweaking git repo https://github.com/roundnews/MoneroWebCoordinator [INFO] tweaked toml for git repo https://github.com/roundnews/MoneroWebCoordinator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/roundnews/MoneroWebCoordinator on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/roundnews/MoneroWebCoordinator 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded zmij v1.0.16 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] [stderr] Downloaded randomx-rs v1.4.1 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed8d6c820d4b765e45b5226d8abaf4f8d3524279220bc3305cc69dba9a9fcf21 [INFO] running `Command { std: "docker" "start" "-a" "ed8d6c820d4b765e45b5226d8abaf4f8d3524279220bc3305cc69dba9a9fcf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed8d6c820d4b765e45b5226d8abaf4f8d3524279220bc3305cc69dba9a9fcf21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed8d6c820d4b765e45b5226d8abaf4f8d3524279220bc3305cc69dba9a9fcf21", kill_on_drop: false }` [INFO] [stdout] ed8d6c820d4b765e45b5226d8abaf4f8d3524279220bc3305cc69dba9a9fcf21 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d5562427c688a33fb800828ccc47988f901b8a4dd21a73de19f33c53d779f2f [INFO] running `Command { std: "docker" "start" "-a" "3d5562427c688a33fb800828ccc47988f901b8a4dd21a73de19f33c53d779f2f", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling randomx-rs v1.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tower-http v0.5.2 [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 serde v1.0.228 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling monero-web-coordinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_frame_bytes` is never read [INFO] [stdout] --> src/config.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub max_frame_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` 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: field `shares_per_minute` is never read [INFO] [stdout] --> src/config.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct LimitsConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 41 | pub submits_per_minute: u32, [INFO] [stdout] 42 | pub shares_per_minute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LimitsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Config`, `Rpc`, `WebSocket`, `RateLimit`, and `Session` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CoordinatorError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 5 | #[error("Configuration error: {0}")] [INFO] [stdout] 6 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Rpc(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | WebSocket(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | RateLimit(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Session(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordinatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> src/ratelimit.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn remaining(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_reward` and `status` are never read [INFO] [stdout] --> src/rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BlockTemplate { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub expected_reward: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTemplate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_block_hash`, `status`, and `version` are never read [INFO] [stdout] --> src/rpc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DaemonInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 64 | pub height: u64, [INFO] [stdout] 65 | pub top_block_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DaemonInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/session.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SessionState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_hash`, `blockhashing_blob`, and `created_at` are never read [INFO] [stdout] --> src/template.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TemplateState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub prev_hash: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub blocktemplate_blob: String, [INFO] [stdout] 16 | pub blockhashing_blob: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "3d5562427c688a33fb800828ccc47988f901b8a4dd21a73de19f33c53d779f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5562427c688a33fb800828ccc47988f901b8a4dd21a73de19f33c53d779f2f", kill_on_drop: false }` [INFO] [stdout] 3d5562427c688a33fb800828ccc47988f901b8a4dd21a73de19f33c53d779f2f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c66ef42d39a35531e7fa996a4d100bbd99aaba7c2b7bb8dbd615872832a4e2e9 [INFO] running `Command { std: "docker" "start" "-a" "c66ef42d39a35531e7fa996a4d100bbd99aaba7c2b7bb8dbd615872832a4e2e9", kill_on_drop: false }` [INFO] [stderr] Compiling monero-web-coordinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_frame_bytes` is never read [INFO] [stdout] --> src/config.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ServerConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub max_frame_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerConfig` 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: field `shares_per_minute` is never read [INFO] [stdout] --> src/config.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct LimitsConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 41 | pub submits_per_minute: u32, [INFO] [stdout] 42 | pub shares_per_minute: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LimitsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Config`, `Rpc`, `WebSocket`, `RateLimit`, and `Session` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum CoordinatorError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 5 | #[error("Configuration error: {0}")] [INFO] [stdout] 6 | Config(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | Rpc(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | WebSocket(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | RateLimit(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | Session(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordinatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> src/ratelimit.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RateLimiter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn remaining(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expected_reward` and `status` are never read [INFO] [stdout] --> src/rpc.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct BlockTemplate { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | pub expected_reward: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockTemplate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `top_block_hash`, `status`, and `version` are never read [INFO] [stdout] --> src/rpc.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct DaemonInfo { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 64 | pub height: u64, [INFO] [stdout] 65 | pub top_block_hash: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 66 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 67 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DaemonInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Closed` is never constructed [INFO] [stdout] --> src/session.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum SessionState { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Closed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SessionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev_hash`, `blockhashing_blob`, and `created_at` are never read [INFO] [stdout] --> src/template.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TemplateState { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub prev_hash: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | pub blocktemplate_blob: String, [INFO] [stdout] 16 | pub blockhashing_blob: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.38s [INFO] running `Command { std: "docker" "inspect" "c66ef42d39a35531e7fa996a4d100bbd99aaba7c2b7bb8dbd615872832a4e2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66ef42d39a35531e7fa996a4d100bbd99aaba7c2b7bb8dbd615872832a4e2e9", kill_on_drop: false }` [INFO] [stdout] c66ef42d39a35531e7fa996a4d100bbd99aaba7c2b7bb8dbd615872832a4e2e9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3c478a04b861d1a676b006571f81d0d8b54f71cb310aca137d81fc2a9343ee5d [INFO] running `Command { std: "docker" "start" "-a" "3c478a04b861d1a676b006571f81d0d8b54f71cb310aca137d81fc2a9343ee5d", kill_on_drop: false }` [INFO] [stderr] warning: field `max_frame_bytes` is never read [INFO] [stderr] --> src/config.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct ServerConfig { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 21 | pub max_frame_bytes: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerConfig` 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: field `shares_per_minute` is never read [INFO] [stderr] --> src/config.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct LimitsConfig { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 41 | pub submits_per_minute: u32, [INFO] [stderr] 42 | pub shares_per_minute: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LimitsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Config`, `Rpc`, `WebSocket`, `RateLimit`, and `Session` are never constructed [INFO] [stderr] --> src/error.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum CoordinatorError { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 5 | #[error("Configuration error: {0}")] [INFO] [stderr] 6 | Config(String), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | Rpc(String), [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | WebSocket(String), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | RateLimit(String), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | Session(String), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CoordinatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `remaining` is never used [INFO] [stderr] --> src/ratelimit.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl RateLimiter { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn remaining(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `expected_reward` and `status` are never read [INFO] [stderr] --> src/rpc.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 49 | pub struct BlockTemplate { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 53 | pub expected_reward: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BlockTemplate` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `top_block_hash`, `status`, and `version` are never read [INFO] [stderr] --> src/rpc.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct DaemonInfo { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 64 | pub height: u64, [INFO] [stderr] 65 | pub top_block_hash: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 66 | pub status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 67 | pub version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DaemonInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Closed` is never constructed [INFO] [stderr] --> src/session.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub enum SessionState { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | Closed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SessionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `prev_hash`, `blockhashing_blob`, and `created_at` are never read [INFO] [stderr] --> src/template.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct TemplateState { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub prev_hash: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 15 | pub blocktemplate_blob: String, [INFO] [stderr] 16 | pub blockhashing_blob: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub created_at: Instant, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TemplateState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `monero-web-coordinator` (bin "monero-web-coordinator" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/monero_web_coordinator-976e47569358cf42) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test jobs::tests::test_apply_nonce_blob_too_short ... ok [INFO] [stdout] test jobs::tests::test_apply_nonce_invalid_hex ... ok [INFO] [stdout] test jobs::tests::test_apply_nonce_success ... ok [INFO] [stdout] test jobs::tests::test_apply_nonce_wrong_size ... ok [INFO] [stdout] test jobs::tests::test_difficulty_to_target_basic ... ok [INFO] [stdout] test jobs::tests::test_difficulty_to_target_high ... ok [INFO] [stdout] test jobs::tests::test_difficulty_to_target_low ... ok [INFO] [stdout] test jobs::tests::test_difficulty_to_target_produces_32_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c478a04b861d1a676b006571f81d0d8b54f71cb310aca137d81fc2a9343ee5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c478a04b861d1a676b006571f81d0d8b54f71cb310aca137d81fc2a9343ee5d", kill_on_drop: false }` [INFO] [stdout] 3c478a04b861d1a676b006571f81d0d8b54f71cb310aca137d81fc2a9343ee5d