[INFO] cloning repository https://github.com/crabstars/Vault [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crabstars/Vault" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabstars%2FVault", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabstars%2FVault'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 08310a38e64d72c5b07e5c9c0f5982653b7bb834 [INFO] testing crabstars/Vault against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrabstars%2FVault" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/crabstars/Vault [INFO] finished tweaking git repo https://github.com/crabstars/Vault [INFO] tweaked toml for git repo https://github.com/crabstars/Vault written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/crabstars/Vault on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/crabstars/Vault 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded uuid-macro-internal v1.1.2 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded smallvec v1.8.1 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded tree_magic_mini v3.0.3 [INFO] [stderr] Downloaded cli-clipboard v0.3.0 [INFO] [stderr] Downloaded bytecount v0.6.3 [INFO] [stderr] Downloaded clipboard-win v4.4.1 [INFO] [stderr] Downloaded rpassword v7.1.0 [INFO] [stderr] Downloaded x11-clipboard v0.6.1 [INFO] [stderr] Downloaded rust-argon2 v1.0.0 [INFO] [stderr] Downloaded blake2b_simd v1.0.0 [INFO] [stderr] Downloaded os_pipe v1.1.1 [INFO] [stderr] Downloaded wl-clipboard-rs v0.6.0 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded clap_derive v4.0.18 [INFO] [stderr] Downloaded quick-xml v0.22.0 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded xcb v1.1.1 [INFO] [stderr] Downloaded clearscreen v1.0.10 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded universal-hash v0.5.0 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded clap v4.0.18 [INFO] [stderr] Downloaded cipher v0.4.3 [INFO] [stderr] Downloaded aead v0.5.1 [INFO] [stderr] Downloaded chacha20 v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5 [INFO] running `Command { std: "docker" "start" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling smallvec v1.8.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling xcb v1.1.1 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.24.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling universal-hash v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling os_pipe v1.1.1 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling aead v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling which v4.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rpassword v7.1.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tree_magic_mini v3.0.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling uuid-macro-internal v1.1.2 [INFO] [stderr] Compiling clap_derive v4.0.18 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling cipher v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling chacha20 v0.9.0 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling clearscreen v1.0.10 [INFO] [stderr] Compiling x11-clipboard v0.6.1 [INFO] [stderr] Compiling clap v4.0.18 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling wl-clipboard-rs v0.6.0 [INFO] [stderr] Compiling cli-clipboard v0.3.0 [INFO] [stderr] Compiling vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/ui/render.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entry_by_id` is never used [INFO] [stdout] --> src/database/operations.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Database { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_entry_by_id(&self, id: String) -> Option<&PasswordEntry>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/ui/enums.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [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/database/structures.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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 03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.22.0, terminfo v0.7.3, wl-clipboard-rs v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling vault v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/ui/render.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_entry_by_id` is never used [INFO] [stdout] --> src/database/operations.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Database { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn get_entry_by_id(&self, id: String) -> Option<&PasswordEntry>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/ui/enums.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [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/database/structures.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:5:57 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_EntryType` [INFO] [stdout] 6 | pub enum EntryType{ [INFO] [stdout] | --------- `EntryType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:57 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_PasswordEntry` [INFO] [stdout] 12 | pub struct PasswordEntry { [INFO] [stdout] | ------------- `PasswordEntry` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:48 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:57 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `ZeroizeOnDrop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_CustomFile` [INFO] [stdout] 25 | pub struct CustomFile { [INFO] [stdout] | ---------- `CustomFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.22.0, terminfo v0.7.3, wl-clipboard-rs v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stderr] --> src/ui/render.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | use std::usize; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `get_entry_by_id` is never used [INFO] [stderr] --> src/database/operations.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait Database { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 21 | fn get_entry_by_id(&self, id: String) -> Option<&PasswordEntry>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Error` is never used [INFO] [stderr] --> src/ui/enums.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Error { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/database/structures.rs:5:48 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EntryType` [INFO] [stderr] 6 | pub enum EntryType{ [INFO] [stderr] | --------- `EntryType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:5:57 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_EntryType` [INFO] [stderr] 6 | pub enum EntryType{ [INFO] [stderr] | --------- `EntryType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:5:57 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `ZeroizeOnDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_EntryType` [INFO] [stderr] 6 | pub enum EntryType{ [INFO] [stderr] | --------- `EntryType` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:48 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_PasswordEntry` [INFO] [stderr] 12 | pub struct PasswordEntry { [INFO] [stderr] | ------------- `PasswordEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:11:57 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_PasswordEntry` [INFO] [stderr] 12 | pub struct PasswordEntry { [INFO] [stderr] | ------------- `PasswordEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:11:57 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `ZeroizeOnDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_PasswordEntry` [INFO] [stderr] 12 | pub struct PasswordEntry { [INFO] [stderr] | ------------- `PasswordEntry` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:48 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CustomFile` [INFO] [stderr] 25 | pub struct CustomFile { [INFO] [stderr] | ---------- `CustomFile` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `Zeroize` (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/database/structures.rs:24:57 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_CustomFile` [INFO] [stderr] 25 | pub struct CustomFile { [INFO] [stderr] | ---------- `CustomFile` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (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/database/structures.rs:24:57 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Serialize, Deserialize, Clone, Debug, Zeroize, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `ZeroizeOnDrop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_ZeroizeOnDrop_FOR_CustomFile` [INFO] [stderr] 25 | pub struct CustomFile { [INFO] [stderr] | ---------- `CustomFile` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `ZeroizeOnDrop` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_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 `ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `vault` (bin "vault" test) generated 12 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, quick-xml v0.22.0, terminfo v0.7.3, wl-clipboard-rs v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/vault-b40419278ae15309) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5", kill_on_drop: false }` [INFO] [stdout] 69b50f4e6a224b6dd057f77c6142fed9d6aeb8e05452d1c47e6009190d95e1c5