[INFO] fetching crate secret_mem 0.1.0... [INFO] building secret_mem-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate secret_mem 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate secret_mem 0.1.0 [INFO] finished tweaking crates.io crate secret_mem 0.1.0 [INFO] tweaked toml for crates.io crate secret_mem 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secret_mem 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding windows-sys v0.59.0 (available: v0.61.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c00a50654deebb1ca64b1f5be0e900b550ec9d86b69b7a07a676b7e8ec7825f [INFO] running `Command { std: "docker" "start" "-a" "0c00a50654deebb1ca64b1f5be0e900b550ec9d86b69b7a07a676b7e8ec7825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c00a50654deebb1ca64b1f5be0e900b550ec9d86b69b7a07a676b7e8ec7825f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c00a50654deebb1ca64b1f5be0e900b550ec9d86b69b7a07a676b7e8ec7825f", kill_on_drop: false }` [INFO] [stdout] 0c00a50654deebb1ca64b1f5be0e900b550ec9d86b69b7a07a676b7e8ec7825f [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa3371c85ef9aae673ecdd9cb0cb68dc648c7106b9b5b52cae279eb0a0d54096 [INFO] running `Command { std: "docker" "start" "-a" "aa3371c85ef9aae673ecdd9cb0cb68dc648c7106b9b5b52cae279eb0a0d54096", kill_on_drop: false }` [INFO] [stderr] Compiling secret_mem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SecretAllocator` is never used [INFO] [stdout] --> src/alloc/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait SecretAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/unix.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UnixSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowsSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/windows.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WindowsSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_size` is never used [INFO] [stdout] --> src/alloc/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn page_size() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "aa3371c85ef9aae673ecdd9cb0cb68dc648c7106b9b5b52cae279eb0a0d54096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3371c85ef9aae673ecdd9cb0cb68dc648c7106b9b5b52cae279eb0a0d54096", kill_on_drop: false }` [INFO] [stdout] aa3371c85ef9aae673ecdd9cb0cb68dc648c7106b9b5b52cae279eb0a0d54096 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb9b51212e38911778379f1807344322ee0460c8a0196354ff467d0384a1bfe7 [INFO] running `Command { std: "docker" "start" "-a" "eb9b51212e38911778379f1807344322ee0460c8a0196354ff467d0384a1bfe7", kill_on_drop: false }` [INFO] [stderr] Compiling secret_mem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SecretAllocator` is never used [INFO] [stdout] --> src/alloc/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait SecretAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/unix.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UnixSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowsSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/windows.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WindowsSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_size` is never used [INFO] [stdout] --> src/alloc/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn page_size() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/unix.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/unix.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | fn alloc(layout: Layout) -> io::Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | fn make_read_only(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | fn make_writable(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ptr` [INFO] [stdout] --> src/alloc/windows.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layout` [INFO] [stdout] --> src/alloc/windows.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | fn dealloc(ptr: NonNull, layout: Layout) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SecretAllocator` is never used [INFO] [stdout] --> src/alloc/mod.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait SecretAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnixSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/unix.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct UnixSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WindowsSecretAllocator` is never constructed [INFO] [stdout] --> src/alloc/windows.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct WindowsSecretAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `page_size` is never used [INFO] [stdout] --> src/alloc/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn page_size() -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "eb9b51212e38911778379f1807344322ee0460c8a0196354ff467d0384a1bfe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9b51212e38911778379f1807344322ee0460c8a0196354ff467d0384a1bfe7", kill_on_drop: false }` [INFO] [stdout] eb9b51212e38911778379f1807344322ee0460c8a0196354ff467d0384a1bfe7