[INFO] cloning repository https://github.com/wayofthepie/sec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wayofthepie/sec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2dcaf71dddf67814570f68974bc828cbcb5ba883 [INFO] testing wayofthepie/sec against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayofthepie/sec on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wayofthepie/sec [INFO] finished tweaking git repo https://github.com/wayofthepie/sec [INFO] tweaked toml for git repo https://github.com/wayofthepie/sec written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wayofthepie/sec 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1118ff1b20e5f9abc0b9a1558cbf9a4fa16bac61a0e6b21a5c86675b027d116 [INFO] running `Command { std: "docker" "start" "-a" "c1118ff1b20e5f9abc0b9a1558cbf9a4fa16bac61a0e6b21a5c86675b027d116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1118ff1b20e5f9abc0b9a1558cbf9a4fa16bac61a0e6b21a5c86675b027d116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1118ff1b20e5f9abc0b9a1558cbf9a4fa16bac61a0e6b21a5c86675b027d116", kill_on_drop: false }` [INFO] [stdout] c1118ff1b20e5f9abc0b9a1558cbf9a4fa16bac61a0e6b21a5c86675b027d116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1fcc8ff895599a170647ab94ab721335982d0206acb2277bab6b9967c941099 [INFO] running `Command { std: "docker" "start" "-a" "e1fcc8ff895599a170647ab94ab721335982d0206acb2277bab6b9967c941099", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libgpg-error-sys v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling gpg-error v0.5.2 [INFO] [stderr] Compiling gpgme-sys v0.10.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling cstr-argument v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling gpgme v0.10.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling zeroize v1.5.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling rpassword v6.0.1 [INFO] [stderr] Compiling sec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/secrets.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedString` [INFO] [stdout] 8 | pub struct ZeroizedString(String); [INFO] [stdout] | -------------- `ZeroizedString` 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: `#[warn(non_local_definitions)]` on by default [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/secrets.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, 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_ZeroizedString` [INFO] [stdout] 8 | pub struct ZeroizedString(String); [INFO] [stdout] | -------------- `ZeroizedString` 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/secrets.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedByteVec` [INFO] [stdout] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stdout] | --------------- `ZeroizedByteVec` 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/secrets.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(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_ZeroizedByteVec` [INFO] [stdout] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stdout] | --------------- `ZeroizedByteVec` 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 23.46s [INFO] running `Command { std: "docker" "inspect" "e1fcc8ff895599a170647ab94ab721335982d0206acb2277bab6b9967c941099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fcc8ff895599a170647ab94ab721335982d0206acb2277bab6b9967c941099", kill_on_drop: false }` [INFO] [stdout] e1fcc8ff895599a170647ab94ab721335982d0206acb2277bab6b9967c941099 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a7a53bc15bb5b216d65ec320f6aff021b8ec50718da98c887b39873549ee00 [INFO] running `Command { std: "docker" "start" "-a" "57a7a53bc15bb5b216d65ec320f6aff021b8ec50718da98c887b39873549ee00", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling memfile v0.2.1 [INFO] [stderr] Compiling uuid v1.1.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling sec v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/secrets.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedString` [INFO] [stdout] 8 | pub struct ZeroizedString(String); [INFO] [stdout] | -------------- `ZeroizedString` 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: `#[warn(non_local_definitions)]` on by default [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/secrets.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, PartialEq, 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_ZeroizedString` [INFO] [stdout] 8 | pub struct ZeroizedString(String); [INFO] [stdout] | -------------- `ZeroizedString` 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/secrets.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(ZeroizeOnDrop)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedByteVec` [INFO] [stdout] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stdout] | --------------- `ZeroizedByteVec` 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/secrets.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(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_ZeroizedByteVec` [INFO] [stdout] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stdout] | --------------- `ZeroizedByteVec` 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.80s [INFO] running `Command { std: "docker" "inspect" "57a7a53bc15bb5b216d65ec320f6aff021b8ec50718da98c887b39873549ee00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a7a53bc15bb5b216d65ec320f6aff021b8ec50718da98c887b39873549ee00", kill_on_drop: false }` [INFO] [stdout] 57a7a53bc15bb5b216d65ec320f6aff021b8ec50718da98c887b39873549ee00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8905e053cb6c57aed63abc023282dccd3d57fe4934118821c0f5d78e870d424c [INFO] running `Command { std: "docker" "start" "-a" "8905e053cb6c57aed63abc023282dccd3d57fe4934118821c0f5d78e870d424c", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/secrets.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, PartialEq, ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedString` [INFO] [stderr] 8 | pub struct ZeroizedString(String); [INFO] [stderr] | -------------- `ZeroizedString` 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: `#[warn(non_local_definitions)]` on by default [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/secrets.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Clone, PartialEq, 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_ZeroizedString` [INFO] [stderr] 8 | pub struct ZeroizedString(String); [INFO] [stderr] | -------------- `ZeroizedString` 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/secrets.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(ZeroizeOnDrop)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_ZeroizedByteVec` [INFO] [stderr] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stderr] | --------------- `ZeroizedByteVec` 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/secrets.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(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_ZeroizedByteVec` [INFO] [stderr] 26 | pub struct ZeroizedByteVec(Vec); [INFO] [stderr] | --------------- `ZeroizedByteVec` 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: `sec` (bin "sec" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sec-afa40868937305a2) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test input::test::retrieve_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stdout] test fs::test::should_create_file ... ok [INFO] [stdout] test secrets::test::deref_for_zerozed_byte_vec_should_return_a_ref_to_the_inner_vec ... ok [INFO] [stdout] test store::test::should_create_file_with_name_of_entry ... ok [INFO] [stdout] test output::test::result_of_initialize_should_write_message ... ok [INFO] [stdout] test store::test::should_give_meaningful_error_if_entry_with_given_name_does_not_exist ... ok [INFO] [stdout] test fs::test::should_create_dir ... ok [INFO] [stdout] test output::test::result_of_insert_should_write_success_if_secret_saved ... ok [INFO] [stdout] test output::test::result_of_retrieve_should_write_value ... ok [INFO] [stdout] test store::test::should_retrieve_value_of_the_given_name ... ok [INFO] [stdout] test store::test::create_files_contents_should_be_the_value_passed ... ok [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file_with_given_key ... ok [INFO] [stdout] test input::test::should_give_meaningful_error_if_entry_could_not_be_decrypted ... ok [INFO] [stdout] test input::test::initialize_should_create_password_store_directory ... ok [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file ... ok [INFO] [stdout] test input::test::insert_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stdout] test gpg::test::should_error_if_key_does_not_exist ... ok [INFO] [stdout] test gpg::test::encrypt_and_decrypt_should_be_isomorphic ... ok [INFO] [stdout] test input::test::should_encrypt_and_store_given_value ... ok [INFO] [stdout] test input::test::should_retrieve_entry_decrypted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8905e053cb6c57aed63abc023282dccd3d57fe4934118821c0f5d78e870d424c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8905e053cb6c57aed63abc023282dccd3d57fe4934118821c0f5d78e870d424c", kill_on_drop: false }` [INFO] [stdout] 8905e053cb6c57aed63abc023282dccd3d57fe4934118821c0f5d78e870d424c