[INFO] fetching crate subwallet 0.1.0... [INFO] testing subwallet-0.1.0 against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] extracting crate subwallet 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate subwallet 0.1.0 [INFO] finished tweaking crates.io crate subwallet 0.1.0 [INFO] tweaked toml for crates.io crate subwallet 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate subwallet 0.1.0 on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate subwallet 0.1.0 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35ced5605c8f425589e66a87b70aee697a3a138216ca1a93bb46a463470a22f0 [INFO] running `Command { std: "docker" "start" "-a" "35ced5605c8f425589e66a87b70aee697a3a138216ca1a93bb46a463470a22f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35ced5605c8f425589e66a87b70aee697a3a138216ca1a93bb46a463470a22f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ced5605c8f425589e66a87b70aee697a3a138216ca1a93bb46a463470a22f0", kill_on_drop: false }` [INFO] [stdout] 35ced5605c8f425589e66a87b70aee697a3a138216ca1a93bb46a463470a22f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 13c596e0b36e2dc7f62be7c353f2a5339409a31bac9b31c603e8175bf072e377 [INFO] running `Command { std: "docker" "start" "-a" "13c596e0b36e2dc7f62be7c353f2a5339409a31bac9b31c603e8175bf072e377", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling sp-std v2.0.0-rc2 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling index-fixed v0.3.0 [INFO] [stderr] Compiling sodalite v0.3.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rpassword v4.0.5 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling ref-cast-impl v1.0.1 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling ref-cast v1.0.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling tracing v0.1.14 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling sp-storage v2.0.0-rc2 [INFO] [stderr] Compiling rustbreak v2.0.0-rc3 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.2.0 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Compiling parity-scale-codec v1.3.0 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling sp-externalities v0.8.0-rc2 [INFO] [stderr] Compiling sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Compiling primitive-types v0.7.2 [INFO] [stderr] Compiling sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-core v2.0.0-rc2 [INFO] [stderr] Compiling subwallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Derive`, `Ss58AddressFormat`, and `set_default_ss58_version` [INFO] [stdout] --> src/crypto.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | crypto::{set_default_ss58_version, Ss58AddressFormat, Ss58Codec, Derive, AccountId32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/keystore.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Encoding` [INFO] [stdout] 8 | pub struct Encoding { [INFO] [stdout] | -------- `Encoding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/keystore.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Encoding` [INFO] [stdout] 8 | pub struct Encoding { [INFO] [stdout] | -------- `Encoding` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/keystore.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Keystore` [INFO] [stdout] 15 | pub struct Keystore { [INFO] [stdout] | -------- `Keystore` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/keystore.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Keystore` [INFO] [stdout] 15 | pub struct Keystore { [INFO] [stdout] | -------- `Keystore` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wallet.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone, Default)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Address` [INFO] [stdout] 19 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wallet.rs:18:43 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone, Default)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Address` [INFO] [stdout] 19 | pub struct Address { [INFO] [stdout] | ------- `Address` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wallet.rs:306:32 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Wallet` [INFO] [stdout] 307 | pub struct Wallet { [INFO] [stdout] | ------ `Wallet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/wallet.rs:306:43 [INFO] [stdout] | [INFO] [stdout] 306 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Wallet` [INFO] [stdout] 307 | pub struct Wallet { [INFO] [stdout] | ------ `Wallet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcldb1H0/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librpassword-bbd36912bbc44d15.rlib,libdirs-49f2683a690d314c.rlib,libdirs_sys-9e16de81dd9062ea.rlib,libsodalite-f4fd4cc2e1aa99ab.rlib,libindex_fixed-116f3ed92a08db27.rlib,librustbreak-ca82826be5ce508d.rlib,libbase64-56373617ccea2850.rlib,libsafemem-415ebfa147efdd91.rlib,libbincode-e43ac43b58f8d277.rlib,libclap-bcc519579e273acb.rlib,libvec_map-f5624d319d58cb9d.rlib,libtextwrap-759430f46a6e6ead.rlib,libunicode_width-ff270229995c0ad3.rlib,libstrsim-b8b77d7a062bc77b.rlib,libbitflags-561a4f1321538a32.rlib,libatty-4e265306c2bbcc75.rlib,libansi_term-ff0b7d01d18bd931.rlib,libsp_core-a32a7b105f45d469.rlib,libed25519_dalek-5586885012bf609f.rlib,libclear_on_drop-c02c5dc067a295ad.rlib,libhex-06cfbc8d0a660e4b.rlib,libparity_util_mem-90ffef5d3436bf2a.rlib,liblog-04ef586fc7526ac5.rlib,libfutures-159f5c463fa8575f.rlib,libfutures_executor-837bedf0459e7180.rlib,libnum_cpus-1274987850b74d71.rlib,libfutures_util-5a74b256e143d8f9.rlib,libproc_macro_nested-723ec3dd4990c930.rlib,libfutures_io-03acb20cab29e44e.rlib,libslab-7c577fd9ceb1ab41.rlib,libfutures_channel-6e0d574c59f443f4.rlib,libpin_project-cf1d71e79bd5e542.rlib,libfutures_sink-c503b19bdbb9f324.rlib,libfutures_task-cc91c2eb755c4af5.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-3d3dfd71791d2868.rlib,libhash256_std_hasher-642c02ae19b7c224.rlib,libhash_db-bc88230b72b5c11d.rlib,libsecp256k1-3f0bdfb64bbe22a8.rlib,libhmac_drbg-bde23ccea7b08f88.rlib,libbip39-ad96478a883391c4.rlib,libunicode_normalization-267e3246a9595ea5.rlib,libonce_cell-57fabd0216da125e.rlib,librustc_hash-de524032ebe4928f.rlib,libfailure-fdb41d50f78d4808.rlib,libbacktrace-bacc5be2028cb7b5.rlib,libobject-ceef6f2581f9ee92.rlib,libaddr2line-9d59db3e09bcd084.rlib,libgimli-65f31084cbd40463.rlib,librustc_demangle-dcc5b1758b30e405.rlib,libsubstrate_bip39-f8f29d8008ba06a6.rlib,libschnorrkel-354ba17dbc530560.rlib,libmerlin-3a4e978652839fa9.rlib,libkeccak-d5c480ca0c104256.rlib,libcurve25519_dalek-ac70024a0ba4bb0b.rlib,libsubtle-aae6aba692e7d26e.rlib,libarrayref-762a58c2a3b122f9.rlib,libpbkdf2-e41bff6923cd68c4.rlib,libhmac-391256afe02d0a4e.rlib,libcrypto_mac-0bcb6b0bd8cef702.rlib,libsubtle-fe6a1df58196288a.rlib,libsp_runtime_interface-aac3226f75e135bb.rlib,libprimitive_types-8d6137699b751482.rlib,libimpl_codec-2e45f2c40adc9bde.rlib,libuint-8d17da783873b049.rlib,libfixed_hash-4d6028a0373dc0a8.rlib,librustc_hex-2d1ebd312558183f.rlib,libstatic_assertions-df27c3b343cf637f.rlib,libsp_externalities-954fd2506a17b828.rlib,libenvironmental-333164ce97a8f37b.rlib,libsp_storage-d0039e37b0a1dd3e.rlib,libimpl_serde-8fea19f413e3fe32.rlib,libref_cast-dd2599b166ada125.rlib,libsp_tracing-c77def37489d2a89.rlib,libtracing-dba6dacdf6c1265a.rlib,libtracing_core-e331f71e59181003.rlib,libsp_wasm_interface-a5cb130173a9ff56.rlib,libwasmi-6473fa4399a8dea4.rlib,libnum_rational-09d8c8ca0a5cc05c.rlib,libnum_bigint-6a4f9f2db92c9b06.rlib,libnum_integer-3fa8888b9676b459.rlib,libnum_traits-0bf7f32224c3660a.rlib,libwasmi_validation-92e1eefbe2b8ea63.rlib,libparity_wasm-ab922e16cbbc1969.rlib,libmemory_units-e7a9d8a860dd26ef.rlib,libzeroize-764babc1212f7cfb.rlib,libbase58-f885ddca09b81403.rlib,libregex-116fef0db21c1979.rlib,libthread_local-c6b88a4b7954c5cd.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_syntax-b818260d7887ac74.rlib,libaho_corasick-46f4fb2605299cc8.rlib,libmemchr-66f21ea766679294.rlib,libparking_lot-64e59f35ef7981e5.rlib,libparking_lot_core-fc28a3d6ee2f4067.rlib,libsmallvec-ff85ea5cc5b76fc1.rlib,liblock_api-6f337b257994d935.rlib,libscopeguard-73056285f12cb829.rlib,libsp_std-a9b1d7f6b0cde2b7.rlib,libtwox_hash-485b37f35afb2540.rlib,librand-701b65e06f826927.rlib,librand_pcg-732d82987b9b34fe.rlib,librand_chacha-63713669365c8ad9.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-29238f07e99ca3a9.rlib,libgetrandom-b001e111a35d1582.rlib,liblibc-1bfb14144ff3dbe9.rlib,libcfg_if-2d17986ae484e939.rlib,libtiny_keccak-7c646bb68eda0941.rlib,libcrunchy-59103dc6cfe5e478.rlib,libsha2-87311f9102dcf449.rlib,libdigest-5931225e8b843731.rlib,libopaque_debug-a7962e22a4dc4c30.rlib,libfake_simd-a91f2f775e698a8f.rlib,libblock_buffer-e13f76db4da5073f.rlib,libgeneric_array-4de0f8b9c26a19bb.rlib,libtypenum-0d13c3a14e20be66.rlib,libblock_padding-5934d35e69a00a24.rlib,libbyte_tools-bed8c652a5ea9f13.rlib,libbyteorder-bb31c07ebe4a9dfd.rlib,libblake2_rfc-056c4395fe5e9bfa.rlib,libconstant_time_eq-5cfd50e7e287192a.rlib,libarrayvec-d3a475ae05767b64.rlib,libnodrop-d2288700c14892b1.rlib,libimpl_serde-1c288c4212707bb6.rlib,libparity_scale_codec-ad0cea3857705613.rlib,libbyte_slice_cast-20c6588856f486bd.rlib,libarrayvec-a59e30b1adef2cb4.rlib,libserde_json-8a1d6746d233f227.rlib,libryu-79f82cde207919e4.rlib,libitoa-4e5b82117fa569f3.rlib,libserde-1c0040108ae6d981.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcldb1H0/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/clear_on_drop-6e9112658cf15531/out" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/subwallet-b33c35526d0111a4" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-b001e111a35d1582.rlib(getrandom-b001e111a35d1582.getrandom.bde1965eeab57b0c-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17hc40c764d571f9188E+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `subwallet` (bin "subwallet") due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "13c596e0b36e2dc7f62be7c353f2a5339409a31bac9b31c603e8175bf072e377", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c596e0b36e2dc7f62be7c353f2a5339409a31bac9b31c603e8175bf072e377", kill_on_drop: false }` [INFO] [stdout] 13c596e0b36e2dc7f62be7c353f2a5339409a31bac9b31c603e8175bf072e377