[INFO] fetching crate subwallet 0.1.0... [INFO] testing subwallet-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate subwallet 0.1.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate subwallet 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-core v2.0.0-rc2 [INFO] [stderr] Downloaded merlin v2.0.0 [INFO] [stderr] Downloaded sp-std v2.0.0-rc2 [INFO] [stderr] Downloaded sp-externalities v0.8.0-rc2 [INFO] [stderr] Downloaded sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Downloaded sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Downloaded primitive-types v0.7.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.8 [INFO] [stderr] Downloaded hex-literal-impl v0.2.2 [INFO] [stderr] Downloaded sodalite v0.3.0 [INFO] [stderr] Downloaded hex-literal v0.2.1 [INFO] [stderr] Downloaded derive_more v0.99.7 [INFO] [stderr] Downloaded impl-serde v0.3.1 [INFO] [stderr] Downloaded addr2line v0.12.0 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded pin-project-internal v0.4.16 [INFO] [stderr] Downloaded pin-project v0.4.16 [INFO] [stderr] Downloaded tracing v0.1.14 [INFO] [stderr] Downloaded curve25519-dalek v2.0.0 [INFO] [stderr] Downloaded parity-scale-codec v1.3.0 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Downloaded parity-util-mem v0.6.1 [INFO] [stderr] Downloaded uint v0.8.3 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded environmental v1.1.1 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Downloaded parity-scale-codec-derive v1.2.0 [INFO] [stderr] Downloaded ref-cast v1.0.1 [INFO] [stderr] Downloaded sp-tracing v2.0.0-rc2 [INFO] [stderr] Downloaded sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Downloaded sp-storage v2.0.0-rc2 [INFO] [stderr] Downloaded ref-cast-impl v1.0.1 [INFO] [stderr] Downloaded subtle v2.2.2 [INFO] [stderr] Downloaded substrate-bip39 v0.4.1 [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded rustbreak v2.0.0-rc3 [INFO] [stderr] Downloaded index-fixed v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bad7b521bfd6f1e200c374f755a6332d884d8cde8b51c5fb982cd06d381881a5 [INFO] running `Command { std: "docker" "start" "-a" "bad7b521bfd6f1e200c374f755a6332d884d8cde8b51c5fb982cd06d381881a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bad7b521bfd6f1e200c374f755a6332d884d8cde8b51c5fb982cd06d381881a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad7b521bfd6f1e200c374f755a6332d884d8cde8b51c5fb982cd06d381881a5", kill_on_drop: false }` [INFO] [stdout] bad7b521bfd6f1e200c374f755a6332d884d8cde8b51c5fb982cd06d381881a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41e077d67609cef1b092d1db6d251234424e5c1f328f22f8adbefa471cdf217b [INFO] running `Command { std: "docker" "start" "-a" "41e077d67609cef1b092d1db6d251234424e5c1f328f22f8adbefa471cdf217b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling subtle v2.2.2 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling sp-std v2.0.0-rc2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling rand_core v0.5.1 [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 rand v0.7.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling base64 v0.9.3 [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 hex v0.4.2 [INFO] [stderr] Compiling index-fixed v0.3.0 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling hash-db v0.15.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling sodalite v0.3.0 [INFO] [stderr] Compiling dirs v2.0.2 [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 ref-cast-impl v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling ref-cast v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling curve25519-dalek v2.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling merlin v2.0.0 [INFO] [stderr] Compiling tracing v0.1.14 [INFO] [stderr] Compiling schnorrkel v0.9.1 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling tiny-bip39 v0.7.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.7 [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 toml v0.5.6 [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 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)]` (part of `#[warn(unused)]`) 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 1m 31s [INFO] running `Command { std: "docker" "inspect" "41e077d67609cef1b092d1db6d251234424e5c1f328f22f8adbefa471cdf217b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e077d67609cef1b092d1db6d251234424e5c1f328f22f8adbefa471cdf217b", kill_on_drop: false }` [INFO] [stdout] 41e077d67609cef1b092d1db6d251234424e5c1f328f22f8adbefa471cdf217b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caba054a8e1ae64848332073a9e37cb65f5a963fa9e456c868944800e4a7b335 [INFO] running `Command { std: "docker" "start" "-a" "caba054a8e1ae64848332073a9e37cb65f5a963fa9e456c868944800e4a7b335", 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)]` (part of `#[warn(unused)]`) 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 1.54s [INFO] running `Command { std: "docker" "inspect" "caba054a8e1ae64848332073a9e37cb65f5a963fa9e456c868944800e4a7b335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caba054a8e1ae64848332073a9e37cb65f5a963fa9e456c868944800e4a7b335", kill_on_drop: false }` [INFO] [stdout] caba054a8e1ae64848332073a9e37cb65f5a963fa9e456c868944800e4a7b335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 724d81b7b9452f8243f93fda72bea296e27590406a429a6992b99d19ab6ab8e1 [INFO] running `Command { std: "docker" "start" "-a" "724d81b7b9452f8243f93fda72bea296e27590406a429a6992b99d19ab6ab8e1", 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)]` (part of `#[warn(unused)]`) 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.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/subwallet-84b48bc24c57bd66) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test keystore::tests::test_parse_valid_json_file ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_sr25519 ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_ecdsa ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_with_incorrect_password ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_sr25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_sr25519 ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_ecdsa ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_for_ecdsa ... ok [INFO] [stdout] test keystore::tests::test_parse_invalid_json_file ... 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.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "724d81b7b9452f8243f93fda72bea296e27590406a429a6992b99d19ab6ab8e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724d81b7b9452f8243f93fda72bea296e27590406a429a6992b99d19ab6ab8e1", kill_on_drop: false }` [INFO] [stdout] 724d81b7b9452f8243f93fda72bea296e27590406a429a6992b99d19ab6ab8e1