[INFO] fetching crate grin_wallet_libwallet 5.4.1... [INFO] checking grin_wallet_libwallet-5.4.1 against try#21cad1f647cfd05a566220f933edd88a53e50bcf for pr-129249-1 [INFO] extracting crate grin_wallet_libwallet 5.4.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate grin_wallet_libwallet 5.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate grin_wallet_libwallet 5.4.1 [INFO] tweaked toml for crates.io crate grin_wallet_libwallet 5.4.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate grin_wallet_libwallet 5.4.1 on toolchain 21cad1f647cfd05a566220f933edd88a53e50bcf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate grin_wallet_libwallet 5.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb [INFO] running `Command { std: "docker" "start" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb" "/opt/rustwide/cargo-home/bin/cargo" "+21cad1f647cfd05a566220f933edd88a53e50bcf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.92 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling grin_secp256k1zkp v0.7.15 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking parking_lot_core v0.7.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling type-map v0.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Compiling croaring-sys v2.1.0 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking ripemd160 v0.9.1 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking poly1305 v0.7.2 [INFO] [stderr] Checking rust-embed-utils v7.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.4.3 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking sha3 v0.8.2 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking salsa20 v0.9.0 [INFO] [stderr] Checking hkdf v0.11.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking scrypt v0.8.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking bs58 v0.3.1 [INFO] [stderr] Checking bech32 v0.7.3 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rust-embed-impl v6.8.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Checking croaring v1.1.0 [INFO] [stderr] Compiling rust-embed v6.8.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Checking chacha20 v0.8.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking secrecy v0.6.0 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling fluent-syntax v0.11.1 [INFO] [stderr] Checking chacha20poly1305 v0.9.1 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking intl-memoizer v0.5.2 [INFO] [stderr] Checking intl_pluralrules v7.0.2 [INFO] [stderr] Checking fluent-langneg v0.13.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking x25519-dalek v1.1.1 [INFO] [stderr] Checking fluent-bundle v0.15.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fluent v0.16.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking age-core v0.7.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling i18n-config v0.4.7 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Compiling i18n-embed-impl v0.8.4 [INFO] [stderr] Compiling i18n-embed v0.13.9 [INFO] [stderr] Checking grin_util v5.4.1 [INFO] [stderr] Checking grin_keychain v5.4.1 [INFO] [stderr] Checking grin_wallet_util v5.4.1 [INFO] [stderr] Compiling i18n-embed-fl v0.6.7 [INFO] [stderr] Checking grin_core v5.4.1 [INFO] [stderr] Checking age v0.7.1 [INFO] [stderr] Checking grin_wallet_config v5.4.1 [INFO] [stderr] Checking grin_store v5.4.1 [INFO] [stderr] Checking grin_wallet_libwallet v5.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/api_impl/owner.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | return Err(Error::SlatepackDecryption( [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | "Could not decrypt slatepack with any provided index on the address derivation path" [INFO] [stdout] 222 | | .to_owned(), [INFO] [stdout] 223 | | ) [INFO] [stdout] 224 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/internal/selection.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | format!("Transaction amount is too small to include fee").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/internal/selection.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | return Err(Error::PaymentProof( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 195 | | "Payment proof derivation index required".to_owned(), [INFO] [stdout] 196 | | ) [INFO] [stdout] 197 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/internal/selection.rs:486:4 [INFO] [stdout] | [INFO] [stdout] 486 | format!("Transaction amount is too small to include fee").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grin_wallet_libwallet` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/api_impl/owner.rs:220:14 [INFO] [stdout] | [INFO] [stdout] 220 | return Err(Error::SlatepackDecryption( [INFO] [stdout] | ____________________^ [INFO] [stdout] 221 | | "Could not decrypt slatepack with any provided index on the address derivation path" [INFO] [stdout] 222 | | .to_owned(), [INFO] [stdout] 223 | | ) [INFO] [stdout] 224 | | .into()); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/internal/selection.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | format!("Transaction amount is too small to include fee").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `error::Error` [INFO] [stdout] --> src/internal/selection.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | return Err(Error::PaymentProof( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 195 | | "Payment proof derivation index required".to_owned(), [INFO] [stdout] 196 | | ) [INFO] [stdout] 197 | | .into()); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/internal/selection.rs:486:4 [INFO] [stdout] | [INFO] [stdout] 486 | format!("Transaction amount is too small to include fee").into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: you can instead use the fully-qualified path `::into(val) to avoid triggering this lint [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grin_wallet_libwallet` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb", kill_on_drop: false }` [INFO] [stdout] 9c9fa05968e120e467dabaa4109c877fcfeb2aa05642ef446f42b2c93e1533eb