[INFO] fetching crate spritz_cipher 0.1.0... [INFO] building spritz_cipher-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate spritz_cipher 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate spritz_cipher 0.1.0 [INFO] finished tweaking crates.io crate spritz_cipher 0.1.0 [INFO] tweaked toml for crates.io crate spritz_cipher 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spritz_cipher 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spritz_cipher 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded zeroize v1.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded statistical v1.0.0 [INFO] [stderr] Downloaded num-bigint v0.2.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2c37b1ade202d0815cdf66ed53473c0157a314ba019bb6bf49186d57218dafd [INFO] running `Command { std: "docker" "start" "-a" "b2c37b1ade202d0815cdf66ed53473c0157a314ba019bb6bf49186d57218dafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2c37b1ade202d0815cdf66ed53473c0157a314ba019bb6bf49186d57218dafd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c37b1ade202d0815cdf66ed53473c0157a314ba019bb6bf49186d57218dafd", kill_on_drop: false }` [INFO] [stdout] b2c37b1ade202d0815cdf66ed53473c0157a314ba019bb6bf49186d57218dafd [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f695149600f8b3a78d8da994f0544ef0525633cf294f7c19f2d3f44d1727d48 [INFO] running `Command { std: "docker" "start" "-a" "2f695149600f8b3a78d8da994f0544ef0525633cf294f7c19f2d3f44d1727d48", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling spritz_cipher v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling zeroize_derive v1.0.0 [INFO] [stderr] Compiling zeroize v1.0.0 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / ( [INFO] [stdout] 317 | | ((self.random8() as u32) << 0) [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 320 | | ((self.random8() as u32) << 24)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 ~ ((self.random8() as u32) << 0) [INFO] [stdout] 317 | | ((self.random8() as u32) << 8) [INFO] [stdout] 318 | | ((self.random8() as u32) << 16) [INFO] [stdout] 319 ~ | ((self.random8() as u32) << 24) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 102 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 215 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.74s [INFO] running `Command { std: "docker" "inspect" "2f695149600f8b3a78d8da994f0544ef0525633cf294f7c19f2d3f44d1727d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f695149600f8b3a78d8da994f0544ef0525633cf294f7c19f2d3f44d1727d48", kill_on_drop: false }` [INFO] [stdout] 2f695149600f8b3a78d8da994f0544ef0525633cf294f7c19f2d3f44d1727d48 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68cbbce1b7e56c3a471bb7da443e226187b20e099998ac4318d1199db4474980 [INFO] running `Command { std: "docker" "start" "-a" "68cbbce1b7e56c3a471bb7da443e226187b20e099998ac4318d1199db4474980", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / ( [INFO] [stdout] 317 | | ((self.random8() as u32) << 0) [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 320 | | ((self.random8() as u32) << 24)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 ~ ((self.random8() as u32) << 0) [INFO] [stdout] 317 | | ((self.random8() as u32) << 8) [INFO] [stdout] 318 | | ((self.random8() as u32) << 16) [INFO] [stdout] 319 ~ | ((self.random8() as u32) << 24) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 102 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 215 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling statistical v1.0.0 [INFO] [stderr] Compiling spritz_cipher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> tests/c_check.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/rand_check.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | context.crypt(&msg, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 27 | let _ = context.crypt(&msg, &mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mac_2` [INFO] [stdout] --> tests/c_check.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut mac_2 = [0 as u8;DIGEST_SIZE]; /* Output buffer */ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/c_check.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let mut mac_2 = [0 as u8;DIGEST_SIZE]; /* Output buffer */ [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/rand_check.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | context.crypt(&buf2, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = context.crypt(&buf2, &mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/lib.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / ( [INFO] [stdout] 317 | | ((self.random8() as u32) << 0) [INFO] [stdout] | |________^ [INFO] [stdout] ... [INFO] [stdout] 320 | | ((self.random8() as u32) << 24)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 316 ~ ((self.random8() as u32) << 0) [INFO] [stdout] 317 | | ((self.random8() as u32) << 8) [INFO] [stdout] 318 | | ((self.random8() as u32) << 16) [INFO] [stdout] 319 ~ | ((self.random8() as u32) << 24) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 102 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute [INFO] [stdout] --> src/lib.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | #[no_builtins] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add a `!` [INFO] [stdout] | [INFO] [stdout] 215 | #![no_builtins] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Drop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_SpritzCipherContext` [INFO] [stdout] 33 | #[zeroize(drop)] [INFO] [stdout] 34 | pub struct SpritzCipherContext { [INFO] [stdout] | ------------------- `SpritzCipherContext` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/basic.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | context.crypt(&msg, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 25 | let _ = context.crypt(&msg, &mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/basic.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | context.crypt(&buf2, &mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = context.crypt(&buf2, &mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "68cbbce1b7e56c3a471bb7da443e226187b20e099998ac4318d1199db4474980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68cbbce1b7e56c3a471bb7da443e226187b20e099998ac4318d1199db4474980", kill_on_drop: false }` [INFO] [stdout] 68cbbce1b7e56c3a471bb7da443e226187b20e099998ac4318d1199db4474980