[INFO] fetching crate spritz_cipher 0.1.0... [INFO] testing spritz_cipher-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate spritz_cipher 0.1.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spritz_cipher 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zeroize_derive v1.0.0 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded synstructure v0.12.1 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded statistical v1.0.0 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded num-bigint v0.2.3 [INFO] [stderr] Downloaded syn v1.0.5 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded getrandom v0.1.12 [INFO] [stderr] Downloaded num-iter v0.1.39 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded autocfg v0.1.6 [INFO] [stderr] Downloaded zeroize v1.0.0 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57d6b014676cd866ce5967b79ebcf7b808056873df98c599ee41849684a3da50 [INFO] running `Command { std: "docker" "start" "-a" "57d6b014676cd866ce5967b79ebcf7b808056873df98c599ee41849684a3da50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57d6b014676cd866ce5967b79ebcf7b808056873df98c599ee41849684a3da50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d6b014676cd866ce5967b79ebcf7b808056873df98c599ee41849684a3da50", kill_on_drop: false }` [INFO] [stdout] 57d6b014676cd866ce5967b79ebcf7b808056873df98c599ee41849684a3da50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b699d28fc893f5f311430e792a6c053e9881ebb3c48b1bc35f8eba9ea25816a [INFO] running `Command { std: "docker" "start" "-a" "4b699d28fc893f5f311430e792a6c053e9881ebb3c48b1bc35f8eba9ea25816a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling spritz_cipher v0.1.0 (/opt/rustwide/workdir) [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 5.81s [INFO] running `Command { std: "docker" "inspect" "4b699d28fc893f5f311430e792a6c053e9881ebb3c48b1bc35f8eba9ea25816a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b699d28fc893f5f311430e792a6c053e9881ebb3c48b1bc35f8eba9ea25816a", kill_on_drop: false }` [INFO] [stdout] 4b699d28fc893f5f311430e792a6c053e9881ebb3c48b1bc35f8eba9ea25816a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f385c205a87bbc5782075c717f58451d216a2cda68518a17b14ee67003bc91 [INFO] running `Command { std: "docker" "start" "-a" "b6f385c205a87bbc5782075c717f58451d216a2cda68518a17b14ee67003bc91", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.2 [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 rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [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 rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [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 c2-chacha v0.2.2 [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: 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: `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 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: 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] [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 `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.45s [INFO] running `Command { std: "docker" "inspect" "b6f385c205a87bbc5782075c717f58451d216a2cda68518a17b14ee67003bc91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f385c205a87bbc5782075c717f58451d216a2cda68518a17b14ee67003bc91", kill_on_drop: false }` [INFO] [stdout] b6f385c205a87bbc5782075c717f58451d216a2cda68518a17b14ee67003bc91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 12d43e9fd48d1f72fd4ec9630d564b5f8f61b4ae39f48be2736edf8e78b0e89d [INFO] running `Command { std: "docker" "start" "-a" "12d43e9fd48d1f72fd4ec9630d564b5f8f61b4ae39f48be2736edf8e78b0e89d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | / ( [INFO] [stderr] 317 | | ((self.random8() as u32) << 0) [INFO] [stderr] | |________^ [INFO] [stderr] ... [INFO] [stderr] 320 | | ((self.random8() as u32) << 24)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 316 ~ ((self.random8() as u32) << 0) [INFO] [stderr] 317 | | ((self.random8() as u32) << 8) [INFO] [stderr] 318 | | ((self.random8() as u32) << 16) [INFO] [stderr] 319 ~ | ((self.random8() as u32) << 24) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be an inner attribute [INFO] [stderr] --> src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | #[no_builtins] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: add a `!` [INFO] [stderr] | [INFO] [stderr] 102 | #![no_builtins] [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] warning: crate-level attribute should be an inner attribute [INFO] [stderr] --> src/lib.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | #[no_builtins] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: add a `!` [INFO] [stderr] | [INFO] [stderr] 215 | #![no_builtins] [INFO] [stderr] | + [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:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SpritzCipherContext` [INFO] [stderr] 33 | #[zeroize(drop)] [INFO] [stderr] 34 | pub struct SpritzCipherContext { [INFO] [stderr] | ------------------- `SpritzCipherContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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` (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:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Drop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Drop_FOR_SpritzCipherContext` [INFO] [stderr] 33 | #[zeroize(drop)] [INFO] [stderr] 34 | pub struct SpritzCipherContext { [INFO] [stderr] | ------------------- `SpritzCipherContext` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `spritz_cipher` (lib) generated 5 warnings (run `cargo fix --lib -p spritz_cipher` to apply 1 suggestion) [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> tests/c_check.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | extern { [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mac_2` [INFO] [stderr] --> tests/c_check.rs:36:21 [INFO] [stderr] | [INFO] [stderr] 36 | let mut mac_2 = [0 as u8;DIGEST_SIZE]; /* Output buffer */ [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/c_check.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let mut mac_2 = [0 as u8;DIGEST_SIZE]; /* Output buffer */ [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/basic.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | context.crypt(&msg, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 25 | let _ = context.crypt(&msg, &mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/basic.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | context.crypt(&buf2, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 30 | let _ = context.crypt(&buf2, &mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/rand_check.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | context.crypt(&msg, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 27 | let _ = context.crypt(&msg, &mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/rand_check.rs:32:13 [INFO] [stderr] | [INFO] [stderr] 32 | context.crypt(&buf2, &mut buf); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 32 | let _ = context.crypt(&buf2, &mut buf); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `spritz_cipher` (test "c_check") generated 3 warnings (run `cargo fix --test "c_check"` to apply 2 suggestions) [INFO] [stderr] warning: `spritz_cipher` (test "basic") generated 2 warnings [INFO] [stderr] warning: `spritz_cipher` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `spritz_cipher` (example "rand_check") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spritz_cipher-8189f3a3f8b57f6a) [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] [stderr] Running tests/basic.rs (/opt/rustwide/target/debug/deps/basic-ab8d883d16677659) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test basic_tests::mac ... ok [INFO] [stdout] test basic_tests::crypt ... ok [INFO] [stdout] test basic_tests::hash ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/c_check.rs (/opt/rustwide/target/debug/deps/c_check-767604d0fb86ce33) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests spritz_cipher [INFO] [stdout] test c_check::compare_arduino ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/lib.rs:316:9 [INFO] [stderr] | [INFO] [stderr] 316 | / ( [INFO] [stderr] 317 | | ((self.random8() as u32) << 0) [INFO] [stderr] | |________^ [INFO] [stderr] ... [INFO] [stderr] 320 | | ((self.random8() as u32) << 24)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 316 ~ ((self.random8() as u32) << 0) [INFO] [stderr] 317 | | ((self.random8() as u32) << 8) [INFO] [stderr] 318 | | ((self.random8() as u32) << 16) [INFO] [stderr] 319 ~ | ((self.random8() as u32) << 24) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - SpritzCipherContext::crypt (line 375) ... ok [INFO] [stdout] test src/lib.rs - SpritzCipherContext::mac (line 525) ... ok [INFO] [stdout] test src/lib.rs - SpritzCipherContext::hash (line 451) ... ok [INFO] [stdout] test src/lib.rs - SpritzCipherContext::compare (line 203) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12d43e9fd48d1f72fd4ec9630d564b5f8f61b4ae39f48be2736edf8e78b0e89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d43e9fd48d1f72fd4ec9630d564b5f8f61b4ae39f48be2736edf8e78b0e89d", kill_on_drop: false }` [INFO] [stdout] 12d43e9fd48d1f72fd4ec9630d564b5f8f61b4ae39f48be2736edf8e78b0e89d