[INFO] cloning repository https://github.com/Hoss-Boss/txrp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hoss-Boss/txrp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoss-Boss%2Ftxrp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoss-Boss%2Ftxrp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56b9523d526e2a8ff0160dab47a6d6ea91c38ffa [INFO] testing Hoss-Boss/txrp-rust against try#a7ee93192a766fb0dafa23def7154fc03cfcfc3e for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHoss-Boss%2Ftxrp-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hoss-Boss/txrp-rust [INFO] finished tweaking git repo https://github.com/Hoss-Boss/txrp-rust [INFO] tweaked toml for git repo https://github.com/Hoss-Boss/txrp-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hoss-Boss/txrp-rust on toolchain a7ee93192a766fb0dafa23def7154fc03cfcfc3e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hoss-Boss/txrp-rust 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" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5252c4d1f237912070812756b334cfa3d3e25ce2c7fec47f0125fb86f0943b4 [INFO] running `Command { std: "docker" "start" "-a" "a5252c4d1f237912070812756b334cfa3d3e25ce2c7fec47f0125fb86f0943b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5252c4d1f237912070812756b334cfa3d3e25ce2c7fec47f0125fb86f0943b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5252c4d1f237912070812756b334cfa3d3e25ce2c7fec47f0125fb86f0943b4", kill_on_drop: false }` [INFO] [stdout] a5252c4d1f237912070812756b334cfa3d3e25ce2c7fec47f0125fb86f0943b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b49dad328a0371a433e3866832fa5f11f42d5752a4eca39d20905540cb097828 [INFO] running `Command { std: "docker" "start" "-a" "b49dad328a0371a433e3866832fa5f11f42d5752a4eca39d20905540cb097828", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling type-map v0.5.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zmij v1.0.6 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling heapless v0.6.1 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arc-swap v1.8.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling embedded-nal v0.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling secp256k1-sys v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Compiling hex-conservative v0.2.2 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling rust_decimal v1.39.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling embassy-sync v0.6.2 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bitcoin_hashes v0.14.1 [INFO] [stderr] Compiling embedded-nal-async v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling buffered-io v0.5.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling nourl v0.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling io_tee v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rand_hc v0.3.2 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling secp256k1 v0.30.0 [INFO] [stderr] Compiling thiserror-no-std v2.0.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling rustls-pki-types v1.13.2 [INFO] [stderr] Compiling rust-embed v8.9.0 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling fluent-syntax v0.11.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling as-slice v0.1.5 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling xrpl-rust-macros v0.1.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Compiling intl_pluralrules v7.0.2 [INFO] [stderr] Compiling fluent-langneg v0.13.1 [INFO] [stderr] Compiling intl-memoizer v0.5.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling derive-new v0.7.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling fluent-bundle v0.15.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling fluent v0.16.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_with v3.16.1 [INFO] [stderr] Compiling cookie-factory v0.3.3 [INFO] [stderr] Compiling embedded-websocket-embedded-io v0.1.0 [INFO] [stderr] Compiling embedded-tls v0.17.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bip39 v2.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling age-core v0.11.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rusqlite v0.38.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling i18n-config v0.4.8 [INFO] [stderr] Compiling reqwless v0.13.0 [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 i18n-embed-impl v0.8.4 [INFO] [stderr] Compiling i18n-embed v0.15.4 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling i18n-embed-fl v0.9.4 [INFO] [stderr] Compiling age v0.11.2 [INFO] [stderr] Compiling xrpl-rust v1.0.0 [INFO] [stderr] Compiling txrp-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ARGON_ALGORITHM`, `ARGON_VERSION`, `M_COST`, `OUTPUT_LEN`, `P_COST`, and `T_COST` [INFO] [stdout] --> src/wallet_functionality.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::encryption::{M_COST, T_COST, P_COST, OUTPUT_LEN, ARGON_ALGORITHM, ARGON_VERSION}; [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 imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/file_io.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/file_io.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file_io.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | if (wallets_db_file_exists == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (wallets_db_file_exists == false) { [INFO] [stdout] 32 + if wallets_db_file_exists == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/menu_navigation.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, process::exit}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | if (user_input.trim() == "b") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (user_input.trim() == "b") { [INFO] [stdout] 86 + if user_input.trim() == "b" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | else if (user_input.trim() == "h") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - else if (user_input.trim() == "h") { [INFO] [stdout] 89 + else if user_input.trim() == "h" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if (user_input.trim() != user_input_2.trim()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (user_input.trim() != user_input_2.trim()) { [INFO] [stdout] 96 + if user_input.trim() != user_input_2.trim() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash`, `PasswordHasher`, `PasswordVerifier`, `SaltString`, and `Salt` [INFO] [stdout] --> src/encryption.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, Salt, SaltString}, Algorithm, Argon2, Params, Version}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Key`, and `aes::Aes256` [INFO] [stdout] --> src/encryption.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use aes_gcm::{aead::{Aead, Nonce}, aes::Aes256, AeadCore, Aes256Gcm, Error, Key, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes_gcm::aes::cipher` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use aes_gcm::aes::cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine` and `engine::general_purpose` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose, Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet_functionality::TXRPWallet` [INFO] [stdout] --> src/main.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{encryption::encrypt_plaintext, wallet_functionality::TXRPWallet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet` [INFO] [stdout] --> src/menu_navigation.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let wallet = TXRPWallet::generate_without_mnemonic_or_seed(wallet_name, Some(user_input_2)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_json` and `from_json` are never used [INFO] [stdout] --> src/wallet_functionality.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXRPWallet { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_json(json_wallet: &str) -> TXRPWallet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_xrp_wallet_without_mnemonic_or_seed` is never used [INFO] [stdout] --> src/wallet_functionality.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn generate_xrp_wallet_without_mnemonic_or_seed(word_amount: Option) -> Wallet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_ciphertext` is never used [INFO] [stdout] --> src/encryption.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn decrypt_ciphertext(ciphertext: &str, password: &str, salt: &[u8], nonce: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 49s [INFO] running `Command { std: "docker" "inspect" "b49dad328a0371a433e3866832fa5f11f42d5752a4eca39d20905540cb097828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b49dad328a0371a433e3866832fa5f11f42d5752a4eca39d20905540cb097828", kill_on_drop: false }` [INFO] [stdout] b49dad328a0371a433e3866832fa5f11f42d5752a4eca39d20905540cb097828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ddb7b80eb38ca4798519358004fb2a4b9b8ba7a42f70396e2bc0ec75362a78c [INFO] running `Command { std: "docker" "start" "-a" "8ddb7b80eb38ca4798519358004fb2a4b9b8ba7a42f70396e2bc0ec75362a78c", kill_on_drop: false }` [INFO] [stderr] Compiling txrp-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ARGON_ALGORITHM`, `ARGON_VERSION`, `M_COST`, `OUTPUT_LEN`, `P_COST`, and `T_COST` [INFO] [stdout] --> src/wallet_functionality.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::encryption::{M_COST, T_COST, P_COST, OUTPUT_LEN, ARGON_ALGORITHM, ARGON_VERSION}; [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 imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/file_io.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/file_io.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/file_io.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | if (wallets_db_file_exists == false) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - if (wallets_db_file_exists == false) { [INFO] [stdout] 32 + if wallets_db_file_exists == false { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/menu_navigation.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io, process::exit}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:86:24 [INFO] [stdout] | [INFO] [stdout] 86 | if (user_input.trim() == "b") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 86 - if (user_input.trim() == "b") { [INFO] [stdout] 86 + if user_input.trim() == "b" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | else if (user_input.trim() == "h") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - else if (user_input.trim() == "h") { [INFO] [stdout] 89 + else if user_input.trim() == "h" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/menu_navigation.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | if (user_input.trim() != user_input_2.trim()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (user_input.trim() != user_input_2.trim()) { [INFO] [stdout] 96 + if user_input.trim() != user_input_2.trim() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PasswordHash`, `PasswordHasher`, `PasswordVerifier`, `SaltString`, and `Salt` [INFO] [stdout] --> src/encryption.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use argon2::{password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, Salt, SaltString}, Algorithm, Argon2, Params, Version}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Key`, and `aes::Aes256` [INFO] [stdout] --> src/encryption.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use aes_gcm::{aead::{Aead, Nonce}, aes::Aes256, AeadCore, Aes256Gcm, Error, Key, KeyInit}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aes_gcm::aes::cipher` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use aes_gcm::aes::cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine` and `engine::general_purpose` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose, Engine}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wallet_functionality::TXRPWallet` [INFO] [stdout] --> src/main.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{encryption::encrypt_plaintext, wallet_functionality::TXRPWallet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wallet` [INFO] [stdout] --> src/menu_navigation.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | let wallet = TXRPWallet::generate_without_mnemonic_or_seed(wallet_name, Some(user_input_2)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_json` and `from_json` are never used [INFO] [stdout] --> src/wallet_functionality.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl TXRPWallet { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn to_json(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn from_json(json_wallet: &str) -> TXRPWallet { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_xrp_wallet_without_mnemonic_or_seed` is never used [INFO] [stdout] --> src/wallet_functionality.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn generate_xrp_wallet_without_mnemonic_or_seed(word_amount: Option) -> Wallet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_ciphertext` is never used [INFO] [stdout] --> src/encryption.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn decrypt_ciphertext(ciphertext: &str, password: &str, salt: &[u8], nonce: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "8ddb7b80eb38ca4798519358004fb2a4b9b8ba7a42f70396e2bc0ec75362a78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddb7b80eb38ca4798519358004fb2a4b9b8ba7a42f70396e2bc0ec75362a78c", kill_on_drop: false }` [INFO] [stdout] 8ddb7b80eb38ca4798519358004fb2a4b9b8ba7a42f70396e2bc0ec75362a78c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7ee93192a766fb0dafa23def7154fc03cfcfc3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fbe49ee1126e6327d0bb82172d00a67f825a341a4086205cd8b90731f0aa3314 [INFO] running `Command { std: "docker" "start" "-a" "fbe49ee1126e6327d0bb82172d00a67f825a341a4086205cd8b90731f0aa3314", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ARGON_ALGORITHM`, `ARGON_VERSION`, `M_COST`, `OUTPUT_LEN`, `P_COST`, and `T_COST` [INFO] [stderr] --> src/wallet_functionality.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::encryption::{M_COST, T_COST, P_COST, OUTPUT_LEN, ARGON_ALGORITHM, ARGON_VERSION}; [INFO] [stderr] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stderr] --> src/file_io.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/file_io.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/file_io.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | if (wallets_db_file_exists == false) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 32 - if (wallets_db_file_exists == false) { [INFO] [stderr] 32 + if wallets_db_file_exists == false { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `io` [INFO] [stderr] --> src/menu_navigation.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{io, process::exit}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/menu_navigation.rs:86:24 [INFO] [stderr] | [INFO] [stderr] 86 | if (user_input.trim() == "b") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 86 - if (user_input.trim() == "b") { [INFO] [stderr] 86 + if user_input.trim() == "b" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/menu_navigation.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | else if (user_input.trim() == "h") { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 89 - else if (user_input.trim() == "h") { [INFO] [stderr] 89 + else if user_input.trim() == "h" { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/menu_navigation.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | if (user_input.trim() != user_input_2.trim()) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 96 - if (user_input.trim() != user_input_2.trim()) { [INFO] [stderr] 96 + if user_input.trim() != user_input_2.trim() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PasswordHash`, `PasswordHasher`, `PasswordVerifier`, `SaltString`, and `Salt` [INFO] [stderr] --> src/encryption.rs:1:30 [INFO] [stderr] | [INFO] [stderr] 1 | use argon2::{password_hash::{PasswordHash, PasswordHasher, PasswordVerifier, Salt, SaltString}, Algorithm, Argon2, Params, Version}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `Key`, and `aes::Aes256` [INFO] [stderr] --> src/encryption.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | use aes_gcm::{aead::{Aead, Nonce}, aes::Aes256, AeadCore, Aes256Gcm, Error, Key, KeyInit}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `aes_gcm::aes::cipher` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use aes_gcm::aes::cipher; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Engine` and `engine::general_purpose` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use base64::{engine::general_purpose, Engine}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wallet_functionality::TXRPWallet` [INFO] [stderr] --> src/main.rs:10:44 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::{encryption::encrypt_plaintext, wallet_functionality::TXRPWallet}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `wallet` [INFO] [stderr] --> src/menu_navigation.rs:101:29 [INFO] [stderr] | [INFO] [stderr] 101 | let wallet = TXRPWallet::generate_without_mnemonic_or_seed(wallet_name, Some(user_input_2)); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_wallet` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `to_json` and `from_json` are never used [INFO] [stderr] --> src/wallet_functionality.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 29 | impl TXRPWallet { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | pub fn to_json(&self) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 72 | pub fn from_json(json_wallet: &str) -> TXRPWallet { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `generate_xrp_wallet_without_mnemonic_or_seed` is never used [INFO] [stderr] --> src/wallet_functionality.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn generate_xrp_wallet_without_mnemonic_or_seed(word_amount: Option) -> Wallet { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decrypt_ciphertext` is never used [INFO] [stderr] --> src/encryption.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn decrypt_ciphertext(ciphertext: &str, password: &str, salt: &[u8], nonce: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `txrp-rust` (bin "txrp-rust" test) generated 17 warnings (run `cargo fix --bin "txrp-rust" -p txrp-rust --tests` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/txrp_rust-a4a49c7df41f8e5e) [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" "fbe49ee1126e6327d0bb82172d00a67f825a341a4086205cd8b90731f0aa3314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe49ee1126e6327d0bb82172d00a67f825a341a4086205cd8b90731f0aa3314", kill_on_drop: false }` [INFO] [stdout] fbe49ee1126e6327d0bb82172d00a67f825a341a4086205cd8b90731f0aa3314