[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 beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwayofthepie%2Fsec" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wayofthepie/sec on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "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-3-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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gpg-error v0.5.2 [INFO] [stderr] Downloaded libgpg-error-sys v0.5.2 [INFO] [stderr] Downloaded winreg v0.9.0 [INFO] [stderr] Downloaded gpgme v0.10.0 [INFO] [stderr] Downloaded memfile v0.2.1 [INFO] [stderr] Downloaded gpgme-sys v0.10.0 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] [stderr] Downloaded uuid v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 882cb2f99bdc2c92f8a816fa346fe63a889172401fcbad8410b850b041aafcf2 [INFO] running `Command { std: "docker" "start" "-a" "882cb2f99bdc2c92f8a816fa346fe63a889172401fcbad8410b850b041aafcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882cb2f99bdc2c92f8a816fa346fe63a889172401fcbad8410b850b041aafcf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882cb2f99bdc2c92f8a816fa346fe63a889172401fcbad8410b850b041aafcf2", kill_on_drop: false }` [INFO] [stdout] 882cb2f99bdc2c92f8a816fa346fe63a889172401fcbad8410b850b041aafcf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947fd0f14f8bf4036750392881c7795f66d6533f14e8b9ab00584c48ba97206c [INFO] running `Command { std: "docker" "start" "-a" "947fd0f14f8bf4036750392881c7795f66d6533f14e8b9ab00584c48ba97206c", 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 gpg-error v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling gpgme-sys v0.10.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling cstr-argument v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling gpgme v0.10.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.1.18 [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 26.59s [INFO] running `Command { std: "docker" "inspect" "947fd0f14f8bf4036750392881c7795f66d6533f14e8b9ab00584c48ba97206c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947fd0f14f8bf4036750392881c7795f66d6533f14e8b9ab00584c48ba97206c", kill_on_drop: false }` [INFO] [stdout] 947fd0f14f8bf4036750392881c7795f66d6533f14e8b9ab00584c48ba97206c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d094c0ed59cf4f12b92b68767efca9bcfd5e7062936c261e3cc0c944f5dd474 [INFO] running `Command { std: "docker" "start" "-a" "6d094c0ed59cf4f12b92b68767efca9bcfd5e7062936c261e3cc0c944f5dd474", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [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 2.45s [INFO] running `Command { std: "docker" "inspect" "6d094c0ed59cf4f12b92b68767efca9bcfd5e7062936c261e3cc0c944f5dd474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d094c0ed59cf4f12b92b68767efca9bcfd5e7062936c261e3cc0c944f5dd474", kill_on_drop: false }` [INFO] [stdout] 6d094c0ed59cf4f12b92b68767efca9bcfd5e7062936c261e3cc0c944f5dd474 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] edc52d7ac71220b81423f147eaf24146d94da3db65b9824f9a4f4b2187e0acd6 [INFO] running `Command { std: "docker" "start" "-a" "edc52d7ac71220b81423f147eaf24146d94da3db65b9824f9a4f4b2187e0acd6", 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.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sec-fd9ca16997ac7555) [INFO] [stdout] [INFO] [stdout] running 20 tests [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 input::test::retrieve_should_give_meaningful_error_if_store_has_an_fs_error ... ok [INFO] [stdout] test output::test::result_of_initialize_should_write_message ... ok [INFO] [stdout] test fs::test::should_create_file ... ok [INFO] [stdout] test store::test::create_files_contents_should_be_the_value_passed ... ok [INFO] [stdout] test store::test::should_give_meaningful_error_if_entry_with_given_name_does_not_exist ... ok [INFO] [stdout] test store::test::should_create_file_with_name_of_entry ... ok [INFO] [stdout] test store::test::should_retrieve_value_of_the_given_name ... ok [INFO] [stdout] test output::test::result_of_retrieve_should_write_value ... ok [INFO] [stdout] test secrets::test::deref_for_zerozed_byte_vec_should_return_a_ref_to_the_inner_vec ... ok [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stderr] gpg: inserting ownertrust of 6 [INFO] [stderr] gpg: inserting ownertrust of 6 [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] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file ... ok [INFO] [stdout] test input::test::initialize_should_create_gpg_id_file_with_given_key ... ok [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [INFO] [stderr] gpg: key B7E81576980DC473 occurs more than once in the trustdb [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.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "edc52d7ac71220b81423f147eaf24146d94da3db65b9824f9a4f4b2187e0acd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc52d7ac71220b81423f147eaf24146d94da3db65b9824f9a4f4b2187e0acd6", kill_on_drop: false }` [INFO] [stdout] edc52d7ac71220b81423f147eaf24146d94da3db65b9824f9a4f4b2187e0acd6