[INFO] cloning repository https://github.com/labormedia/xpub-session-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/labormedia/xpub-session-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Fxpub-session-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Fxpub-session-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b6073a8d4ceda0245bbe49723bd819f2394c77ab [INFO] building labormedia/xpub-session-api against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flabormedia%2Fxpub-session-api" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/labormedia/xpub-session-api [INFO] finished tweaking git repo https://github.com/labormedia/xpub-session-api [INFO] tweaked toml for git repo https://github.com/labormedia/xpub-session-api written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/labormedia/xpub-session-api 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/labormedia/xpub-session-api 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded mongodb-internal-macros v3.1.0 [INFO] [stderr] Downloaded bitcoin-io v0.1.2 [INFO] [stderr] Downloaded serde_with_macros v3.11.0 [INFO] [stderr] Downloaded minreq v2.12.0 [INFO] [stderr] Downloaded hickory-resolver v0.24.1 [INFO] [stderr] Downloaded redis v0.26.1 [INFO] [stderr] Downloaded mongodb v3.1.0 [INFO] [stderr] Downloaded hickory-proto v0.24.1 [INFO] [stderr] Downloaded bitcoin v0.32.4 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31dd87f4abde18f1c2c2110e650a05750f99dd7adce4d2401d15642c3638aaa [INFO] running `Command { std: "docker" "start" "-a" "d31dd87f4abde18f1c2c2110e650a05750f99dd7adce4d2401d15642c3638aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31dd87f4abde18f1c2c2110e650a05750f99dd7adce4d2401d15642c3638aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31dd87f4abde18f1c2c2110e650a05750f99dd7adce4d2401d15642c3638aaa", kill_on_drop: false }` [INFO] [stdout] d31dd87f4abde18f1c2c2110e650a05750f99dd7adce4d2401d15642c3638aaa [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=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] c3d3133c29e862be0685c5dfd4a977e743d5ce4e7fc8664a7e62bebaaae73159 [INFO] running `Command { std: "docker" "start" "-a" "c3d3133c29e862be0685c5dfd4a977e743d5ce4e7fc8664a7e62bebaaae73159", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling bitcoin-internals v0.3.0 [INFO] [stderr] Compiling hex-conservative v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bitcoin-io v0.1.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitcoin v0.32.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling minreq v2.12.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling bech32 v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling mongodb-internal-macros v3.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.11.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling hickory-proto v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling bitcoin_hashes v0.14.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.11.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling bitcoin-units v0.1.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling base58ck v0.1.0 [INFO] [stderr] Compiling secp256k1 v0.29.1 [INFO] [stderr] Compiling jsonrpc v0.18.0 [INFO] [stderr] Compiling hickory-resolver v0.24.1 [INFO] [stderr] Compiling mongodb v3.1.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling redis v0.26.1 [INFO] [stderr] Compiling bitcoincore-rpc-json v0.19.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling bitcoincore-rpc v0.19.0 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling xpub-session-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Decodable`, `Encodable`, and `NetworkUnchecked` [INFO] [stdout] --> src/model/psbt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | NetworkUnchecked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Decodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Encodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/model/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_address` [INFO] [stdout] --> src/model/db.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let internal_address = model::UserAddress::from_credentials(credential.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credential_xpub` [INFO] [stdout] --> src/model/db.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let credential_xpub: bip32::Xpub = credentials.xpub.clone().to_xpub(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credential_xpub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/model/db.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let options = IndexOptions::builder().unique(true).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/model.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/model/psbt.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `psbt_list`, and `salted_fingerprint` are never read [INFO] [stdout] --> src/model/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | _id: u32, [INFO] [stdout] 9 | address: model::UserAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | psbt_list: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | salted_fingerprint: model::SaltedFingerPrint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "c3d3133c29e862be0685c5dfd4a977e743d5ce4e7fc8664a7e62bebaaae73159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d3133c29e862be0685c5dfd4a977e743d5ce4e7fc8664a7e62bebaaae73159", kill_on_drop: false }` [INFO] [stdout] c3d3133c29e862be0685c5dfd4a977e743d5ce4e7fc8664a7e62bebaaae73159 [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=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] 44198a3f9fe8fb3f6c1f369622a46c195a0669b1d18925c50c47a82848a05ae3 [INFO] running `Command { std: "docker" "start" "-a" "44198a3f9fe8fb3f6c1f369622a46c195a0669b1d18925c50c47a82848a05ae3", kill_on_drop: false }` [INFO] [stderr] Compiling secp256k1 v0.30.0 [INFO] [stdout] warning: unused imports: `Decodable`, `Encodable`, and `NetworkUnchecked` [INFO] [stdout] --> src/model/psbt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | NetworkUnchecked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Decodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Encodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/model/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_address` [INFO] [stdout] --> src/model/db.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let internal_address = model::UserAddress::from_credentials(credential.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credential_xpub` [INFO] [stdout] --> src/model/db.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let credential_xpub: bip32::Xpub = credentials.xpub.clone().to_xpub(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credential_xpub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/model/db.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let options = IndexOptions::builder().unique(true).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/model.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/model/psbt.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `psbt_list`, and `salted_fingerprint` are never read [INFO] [stdout] --> src/model/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | _id: u32, [INFO] [stdout] 9 | address: model::UserAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | psbt_list: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | salted_fingerprint: model::SaltedFingerPrint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xpub-session-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> examples/sign_message.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let secret_key = priv_child.private_key; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xpub_child` [INFO] [stdout] --> examples/sign_message.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let xpub_child = Xpub::from_priv(secp_ctx, &priv_child); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xpub_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xpub` [INFO] [stdout] --> examples/sign_nonce.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let xpub = Xpub::from_priv(&secp, &xpriv); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_xpub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decodable`, `Encodable`, and `NetworkUnchecked` [INFO] [stdout] --> src/model/psbt.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | NetworkUnchecked, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | Decodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | Encodable, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/model/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `internal_address` [INFO] [stdout] --> src/model/db.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let internal_address = model::UserAddress::from_credentials(credential.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_internal_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `credential_xpub` [INFO] [stdout] --> src/model/db.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let credential_xpub: bip32::Xpub = credentials.xpub.clone().to_xpub(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credential_xpub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/model/db.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let options = IndexOptions::builder().unique(true).build(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/handlers.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | client: web::Data, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/model.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secp` [INFO] [stdout] --> src/model/psbt.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let secp = Secp256k1::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `address`, `psbt_list`, and `salted_fingerprint` are never read [INFO] [stdout] --> src/model/user.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | _id: u32, [INFO] [stdout] 9 | address: model::UserAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | psbt_list: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | salted_fingerprint: model::SaltedFingerPrint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.83s [INFO] running `Command { std: "docker" "inspect" "44198a3f9fe8fb3f6c1f369622a46c195a0669b1d18925c50c47a82848a05ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44198a3f9fe8fb3f6c1f369622a46c195a0669b1d18925c50c47a82848a05ae3", kill_on_drop: false }` [INFO] [stdout] 44198a3f9fe8fb3f6c1f369622a46c195a0669b1d18925c50c47a82848a05ae3