[INFO] fetching crate chacha20stream 2.2.1... [INFO] testing chacha20stream-2.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate chacha20stream 2.2.1 into /workspace/builds/worker-63/source [INFO] validating manifest of crates.io crate chacha20stream 2.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chacha20stream 2.2.1 [INFO] finished tweaking crates.io crate chacha20stream 2.2.1 [INFO] tweaked toml for crates.io crate chacha20stream 2.2.1 written to /workspace/builds/worker-63/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a67ca4d47df4eeac8b3f19702565c5c6d6105a2977bbc254de305d433f3f60fa [INFO] running `Command { std: "docker" "start" "-a" "a67ca4d47df4eeac8b3f19702565c5c6d6105a2977bbc254de305d433f3f60fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a67ca4d47df4eeac8b3f19702565c5c6d6105a2977bbc254de305d433f3f60fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a67ca4d47df4eeac8b3f19702565c5c6d6105a2977bbc254de305d433f3f60fa", kill_on_drop: false }` [INFO] [stdout] a67ca4d47df4eeac8b3f19702565c5c6d6105a2977bbc254de305d433f3f60fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39579dc60d4212806c1c971e3abd72d9653e11c6a03135e53ae367688b822be6 [INFO] running `Command { std: "docker" "start" "-a" "39579dc60d4212806c1c971e3abd72d9653e11c6a03135e53ae367688b822be6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling chacha20stream v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling stackalloc v1.1.1 [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 70 | let sink = nullchk!(ref mut sink); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 71 | let nbytes = nullchk!(move bytes); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 119 | let meta = nullchk!(ref meta); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 120 | let output = nullchk!(ref mut output); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.62s [INFO] running `Command { std: "docker" "inspect" "39579dc60d4212806c1c971e3abd72d9653e11c6a03135e53ae367688b822be6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39579dc60d4212806c1c971e3abd72d9653e11c6a03135e53ae367688b822be6", kill_on_drop: false }` [INFO] [stdout] 39579dc60d4212806c1c971e3abd72d9653e11c6a03135e53ae367688b822be6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ea1dde417a23c2d06dd67a5892e66a4bcf798b5c2f58a65f750d444dabc5ea [INFO] running `Command { std: "docker" "start" "-a" "d8ea1dde417a23c2d06dd67a5892e66a4bcf798b5c2f58a65f750d444dabc5ea", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 70 | let sink = nullchk!(ref mut sink); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 71 | let nbytes = nullchk!(move bytes); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 119 | let meta = nullchk!(ref meta); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 120 | let output = nullchk!(ref mut output); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling chacha20stream v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/bytes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 70 | let sink = nullchk!(ref mut sink); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 71 | let nbytes = nullchk!(move bytes); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 119 | let meta = nullchk!(ref meta); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/ffi/error.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:116:14 [INFO] [stdout] | [INFO] [stdout] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stdout] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 120 | let output = nullchk!(ref mut output); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stdout] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.01s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/chacha20stream-cc3ab76c903a5247) [INFO] running `Command { std: "docker" "inspect" "d8ea1dde417a23c2d06dd67a5892e66a4bcf798b5c2f58a65f750d444dabc5ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ea1dde417a23c2d06dd67a5892e66a4bcf798b5c2f58a65f750d444dabc5ea", kill_on_drop: false }` [INFO] [stdout] d8ea1dde417a23c2d06dd67a5892e66a4bcf798b5c2f58a65f750d444dabc5ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-63/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11a5d3b6441404c7ee5775e262e6d06352d99fac3a162a170c7f4ad9a67d650b [INFO] running `Command { std: "docker" "start" "-a" "11a5d3b6441404c7ee5775e262e6d06352d99fac3a162a170c7f4ad9a67d650b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::ptr` [INFO] [stderr] --> src/bytes.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::ptr; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ffi/error.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:67:14 [INFO] [stderr] | [INFO] [stderr] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stderr] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 70 | let sink = nullchk!(ref mut sink); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: `#[allow(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stderr] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ffi/error.rs:78:3 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:67:14 [INFO] [stderr] | [INFO] [stderr] 67 | #[no_mangle] pub unsafe extern "C" fn cc20_write(ptr: *const c_void, bytes: *mut usize, sink: *mut CSink) -> CErr [INFO] [stderr] | ---------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 71 | let nbytes = nullchk!(move bytes); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ffi/error.rs:90:3 [INFO] [stderr] | [INFO] [stderr] 90 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:116:14 [INFO] [stderr] | [INFO] [stderr] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stderr] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 119 | let meta = nullchk!(ref meta); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/ffi/error.rs:102:3 [INFO] [stderr] | [INFO] [stderr] 102 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:116:14 [INFO] [stderr] | [INFO] [stderr] 116 | #[no_mangle] pub unsafe extern "C" fn cc20_gen_sink(meta: *const CPassthrough, output: *mut *mut CSink) -> CErr [INFO] [stderr] | --------------------------------------------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stderr] ... [INFO] [stderr] 120 | let output = nullchk!(ref mut output); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this `unsafe` block does contain unsafe operations, but those are already allowed in an `unsafe fn` [INFO] [stderr] = note: this warning originates in the macro `nullchk` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `chacha20stream` (lib) generated 5 warnings [INFO] [stderr] warning: `chacha20stream` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/chacha20stream-cc3ab76c903a5247) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test key::tests::enc_dec ... ok [INFO] [stdout] test stream::tests::dec ... ok [INFO] [stderr] Doc-tests chacha20stream [INFO] [stdout] test stream::tests::source_enc ... ok [INFO] [stdout] test stream::tests::source_dec ... ok [INFO] [stdout] test stream::tests::enc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/key.rs - key::Key::to_hex_string (line 103) ... ok [INFO] [stdout] test src/key.rs - key::IV::to_hex_string (line 143) ... ok [INFO] [stdout] test src/stream/sink.rs - stream::sink::Sink (line 8) ... ok [INFO] [stdout] test src/key.rs - key::IV (line 52) ... ok [INFO] [stdout] test src/key.rs - key::Key (line 16) ... ok [INFO] [stdout] test src/lib.rs - (line 21) ... ok [INFO] [stdout] test src/key.rs - key::Key (line 32) ... ok [INFO] [stdout] test src/key.rs - key::Key::to_hex_string (line 111) ... ok [INFO] [stdout] test src/stream/sink.rs - stream::sink::Sink (line 22) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] test src/key.rs - key::IV (line 68) ... ok [INFO] [stdout] test src/key.rs - key::IV::to_hex_string (line 151) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.75s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "11a5d3b6441404c7ee5775e262e6d06352d99fac3a162a170c7f4ad9a67d650b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a5d3b6441404c7ee5775e262e6d06352d99fac3a162a170c7f4ad9a67d650b", kill_on_drop: false }` [INFO] [stdout] 11a5d3b6441404c7ee5775e262e6d06352d99fac3a162a170c7f4ad9a67d650b