[INFO] cloning repository https://github.com/share-secrets-safely/cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/share-secrets-safely/cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshare-secrets-safely%2Fcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshare-secrets-safely%2Fcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bee79baf0440dddb663227e7e8bf160e7df9016 [INFO] checking share-secrets-safely/cli against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshare-secrets-safely%2Fcli" "/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/share-secrets-safely/cli on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/share-secrets-safely/cli [INFO] finished tweaking git repo https://github.com/share-secrets-safely/cli [INFO] tweaked toml for git repo https://github.com/share-secrets-safely/cli written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/share-secrets-safely/cli 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 612d3496f15947f2fdf8d03a4110ea9d31f13c75a4b7a0c95d4c38db8d318bf6 [INFO] running `Command { std: "docker" "start" "-a" "612d3496f15947f2fdf8d03a4110ea9d31f13c75a4b7a0c95d4c38db8d318bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "612d3496f15947f2fdf8d03a4110ea9d31f13c75a4b7a0c95d4c38db8d318bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612d3496f15947f2fdf8d03a4110ea9d31f13c75a4b7a0c95d4c38db8d318bf6", kill_on_drop: false }` [INFO] [stdout] 612d3496f15947f2fdf8d03a4110ea9d31f13c75a4b7a0c95d4c38db8d318bf6 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a9e2f3551057fed7859e525c97b83eca7ecbb68cd185517efc685d9182e90a7 [INFO] running `Command { std: "docker" "start" "-a" "8a9e2f3551057fed7859e525c97b83eca7ecbb68cd185517efc685d9182e90a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Compiling liquid-error v0.19.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling gpg-error v0.4.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling libgpg-error-sys v0.4.1 [INFO] [stderr] Compiling gpgme-sys v0.8.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-quote-impl v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling gpgme v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking cstr-argument v0.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Checking deunicode v1.1.1 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking mktemp v0.4.1 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling proc-quote v0.2.2 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde_yaml v0.8.15 [INFO] [stderr] Checking liquid-value v0.19.1 [INFO] [stderr] Compiling liquid-interpreter v0.19.0 [INFO] [stderr] Checking sheesy-vault v4.0.11 (/opt/rustwide/workdir/lib/vault) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib/vault/src/init.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> lib/vault/src/init.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking liquid-compiler v0.19.0 [INFO] [stdout] warning: use of deprecated method `failure::Fail::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> lib/vault/src/error.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | self.causes().filter_map(|c| c.downcast_ref::()).next() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `failure::Fail::causes`: please use the 'iter_chain()' method instead [INFO] [stdout] --> lib/vault/src/error.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | self.causes().filter_map(|c| c.downcast_ref::()).next() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking treediff v4.0.0 [INFO] [stderr] Checking handlebars v3.5.2 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> lib/vault/src/error.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecryptionError` [INFO] [stdout] 14 | #[fail(display = "The content was not encrypted for you.")] [INFO] [stdout] 15 | pub struct DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecryptionError` [INFO] [stdout] 14 | #[fail(display = "The content was not encrypted for you.")] [INFO] [stdout] 15 | pub struct DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EncryptionError` [INFO] [stdout] 31 | pub struct EncryptionError { [INFO] [stdout] | --------------- `EncryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_VaultError` [INFO] [stdout] 92 | pub enum VaultError { [INFO] [stdout] | ---------- `VaultError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> lib/vault/src/resource.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | / mem::replace( [INFO] [stdout] 198 | | none, [INFO] [stdout] 199 | | Some(( [INFO] [stdout] 200 | | partition.secrets_path(), [INFO] [stdout] ... | [INFO] [stdout] 206 | | )), [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = mem::replace( [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] --> lib/vault/src/error.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DecryptionError` [INFO] [stdout] 14 | #[fail(display = "The content was not encrypted for you.")] [INFO] [stdout] 15 | pub struct DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DecryptionError` [INFO] [stdout] 14 | #[fail(display = "The content was not encrypted for you.")] [INFO] [stdout] 15 | pub struct DecryptionError { [INFO] [stdout] | --------------- `DecryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EncryptionError` [INFO] [stdout] 31 | pub struct EncryptionError { [INFO] [stdout] | --------------- `EncryptionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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] --> lib/vault/src/error.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_VaultError` [INFO] [stdout] 92 | pub enum VaultError { [INFO] [stdout] | ---------- `VaultError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> lib/vault/src/resource.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | / mem::replace( [INFO] [stdout] 198 | | none, [INFO] [stdout] 199 | | Some(( [INFO] [stdout] 200 | | partition.secrets_path(), [INFO] [stdout] ... | [INFO] [stdout] 206 | | )), [INFO] [stdout] 207 | | ); [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 197 | let _ = mem::replace( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling liquid-derive v0.19.0 [INFO] [stderr] Checking liquid v0.19.0 [INFO] [stderr] Checking sheesy-tools v4.0.11 (/opt/rustwide/workdir/lib/tools) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.29s [INFO] running `Command { std: "docker" "inspect" "8a9e2f3551057fed7859e525c97b83eca7ecbb68cd185517efc685d9182e90a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9e2f3551057fed7859e525c97b83eca7ecbb68cd185517efc685d9182e90a7", kill_on_drop: false }` [INFO] [stdout] 8a9e2f3551057fed7859e525c97b83eca7ecbb68cd185517efc685d9182e90a7