[INFO] fetching crate subwallet 0.1.0... [INFO] testing subwallet-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate subwallet 0.1.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate subwallet 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twox-hash v1.5.0 [INFO] [stderr] Downloaded ref-cast v1.0.1 [INFO] [stderr] Downloaded environmental v1.1.1 [INFO] [stderr] Downloaded cc v1.0.53 [INFO] [stderr] Downloaded parity-util-mem v0.6.1 [INFO] [stderr] Downloaded index-fixed v0.3.0 [INFO] [stderr] Downloaded uint v0.8.3 [INFO] [stderr] Downloaded impl-codec v0.4.2 [INFO] [stderr] Downloaded fixed-hash v0.6.1 [INFO] [stderr] Downloaded rustbreak v2.0.0-rc3 [INFO] [stderr] Downloaded sodalite v0.3.0 [INFO] [stderr] Downloaded tracing v0.1.14 [INFO] [stderr] Downloaded addr2line v0.12.0 [INFO] [stderr] Downloaded tiny-bip39 v0.7.3 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded derive_more v0.99.7 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Downloaded tracing-core v0.1.10 [INFO] [stderr] Downloaded parity-scale-codec v1.3.0 [INFO] [stderr] Downloaded substrate-bip39 v0.4.1 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.1.3 [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.8 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.0 [INFO] [stderr] Downloaded merlin v2.0.0 [INFO] [stderr] Downloaded subtle v2.2.2 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded ref-cast-impl v1.0.1 [INFO] [stderr] Downloaded zeroize v1.1.0 [INFO] [stderr] Downloaded primitive-types v0.7.2 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Downloaded sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Downloaded sp-externalities v0.8.0-rc2 [INFO] [stderr] Downloaded sp-core v2.0.0-rc2 [INFO] [stderr] Downloaded sp-std v2.0.0-rc2 [INFO] [stderr] Downloaded sp-tracing v2.0.0-rc2 [INFO] [stderr] Downloaded sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Downloaded sp-storage v2.0.0-rc2 [INFO] [stderr] Downloaded sp-runtime-interface v2.0.0-rc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e559a8f2a361698c8981504f95469363d29abdc6e58f917c20279fcd5f72393 [INFO] running `Command { std: "docker" "start" "-a" "9e559a8f2a361698c8981504f95469363d29abdc6e58f917c20279fcd5f72393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e559a8f2a361698c8981504f95469363d29abdc6e58f917c20279fcd5f72393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e559a8f2a361698c8981504f95469363d29abdc6e58f917c20279fcd5f72393", kill_on_drop: false }` [INFO] [stdout] 9e559a8f2a361698c8981504f95469363d29abdc6e58f917c20279fcd5f72393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 708acb294a59d03b611994cffa120f25e1b9505462a78e322a3145c503421456 [INFO] running `Command { std: "docker" "start" "-a" "708acb294a59d03b611994cffa120f25e1b9505462a78e322a3145c503421456", 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 crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [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 gimli v0.21.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling sp-std v2.0.0-rc2 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling hash256-std-hasher v0.15.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling index-fixed v0.3.0 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling sodalite v0.3.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling rpassword v4.0.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling wasmi v0.6.2 [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 zeroize_derive v1.0.0 [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 tracing-attributes v0.1.8 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.7 [INFO] [stderr] Compiling ref-cast v1.0.1 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling tracing v0.1.14 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling substrate-bip39 v0.4.1 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling impl-serde v0.3.1 [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 toml v0.5.6 [INFO] [stderr] Compiling rustbreak v2.0.0-rc3 [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-wasm-interface v2.0.0-rc2 [INFO] [stderr] Compiling sp-externalities v0.8.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.25s [INFO] running `Command { std: "docker" "inspect" "708acb294a59d03b611994cffa120f25e1b9505462a78e322a3145c503421456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708acb294a59d03b611994cffa120f25e1b9505462a78e322a3145c503421456", kill_on_drop: false }` [INFO] [stdout] 708acb294a59d03b611994cffa120f25e1b9505462a78e322a3145c503421456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4b410af7c2fe40cd636a6240b16215cfb330daaed379538f47b723bafc96af47 [INFO] running `Command { std: "docker" "start" "-a" "4b410af7c2fe40cd636a6240b16215cfb330daaed379538f47b723bafc96af47", kill_on_drop: false }` [INFO] [stderr] Compiling hex-literal-impl v0.2.2 [INFO] [stderr] Compiling hex-literal v0.2.1 [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "4b410af7c2fe40cd636a6240b16215cfb330daaed379538f47b723bafc96af47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b410af7c2fe40cd636a6240b16215cfb330daaed379538f47b723bafc96af47", kill_on_drop: false }` [INFO] [stdout] 4b410af7c2fe40cd636a6240b16215cfb330daaed379538f47b723bafc96af47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c63d7f21d97c81dc5b05f205e3bcb7421d257b28d6bb616663673e18feac51f4 [INFO] running `Command { std: "docker" "start" "-a" "c63d7f21d97c81dc5b05f205e3bcb7421d257b28d6bb616663673e18feac51f4", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Derive`, `Ss58AddressFormat`, and `set_default_ss58_version` [INFO] [stderr] --> src/crypto.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | crypto::{set_default_ss58_version, Ss58AddressFormat, Ss58Codec, Derive, AccountId32 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/keystore.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Encoding` [INFO] [stderr] 8 | pub struct Encoding { [INFO] [stderr] | -------- `Encoding` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/keystore.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Encoding` [INFO] [stderr] 8 | pub struct Encoding { [INFO] [stderr] | -------- `Encoding` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/keystore.rs:14:24 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Keystore` [INFO] [stderr] 15 | pub struct Keystore { [INFO] [stderr] | -------- `Keystore` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/keystore.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Keystore` [INFO] [stderr] 15 | pub struct Keystore { [INFO] [stderr] | -------- `Keystore` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/wallet.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone, Default)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Address` [INFO] [stderr] 19 | pub struct Address { [INFO] [stderr] | ------- `Address` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/wallet.rs:18:43 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone, Default)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Address` [INFO] [stderr] 19 | pub struct Address { [INFO] [stderr] | ------- `Address` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/wallet.rs:306:32 [INFO] [stderr] | [INFO] [stderr] 306 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Wallet` [INFO] [stderr] 307 | pub struct Wallet { [INFO] [stderr] | ------ `Wallet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/wallet.rs:306:43 [INFO] [stderr] | [INFO] [stderr] 306 | #[derive(Eq, PartialEq, Debug, Serialize, Deserialize, Clone)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Wallet` [INFO] [stderr] 307 | pub struct Wallet { [INFO] [stderr] | ------ `Wallet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `subwallet` (bin "subwallet" test) generated 9 warnings (run `cargo fix --bin "subwallet" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/subwallet-d02f75ec1ecb8fd9) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test keystore::tests::test_parse_invalid_json_file ... ok [INFO] [stdout] test keystore::tests::test_parse_valid_json_file ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_with_incorrect_password ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_sr25519 ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_sr25519 ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_ecdsa ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_ecdsa ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_sr25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_ed25519 ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_ecdsa ... ok [INFO] [stdout] test wallet::address_tests::generate_should_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c63d7f21d97c81dc5b05f205e3bcb7421d257b28d6bb616663673e18feac51f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c63d7f21d97c81dc5b05f205e3bcb7421d257b28d6bb616663673e18feac51f4", kill_on_drop: false }` [INFO] [stdout] c63d7f21d97c81dc5b05f205e3bcb7421d257b28d6bb616663673e18feac51f4