[INFO] fetching crate secret_mem 0.1.0... [INFO] checking secret_mem-0.1.0 against try#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] extracting crate secret_mem 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate secret_mem 0.1.0 on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b7773895d846df2c590a0668c673278a0311774cb2e21bb9f8b01cd9df795c8 [INFO] running `Command { std: "docker" "start" "-a" "9b7773895d846df2c590a0668c673278a0311774cb2e21bb9f8b01cd9df795c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b7773895d846df2c590a0668c673278a0311774cb2e21bb9f8b01cd9df795c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7773895d846df2c590a0668c673278a0311774cb2e21bb9f8b01cd9df795c8", kill_on_drop: false }` [INFO] [stdout] 9b7773895d846df2c590a0668c673278a0311774cb2e21bb9f8b01cd9df795c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56ed3520df10cde9eb51fe3aa55e36e60504c0788f61282e0e3e03437f4b25e8 [INFO] running `Command { std: "docker" "start" "-a" "56ed3520df10cde9eb51fe3aa55e36e60504c0788f61282e0e3e03437f4b25e8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking 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)]` 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)]` 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)]` 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)]` 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 2.01s [INFO] running `Command { std: "docker" "inspect" "56ed3520df10cde9eb51fe3aa55e36e60504c0788f61282e0e3e03437f4b25e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ed3520df10cde9eb51fe3aa55e36e60504c0788f61282e0e3e03437f4b25e8", kill_on_drop: false }` [INFO] [stdout] 56ed3520df10cde9eb51fe3aa55e36e60504c0788f61282e0e3e03437f4b25e8