[INFO] fetching crate totp-sos 3.1.1... [INFO] testing totp-sos-3.1.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate totp-sos 3.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate totp-sos 3.1.1 [INFO] finished tweaking crates.io crate totp-sos 3.1.1 [INFO] tweaked toml for crates.io crate totp-sos 3.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate totp-sos 3.1.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate totp-sos 3.1.1 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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zeroize_derive v1.3.2 [INFO] [stderr] Downloaded sha1 v0.10.5 [INFO] [stderr] Downloaded urlencoding v2.1.2 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded constant_time_eq v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a83035db2e0412117cdf352a22136b9f587ca033a280c346b9e21e7d34a6354f [INFO] running `Command { std: "docker" "start" "-a" "a83035db2e0412117cdf352a22136b9f587ca033a280c346b9e21e7d34a6354f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a83035db2e0412117cdf352a22136b9f587ca033a280c346b9e21e7d34a6354f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a83035db2e0412117cdf352a22136b9f587ca033a280c346b9e21e7d34a6354f", kill_on_drop: false }` [INFO] [stdout] a83035db2e0412117cdf352a22136b9f587ca033a280c346b9e21e7d34a6354f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48e539e064ae79418d56727653ccabec58dc33b8f28d6fddf810303c7aa93fc8 [INFO] running `Command { std: "docker" "start" "-a" "48e539e064ae79418d56727653ccabec58dc33b8f28d6fddf810303c7aa93fc8", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling constant_time_eq v0.2.4 [INFO] [stderr] Compiling urlencoding v2.1.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling zeroize v1.5.7 [INFO] [stderr] Compiling totp-sos v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `qr` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "qr")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, and `zeroize` [INFO] [stdout] = help: consider adding `qr` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::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 9.72s [INFO] running `Command { std: "docker" "inspect" "48e539e064ae79418d56727653ccabec58dc33b8f28d6fddf810303c7aa93fc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e539e064ae79418d56727653ccabec58dc33b8f28d6fddf810303c7aa93fc8", kill_on_drop: false }` [INFO] [stdout] 48e539e064ae79418d56727653ccabec58dc33b8f28d6fddf810303c7aa93fc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05c5b83700bfac9347f3f0197c7b1f44ce2df73a1a3492798abe484f21750c41 [INFO] running `Command { std: "docker" "start" "-a" "05c5b83700bfac9347f3f0197c7b1f44ce2df73a1a3492798abe484f21750c41", kill_on_drop: false }` [INFO] [stderr] Compiling totp-sos v3.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `qr` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "qr")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, and `zeroize` [INFO] [stdout] = help: consider adding `qr` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `qr` [INFO] [stdout] --> src/lib.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "qr")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `serde`, and `zeroize` [INFO] [stdout] = help: consider adding `qr` 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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::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/lib.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stdout] 97 | )] [INFO] [stdout] 98 | pub struct TOTP { [INFO] [stdout] | ---- `TOTP` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `zeroize::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 `zeroize::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.34s [INFO] running `Command { std: "docker" "inspect" "05c5b83700bfac9347f3f0197c7b1f44ce2df73a1a3492798abe484f21750c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c5b83700bfac9347f3f0197c7b1f44ce2df73a1a3492798abe484f21750c41", kill_on_drop: false }` [INFO] [stdout] 05c5b83700bfac9347f3f0197c7b1f44ce2df73a1a3492798abe484f21750c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b50f8304c264890225b2e06fe4970e0b8acd0bff14173209414bf5915ac63fba [INFO] running `Command { std: "docker" "start" "-a" "b50f8304c264890225b2e06fe4970e0b8acd0bff14173209414bf5915ac63fba", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `qr` [INFO] [stderr] --> src/lib.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(feature = "qr")] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `serde`, and `zeroize` [INFO] [stderr] = help: consider adding `qr` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stderr] 97 | )] [INFO] [stderr] 98 | pub struct TOTP { [INFO] [stderr] | ---- `TOTP` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `zeroize::Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `zeroize::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::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/lib.rs:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stderr] 97 | )] [INFO] [stderr] 98 | pub struct TOTP { [INFO] [stderr] | ---- `TOTP` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `zeroize::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 `zeroize::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/lib.rs:96:30 [INFO] [stderr] | [INFO] [stderr] 96 | derive(zeroize::Zeroize, 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_TOTP` [INFO] [stderr] 97 | )] [INFO] [stderr] 98 | pub struct TOTP { [INFO] [stderr] | ---- `TOTP` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `zeroize::ZeroizeOnDrop` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `zeroize::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 `zeroize::ZeroizeOnDrop` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `totp-sos` (lib) generated 4 warnings [INFO] [stderr] warning: `totp-sos` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/totp_sos-0cf3141260b3b632) [INFO] [stdout] test tests::checks_token ... ok [INFO] [stdout] test tests::comparison_ok ... ok [INFO] [stdout] test tests::from_url_default ... ok [INFO] [stdout] test tests::from_url_err ... ok [INFO] [stdout] test tests::from_url_query ... ok [INFO] [stdout] test tests::from_url_issuer_special ... ok [INFO] [stdout] test tests::from_url_query_different_issuers ... ok [INFO] [stdout] test tests::from_url_query_issuer ... ok [INFO] [stdout] test tests::from_url_query_sha512 ... ok [INFO] [stdout] test tests::from_url_to_url ... ok [INFO] [stdout] test tests::from_url_unknown_param ... ok [INFO] [stdout] test tests::from_url_wrong_algo ... ok [INFO] [stdout] test tests::from_url_wrong_scheme ... ok [INFO] [stdout] test tests::generate_token ... ok [INFO] [stdout] test tests::new_wrong_account_name ... ok [INFO] [stdout] test tests::generates_token_sha256 ... ok [INFO] [stdout] test tests::generates_token_sha512 ... ok [INFO] [stdout] test tests::new_wrong_account_name_no_issuer ... ok [INFO] [stdout] test tests::new_wrong_issuer ... ok [INFO] [stdout] test tests::returns_base32 ... ok [INFO] [stdout] test tests::ttl_ok ... ok [INFO] [stdout] test tests::url_for_secret_matches_sha1 ... ok [INFO] [stdout] test tests::url_for_secret_matches_sha1_without_issuer ... ok [INFO] [stdout] test tests::next_step ... ok [INFO] [stdout] test tests::url_for_secret_matches_sha256 ... ok [INFO] [stdout] test tests::url_for_secret_matches_sha512 ... ok [INFO] [stdout] test tests::checks_token_with_skew ... ok [INFO] [stdout] test tests::generate_token_current ... ok [INFO] [stdout] test tests::checks_token_current ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests totp_sos [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" "b50f8304c264890225b2e06fe4970e0b8acd0bff14173209414bf5915ac63fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50f8304c264890225b2e06fe4970e0b8acd0bff14173209414bf5915ac63fba", kill_on_drop: false }` [INFO] [stdout] b50f8304c264890225b2e06fe4970e0b8acd0bff14173209414bf5915ac63fba