[INFO] cloning repository https://github.com/fortelabsinc/secretbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fortelabsinc/secretbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffortelabsinc%2Fsecretbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffortelabsinc%2Fsecretbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7568ec770d5e8f640e865e23c9038c8f63e56b4 [INFO] testing fortelabsinc/secretbox against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffortelabsinc%2Fsecretbox" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fortelabsinc/secretbox [INFO] finished tweaking git repo https://github.com/fortelabsinc/secretbox [INFO] tweaked toml for git repo https://github.com/fortelabsinc/secretbox written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fortelabsinc/secretbox on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fortelabsinc/secretbox 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clear_on_drop v0.2.3 [INFO] [stderr] Downloaded subtle v2.1.0 [INFO] [stderr] Downloaded uint v0.8.0 [INFO] [stderr] Downloaded rustc-hex v2.0.1 [INFO] [stderr] Downloaded termion v1.5.3 [INFO] [stderr] Downloaded walkdir v2.2.8 [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded typenum v1.10.0 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded x25519-dalek v0.5.2 [INFO] [stderr] Downloaded regex-automata v0.1.7 [INFO] [stderr] Downloaded packed_simd v0.3.3 [INFO] [stderr] Downloaded bstr v0.2.1 [INFO] [stderr] Downloaded libc v0.2.59 [INFO] [stderr] Downloaded curve25519-dalek v1.2.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48977a90bfaef368c01e111745cf3ac4e0147299a88e1d991f8fca9516f76563 [INFO] running `Command { std: "docker" "start" "-a" "48977a90bfaef368c01e111745cf3ac4e0147299a88e1d991f8fca9516f76563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48977a90bfaef368c01e111745cf3ac4e0147299a88e1d991f8fca9516f76563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48977a90bfaef368c01e111745cf3ac4e0147299a88e1d991f8fca9516f76563", kill_on_drop: false }` [INFO] [stdout] 48977a90bfaef368c01e111745cf3ac4e0147299a88e1d991f8fca9516f76563 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10cace2642c258c2280a8396db58b20a2b268f2bf8bdce9fe1b52e184142efda [INFO] running `Command { std: "docker" "start" "-a" "10cace2642c258c2280a8396db58b20a2b268f2bf8bdce9fe1b52e184142efda", kill_on_drop: false }` [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling uint v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.6 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling secretbox v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` 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: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in mac.to_le_bytes().iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in IntoIterator::into_iter(mac.to_le_bytes()).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.75s [INFO] running `Command { std: "docker" "inspect" "10cace2642c258c2280a8396db58b20a2b268f2bf8bdce9fe1b52e184142efda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cace2642c258c2280a8396db58b20a2b268f2bf8bdce9fe1b52e184142efda", kill_on_drop: false }` [INFO] [stdout] 10cace2642c258c2280a8396db58b20a2b268f2bf8bdce9fe1b52e184142efda [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba881a1488346769ec9fc2f16cc492d65af7eeeb202de20a8c74631ea8af3c36 [INFO] running `Command { std: "docker" "start" "-a" "ba881a1488346769ec9fc2f16cc492d65af7eeeb202de20a8c74631ea8af3c36", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling regex-automata v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` 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: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in mac.to_le_bytes().iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in IntoIterator::into_iter(mac.to_le_bytes()).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling bstr v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling tinytemplate v1.0.2 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling secretbox v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` 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: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/chacha20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `asm` [INFO] [stdout] --> src/salsa20/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stdout] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / construct_uint! { [INFO] [stdout] 9 | | pub struct U256(4); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/lib.rs:153:41 [INFO] [stdout] | [INFO] [stdout] 153 | for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in mac.to_le_bytes().iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stdout] 153 + for (i, c) in IntoIterator::into_iter(mac.to_le_bytes()).enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ba881a1488346769ec9fc2f16cc492d65af7eeeb202de20a8c74631ea8af3c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba881a1488346769ec9fc2f16cc492d65af7eeeb202de20a8c74631ea8af3c36", kill_on_drop: false }` [INFO] [stdout] ba881a1488346769ec9fc2f16cc492d65af7eeeb202de20a8c74631ea8af3c36 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d33d974d4bdad1eee35156fc2f70271dc71a78a16ace8207cbd542acd39cf47 [INFO] running `Command { std: "docker" "start" "-a" "3d33d974d4bdad1eee35156fc2f70271dc71a78a16ace8207cbd542acd39cf47", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> src/chacha20/mod.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stderr] = help: consider adding `asm` 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: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> src/chacha20/mod.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stderr] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> src/salsa20/mod.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stderr] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `asm` [INFO] [stderr] --> src/salsa20/mod.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg(not(any(feature = "asm", feature = "simd")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `curve25519`, `default`, `packed_simd`, `rand`, `simd`, and `x25519-dalek` [INFO] [stderr] = help: consider adding `asm` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / construct_uint! { [INFO] [stderr] 9 | | pub struct U256(4); [INFO] [stderr] 10 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | / construct_uint! { [INFO] [stderr] 9 | | pub struct U256(4); [INFO] [stderr] 10 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `uint_overflowing_binop` which comes from the expansion of the macro `construct_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stderr] --> src/lib.rs:153:41 [INFO] [stderr] | [INFO] [stderr] 153 | for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stderr] 153 + for (i, c) in mac.to_le_bytes().iter().enumerate() { [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 153 - for (i, c) in mac.to_le_bytes().into_iter().enumerate() { [INFO] [stderr] 153 + for (i, c) in IntoIterator::into_iter(mac.to_le_bytes()).enumerate() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `secretbox` (lib) generated 7 warnings (run `cargo fix --lib -p secretbox` to apply 1 suggestion) [INFO] [stderr] warning: `secretbox` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secretbox-34da874bef204067) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test chacha20::tests::test_vectors ... ok [INFO] [stdout] test kdf::tests::core ... ok [INFO] [stdout] test poly1305::tests::ietf_test_vector ... ok [INFO] [stdout] test chacha20::trivial::tests::chacha20_vec ... ok [INFO] [stdout] test chacha20::trivial::tests::quarter_round_vec ... ok [INFO] [stdout] test salsa20::tests::test_vectors ... ok [INFO] [stdout] test salsa20::trivial::tests::test_column_round ... ok [INFO] [stdout] test salsa20::trivial::tests::test_salsa20 ... ok [INFO] [stdout] test salsa20::trivial::tests::test_double_round ... ok [INFO] [stdout] test salsa20::trivial::tests::test_quarter_round ... ok [INFO] [stdout] test tests::easy_seal_unseal ... ok [INFO] [stdout] test tests::pynacl_vector ... ok [INFO] [stdout] test salsa20::trivial::tests::test_row_round ... ok [INFO] [stdout] test salsa20::trivial::tests::salsa20_stress ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.37s [INFO] [stdout] [INFO] [stderr] Doc-tests secretbox [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" "3d33d974d4bdad1eee35156fc2f70271dc71a78a16ace8207cbd542acd39cf47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d33d974d4bdad1eee35156fc2f70271dc71a78a16ace8207cbd542acd39cf47", kill_on_drop: false }` [INFO] [stdout] 3d33d974d4bdad1eee35156fc2f70271dc71a78a16ace8207cbd542acd39cf47