[INFO] cloning repository https://github.com/dvc94ch/flutter-keystore-plugin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dvc94ch/flutter-keystore-plugin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fflutter-keystore-plugin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fflutter-keystore-plugin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 980cc890278218d08243a498d41190f6ef83924c [INFO] checking dvc94ch/flutter-keystore-plugin against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdvc94ch%2Fflutter-keystore-plugin" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dvc94ch/flutter-keystore-plugin on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dvc94ch/flutter-keystore-plugin [INFO] finished tweaking git repo https://github.com/dvc94ch/flutter-keystore-plugin [INFO] tweaked toml for git repo https://github.com/dvc94ch/flutter-keystore-plugin written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dvc94ch/flutter-keystore-plugin 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" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d5132257a581ae953d39474b2875fcc3cc2e701707e1b756a54d03c29be7226 [INFO] running `Command { std: "docker" "start" "-a" "1d5132257a581ae953d39474b2875fcc3cc2e701707e1b756a54d03c29be7226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d5132257a581ae953d39474b2875fcc3cc2e701707e1b756a54d03c29be7226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5132257a581ae953d39474b2875fcc3cc2e701707e1b756a54d03c29be7226", kill_on_drop: false }` [INFO] [stdout] 1d5132257a581ae953d39474b2875fcc3cc2e701707e1b756a54d03c29be7226 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8394790bd95347f51a5defa92e2562d3cffb0394c074ccaf9a388e50d8884a9 [INFO] running `Command { std: "docker" "start" "-a" "e8394790bd95347f51a5defa92e2562d3cffb0394c074ccaf9a388e50d8884a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking subtle v2.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling clear_on_drop v0.2.3 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bitvec v0.15.2 [INFO] [stderr] Checking byte-slice-cast v0.3.5 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking parity-wasm v0.41.0 [INFO] [stderr] Compiling curve25519-dalek v1.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking sp-std v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Checking pbkdf2 v0.3.0 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking memory_units v0.3.0 [INFO] [stderr] Checking fixed-hash v0.5.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking uint v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking environmental v1.1.1 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking hmac-drbg v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking once_cell v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cbindgen v0.14.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Checking libsecp256k1 v0.3.4 [INFO] [stderr] Checking blake2-rfc v0.2.18 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking pixelate v0.1.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking wasmi-validation v0.3.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking hash256-std-hasher v0.15.2 [INFO] [stderr] Checking base58 v0.1.0 [INFO] [stderr] Checking hash-db v0.15.2 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking hsl v0.1.1 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking blockies v0.3.0 [INFO] [stderr] Checking strobe-rs v0.5.2 [INFO] [stderr] Checking wasmi v0.6.2 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking qrcode v0.11.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling sp-debug-derive v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Compiling impl-trait-for-tuples v0.1.3 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking merlin v1.3.0 [INFO] [stderr] Checking curve25519-dalek v2.0.0 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking schnorrkel v0.8.5 [INFO] [stderr] Checking tiny-bip39 v0.6.2 [INFO] [stderr] Checking tiny-bip39 v0.7.0 [INFO] [stderr] Checking ffi_helpers v0.1.0 [INFO] [stderr] Checking ed25519-dalek v1.0.0-pre.3 [INFO] [stderr] Checking substrate-bip39 v0.3.1 [INFO] [stderr] Checking impl-serde v0.2.3 [INFO] [stderr] Checking impl-serde v0.3.0 [INFO] [stderr] Checking serde_json v1.0.45 [INFO] [stderr] Checking sp-storage v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Checking sp-externalities v0.8.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling parity-scale-codec-derive v1.1.1 [INFO] [stderr] Compiling sp-runtime-interface-proc-macro v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Checking parity-scale-codec v1.1.2 [INFO] [stderr] Checking impl-codec v0.4.2 [INFO] [stderr] Checking sp-wasm-interface v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Checking primitive-types v0.6.2 [INFO] [stderr] Checking sp-runtime-interface v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Checking sp-core v2.0.0 (https://github.com/paritytech/substrate#85b65a38) [INFO] [stderr] Compiling keystore-ffi v0.1.0 (/opt/rustwide/workdir/keystore-ffi) [INFO] [stderr] Checking keystore v0.1.0 (/opt/rustwide/workdir/keystore) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> keystore/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> keystore/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> keystore/src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> keystore/src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: 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: see for more information about checking conditional configuration [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] --> keystore/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyFile` [INFO] [stdout] 102 | struct KeyFile { [INFO] [stdout] | ------- `KeyFile` 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: `#[warn(non_local_definitions)]` on by default [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] --> keystore/src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyFile` [INFO] [stdout] 102 | struct KeyFile { [INFO] [stdout] | ------- `KeyFile` 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] --> keystore/src/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyFile` [INFO] [stdout] 102 | struct KeyFile { [INFO] [stdout] | ------- `KeyFile` 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: `#[warn(non_local_definitions)]` on by default [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] --> keystore/src/lib.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | #[derive(Clone, Debug, Deserialize, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyFile` [INFO] [stdout] 102 | struct KeyFile { [INFO] [stdout] | ------- `KeyFile` 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: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 85 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | let phrase = cstr!(phrase); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 100 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 113 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | error!($result, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | match error!(result) { [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 85 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | let phrase = cstr!(phrase); [INFO] [stdout] | ------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 100 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | cstr!($ptr, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 113 | let password = cstr!(password); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `cstr` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> keystore-ffi/src/lib.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | error!($result, 0); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 135 | match error!(result) { [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> keystore-ffi/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Box::from_raw(keystore as *mut Keystore); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Box::from_raw(keystore as *mut Keystore); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> keystore-ffi/src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | CString::from_raw(phrase); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = CString::from_raw(phrase); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> keystore-ffi/src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | Box::from_raw(keystore as *mut Keystore); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = Box::from_raw(keystore as *mut Keystore); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> keystore-ffi/src/lib.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | CString::from_raw(phrase); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = CString::from_raw(phrase); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: keystore-ffi v0.1.0 (/opt/rustwide/workdir/keystore-ffi) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e8394790bd95347f51a5defa92e2562d3cffb0394c074ccaf9a388e50d8884a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8394790bd95347f51a5defa92e2562d3cffb0394c074ccaf9a388e50d8884a9", kill_on_drop: false }` [INFO] [stdout] e8394790bd95347f51a5defa92e2562d3cffb0394c074ccaf9a388e50d8884a9