[INFO] fetching crate subwallet 0.1.0... [INFO] testing subwallet-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded impl-codec v0.4.2 [INFO] [stderr] Downloaded substrate-bip39 v0.4.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded parity-util-mem v0.6.1 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.1.3 [INFO] [stderr] Downloaded uint v0.8.3 [INFO] [stderr] Downloaded redox_users v0.3.4 [INFO] [stderr] Downloaded hex-literal-impl v0.2.2 [INFO] [stderr] Downloaded sha2 v0.8.1 [INFO] [stderr] Downloaded rustbreak v2.0.0-rc3 [INFO] [stderr] Downloaded parity-util-mem-derive v0.1.0 [INFO] [stderr] Downloaded sp-storage v2.0.0-rc2 [INFO] [stderr] Downloaded curve25519-dalek v2.0.0 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded zeroize v1.1.0 [INFO] [stderr] Downloaded schnorrkel v0.9.1 [INFO] [stderr] Downloaded wasmi v0.6.2 [INFO] [stderr] Downloaded tracing-attributes v0.1.8 [INFO] [stderr] Downloaded addr2line v0.12.0 [INFO] [stderr] Downloaded cc v1.0.53 [INFO] [stderr] Downloaded parity-scale-codec v1.3.0 [INFO] [stderr] Downloaded pin-project-internal v0.4.16 [INFO] [stderr] Downloaded sp-std v2.0.0-rc2 [INFO] [stderr] Downloaded sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Downloaded proc-macro-nested v0.1.4 [INFO] [stderr] Downloaded twox-hash v1.5.0 [INFO] [stderr] Downloaded tracing-core v0.1.10 [INFO] [stderr] Downloaded sodalite v0.3.0 [INFO] [stderr] Downloaded byte-slice-cast v0.3.5 [INFO] [stderr] Downloaded pin-project v0.4.16 [INFO] [stderr] Downloaded hex-literal v0.2.1 [INFO] [stderr] Downloaded wasmi-validation v0.3.0 [INFO] [stderr] Downloaded tracing v0.1.14 [INFO] [stderr] Downloaded hash-db v0.15.2 [INFO] [stderr] Downloaded fixed-hash v0.6.1 [INFO] [stderr] Downloaded environmental v1.1.1 [INFO] [stderr] Downloaded sp-core v2.0.0-rc2 [INFO] [stderr] Downloaded merlin v2.0.0 [INFO] [stderr] Downloaded memory_units v0.3.0 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded sp-runtime-interface v2.0.0-rc2 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded proc-macro-crate v0.1.4 [INFO] [stderr] Downloaded sp-wasm-interface v2.0.0-rc2 [INFO] [stderr] Downloaded parity-wasm v0.41.0 [INFO] [stderr] Downloaded index-fixed v0.3.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.1 [INFO] [stderr] Downloaded base58 v0.1.0 [INFO] [stderr] Downloaded derive_more v0.99.7 [INFO] [stderr] Downloaded impl-serde v0.3.1 [INFO] [stderr] Downloaded sp-externalities v0.8.0-rc2 [INFO] [stderr] Downloaded sp-tracing 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 subtle v2.2.2 [INFO] [stderr] Downloaded gimli v0.21.0 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded sp-runtime-interface-proc-macro v2.0.0-rc2 [INFO] [stderr] Downloaded impl-serde v0.2.3 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded primitive-types v0.7.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded unicode-normalization v0.1.12 [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded rust-argon2 v0.7.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10870c54feafaada10b56470f5c55b96d4749810faef74157103f1f60d5ebe7f [INFO] running `Command { std: "docker" "start" "-a" "10870c54feafaada10b56470f5c55b96d4749810faef74157103f1f60d5ebe7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10870c54feafaada10b56470f5c55b96d4749810faef74157103f1f60d5ebe7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10870c54feafaada10b56470f5c55b96d4749810faef74157103f1f60d5ebe7f", kill_on_drop: false }` [INFO] [stdout] 10870c54feafaada10b56470f5c55b96d4749810faef74157103f1f60d5ebe7f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1f74e77138315188dfc763398a1db8d19cfd72fb30314f0c426513614edc1e0 [INFO] running `Command { std: "docker" "start" "-a" "c1f74e77138315188dfc763398a1db8d19cfd72fb30314f0c426513614edc1e0", 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 byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [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 thread_local v1.0.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling sp-std v2.0.0-rc2 [INFO] [stderr] Compiling parity-wasm v0.41.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [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 block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling uint v0.8.3 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling memory_units v0.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling environmental v1.1.1 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Compiling parity-util-mem v0.6.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling blake2-rfc v0.2.18 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling regex v1.3.7 [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 itoa v0.4.5 [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 rpassword v4.0.5 [INFO] [stderr] Compiling sodalite v0.3.0 [INFO] [stderr] Compiling wasmi-validation v0.3.0 [INFO] [stderr] Compiling addr2line v0.12.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling fixed-hash v0.6.1 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wasmi v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling ref-cast-impl v1.0.1 [INFO] [stderr] Compiling sp-debug-derive v2.0.0-rc2 [INFO] [stderr] Compiling 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 derive_more v0.99.7 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling parity-util-mem-derive v0.1.0 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ref-cast v1.0.1 [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 pin-project v0.4.16 [INFO] [stderr] Compiling sp-tracing v2.0.0-rc2 [INFO] [stderr] Compiling futures-util v0.3.5 [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 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 59.95s [INFO] running `Command { std: "docker" "inspect" "c1f74e77138315188dfc763398a1db8d19cfd72fb30314f0c426513614edc1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f74e77138315188dfc763398a1db8d19cfd72fb30314f0c426513614edc1e0", kill_on_drop: false }` [INFO] [stdout] c1f74e77138315188dfc763398a1db8d19cfd72fb30314f0c426513614edc1e0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cf5b7acd37d5cc295909e87b0554a952b447ecfb2f2951bf57b2fe69081d027 [INFO] running `Command { std: "docker" "start" "-a" "8cf5b7acd37d5cc295909e87b0554a952b447ecfb2f2951bf57b2fe69081d027", 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.94s [INFO] running `Command { std: "docker" "inspect" "8cf5b7acd37d5cc295909e87b0554a952b447ecfb2f2951bf57b2fe69081d027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf5b7acd37d5cc295909e87b0554a952b447ecfb2f2951bf57b2fe69081d027", kill_on_drop: false }` [INFO] [stdout] 8cf5b7acd37d5cc295909e87b0554a952b447ecfb2f2951bf57b2fe69081d027 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2d1cd629f93fb06d4e0358560311cac020d723d3f3984c96985386141ae2b01b [INFO] running `Command { std: "docker" "start" "-a" "2d1cd629f93fb06d4e0358560311cac020d723d3f3984c96985386141ae2b01b", 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.23s [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_into_pair_for_ed25519 ... ok [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_for_ed25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_for_ecdsa ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_sr25519 ... ok [INFO] [stdout] test wallet::address_tests::test_from_keystore_with_incorrect_password ... ok [INFO] [stdout] test keystore::tests::test_into_pair_for_ecdsa ... 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 wallet::address_tests::test_from_keystore_for_sr25519 ... ok [INFO] [stdout] test wallet::address_tests::test_into_keystore_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.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2d1cd629f93fb06d4e0358560311cac020d723d3f3984c96985386141ae2b01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1cd629f93fb06d4e0358560311cac020d723d3f3984c96985386141ae2b01b", kill_on_drop: false }` [INFO] [stdout] 2d1cd629f93fb06d4e0358560311cac020d723d3f3984c96985386141ae2b01b