[INFO] fetching crate secret_mem 0.1.0... [INFO] building secret_mem-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate secret_mem 0.1.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secret_mem 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e63184763c43792493d87710eb7e314d7b9effc4fce464d96184f5e278facf1 [INFO] running `Command { std: "docker" "start" "-a" "5e63184763c43792493d87710eb7e314d7b9effc4fce464d96184f5e278facf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e63184763c43792493d87710eb7e314d7b9effc4fce464d96184f5e278facf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e63184763c43792493d87710eb7e314d7b9effc4fce464d96184f5e278facf1", kill_on_drop: false }` [INFO] [stdout] 5e63184763c43792493d87710eb7e314d7b9effc4fce464d96184f5e278facf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b606881e2b25e6656d78a6a83996131eafeb6b9161fddcd31b4f3af38ca54a0 [INFO] running `Command { std: "docker" "start" "-a" "5b606881e2b25e6656d78a6a83996131eafeb6b9161fddcd31b4f3af38ca54a0", 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.14s [INFO] running `Command { std: "docker" "inspect" "5b606881e2b25e6656d78a6a83996131eafeb6b9161fddcd31b4f3af38ca54a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b606881e2b25e6656d78a6a83996131eafeb6b9161fddcd31b4f3af38ca54a0", kill_on_drop: false }` [INFO] [stdout] 5b606881e2b25e6656d78a6a83996131eafeb6b9161fddcd31b4f3af38ca54a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 896a0ef4261fb11c8a3d0a6bdccd3a318d0cd0941c6a4154b23ea0056bb30f57 [INFO] running `Command { std: "docker" "start" "-a" "896a0ef4261fb11c8a3d0a6bdccd3a318d0cd0941c6a4154b23ea0056bb30f57", kill_on_drop: false }` [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] [stderr] Compiling secret_mem v0.1.0 (/opt/rustwide/workdir) [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.31s [INFO] running `Command { std: "docker" "inspect" "896a0ef4261fb11c8a3d0a6bdccd3a318d0cd0941c6a4154b23ea0056bb30f57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "896a0ef4261fb11c8a3d0a6bdccd3a318d0cd0941c6a4154b23ea0056bb30f57", kill_on_drop: false }` [INFO] [stdout] 896a0ef4261fb11c8a3d0a6bdccd3a318d0cd0941c6a4154b23ea0056bb30f57