[INFO] cloning repository https://github.com/n4vv4r/litebag_ltc_wallet_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n4vv4r/litebag_ltc_wallet_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4vv4r%2Flitebag_ltc_wallet_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4vv4r%2Flitebag_ltc_wallet_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09f549be954239e83bf255958281fec5cc31d7b9 [INFO] linting n4vv4r/litebag_ltc_wallet_demo against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn4vv4r%2Flitebag_ltc_wallet_demo" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/n4vv4r/litebag_ltc_wallet_demo [INFO] finished tweaking git repo https://github.com/n4vv4r/litebag_ltc_wallet_demo [INFO] tweaked toml for git repo https://github.com/n4vv4r/litebag_ltc_wallet_demo written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/n4vv4r/litebag_ltc_wallet_demo on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/n4vv4r/litebag_ltc_wallet_demo 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphene-sys v0.18.1 [INFO] [stderr] Downloaded gsk4 v0.7.3 [INFO] [stderr] Downloaded gsk4-sys v0.7.3 [INFO] [stderr] Downloaded bcrypt v0.11.0 [INFO] [stderr] Downloaded graphene-rs v0.18.1 [INFO] [stderr] Downloaded gtk4-macros v0.7.2 [INFO] [stderr] Downloaded gdk4-sys v0.7.2 [INFO] [stderr] Downloaded gtk4 v0.7.3 [INFO] [stderr] Downloaded gdk4 v0.7.3 [INFO] [stderr] Downloaded gtk4-sys v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72c6fdb412bb30acdfbbc751808628b82d570b38627ce9f167d794fda10e602 [INFO] running `Command { std: "docker" "start" "-a" "d72c6fdb412bb30acdfbbc751808628b82d570b38627ce9f167d794fda10e602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72c6fdb412bb30acdfbbc751808628b82d570b38627ce9f167d794fda10e602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72c6fdb412bb30acdfbbc751808628b82d570b38627ce9f167d794fda10e602", kill_on_drop: false }` [INFO] [stdout] d72c6fdb412bb30acdfbbc751808628b82d570b38627ce9f167d794fda10e602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c4494e1324cee28008961c749271f60b020e58c760b84e7b4e8a19a76e85a4e [INFO] running `Command { std: "docker" "start" "-a" "7c4494e1324cee28008961c749271f60b020e58c760b84e7b4e8a19a76e85a4e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling bitcoin-private v0.1.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling hex_lit v0.1.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling bitcoin v0.30.2 [INFO] [stderr] Checking bitcoin_hashes v0.12.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hex-conservative v0.1.2 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bitcoin_hashes v0.13.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bcrypt v0.11.0 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling gtk4-macros v0.7.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gdk4-sys v0.7.2 [INFO] [stderr] Compiling gsk4-sys v0.7.3 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling gtk4-sys v0.7.3 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking bip39 v2.1.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking graphene-rs v0.18.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking gdk4 v0.7.3 [INFO] [stderr] Checking gsk4 v0.7.3 [INFO] [stderr] Checking gtk4 v0.7.3 [INFO] [stderr] Checking litecoin-wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/create_wallet.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | use dirs_next; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this import is redundant [INFO] [stdout] --> src/create_wallet.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | use dirs_next; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove it entirely [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports [INFO] [stdout] = note: `#[warn(clippy::single_component_path_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/access_wallet.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | / if response == ResponseType::Accept { [INFO] [stdout] 168 | | if let Some(path) = dialog.file().and_then(|f| f.path()) { [INFO] [stdout] 169 | | *wallet_path.borrow_mut() = Some(path); [INFO] [stdout] 170 | | println!("Se seleccionó el archivo wallet: {:?}", wallet_path.borrow()); [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 167 ~ if response == ResponseType::Accept [INFO] [stdout] 168 ~ && let Some(path) = dialog.file().and_then(|f| f.path()) { [INFO] [stdout] 169 | *wallet_path.borrow_mut() = Some(path); [INFO] [stdout] 170 | println!("Se seleccionó el archivo wallet: {:?}", wallet_path.borrow()); [INFO] [stdout] 171 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/access_wallet.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | / if response == ResponseType::Accept { [INFO] [stdout] 168 | | if let Some(path) = dialog.file().and_then(|f| f.path()) { [INFO] [stdout] 169 | | *wallet_path.borrow_mut() = Some(path); [INFO] [stdout] 170 | | println!("Se seleccionó el archivo wallet: {:?}", wallet_path.borrow()); [INFO] [stdout] 171 | | } [INFO] [stdout] 172 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 167 ~ if response == ResponseType::Accept [INFO] [stdout] 168 ~ && let Some(path) = dialog.file().and_then(|f| f.path()) { [INFO] [stdout] 169 | *wallet_path.borrow_mut() = Some(path); [INFO] [stdout] 170 | println!("Se seleccionó el archivo wallet: {:?}", wallet_path.borrow()); [INFO] [stdout] 171 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/access_wallet.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | if let Ok(transactions) = load_transactions_from_sqlite(&wallet_path) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `wallet_path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/access_wallet.rs:263:61 [INFO] [stdout] | [INFO] [stdout] 263 | if let Ok(transactions) = load_transactions_from_sqlite(&wallet_path) { [INFO] [stdout] | ^^^^^^^^^^^^ help: change this to: `wallet_path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/access_wallet.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / if !stored_password.is_empty() { [INFO] [stdout] 289 | | if !verify(password, &stored_password).map_err(|e| format!("ERROR AL VERIFICAR PASSWORD: {}", e))? { [INFO] [stdout] 290 | | return Err("Contraseña incorrecta.".to_string()); [INFO] [stdout] 291 | | } [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 288 ~ if !stored_password.is_empty() [INFO] [stdout] 289 ~ && !verify(password, &stored_password).map_err(|e| format!("ERROR AL VERIFICAR PASSWORD: {}", e))? { [INFO] [stdout] 290 | return Err("Contraseña incorrecta.".to_string()); [INFO] [stdout] 291 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/access_wallet.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | / if !stored_password.is_empty() { [INFO] [stdout] 289 | | if !verify(password, &stored_password).map_err(|e| format!("ERROR AL VERIFICAR PASSWORD: {}", e))? { [INFO] [stdout] 290 | | return Err("Contraseña incorrecta.".to_string()); [INFO] [stdout] 291 | | } [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 288 ~ if !stored_password.is_empty() [INFO] [stdout] 289 ~ && !verify(password, &stored_password).map_err(|e| format!("ERROR AL VERIFICAR PASSWORD: {}", e))? { [INFO] [stdout] 290 | return Err("Contraseña incorrecta.".to_string()); [INFO] [stdout] 291 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "7c4494e1324cee28008961c749271f60b020e58c760b84e7b4e8a19a76e85a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c4494e1324cee28008961c749271f60b020e58c760b84e7b4e8a19a76e85a4e", kill_on_drop: false }` [INFO] [stdout] 7c4494e1324cee28008961c749271f60b020e58c760b84e7b4e8a19a76e85a4e