[INFO] fetching crate verity-memory 1.0.4... [INFO] checking verity-memory-1.0.4 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate verity-memory 1.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate verity-memory 1.0.4 [INFO] finished tweaking crates.io crate verity-memory 1.0.4 [INFO] tweaked toml for crates.io crate verity-memory 1.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate verity-memory 1.0.4 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding capstone v0.12.0 (available: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 571da745068c65746879659ab32d50657b2d3431e526e1c2f28c9f4f6baaa598 [INFO] running `Command { std: "docker" "start" "-a" "571da745068c65746879659ab32d50657b2d3431e526e1c2f28c9f4f6baaa598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "571da745068c65746879659ab32d50657b2d3431e526e1c2f28c9f4f6baaa598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "571da745068c65746879659ab32d50657b2d3431e526e1c2f28c9f4f6baaa598", kill_on_drop: false }` [INFO] [stdout] 571da745068c65746879659ab32d50657b2d3431e526e1c2f28c9f4f6baaa598 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ea5d046c4c7837f417f611f9673b2d951c9f7e3ce6845a35568e4a61b92874b [INFO] running `Command { std: "docker" "start" "-a" "5ea5d046c4c7837f417f611f9673b2d951c9f7e3ce6845a35568e4a61b92874b", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking verity-memory v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ops/read.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::LPVOID, um::{memoryapi::VirtualProtect, winnt::PAGE_EXECUTE_READWRITE}}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/read.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::LPVOID, um::{memoryapi::VirtualProtect, winnt::PAGE_EXECUTE_READWRITE}}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/write.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ops/write.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{shared::minwindef::LPVOID, um::memoryapi::VirtualProtect}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/write.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{shared::minwindef::LPVOID, um::memoryapi::VirtualProtect}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ops/read.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::LPVOID, um::{memoryapi::VirtualProtect, winnt::PAGE_EXECUTE_READWRITE}}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/read.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::{shared::minwindef::LPVOID, um::{memoryapi::VirtualProtect, winnt::PAGE_EXECUTE_READWRITE}}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/write.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ops/write.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{shared::minwindef::LPVOID, um::memoryapi::VirtualProtect}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ops/write.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::{shared::minwindef::LPVOID, um::memoryapi::VirtualProtect}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | libloading::os::windows::Library, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | libloading::os::windows::Symbol, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | match libloading::os::windows::Library::new(dll_name) { [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use libloading::Library; [INFO] [stdout] | [INFO] [stdout] 1 + use libloading::os::unix::Library; [INFO] [stdout] | [INFO] [stdout] help: if you import `Library`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - match libloading::os::windows::Library::new(dll_name) { [INFO] [stdout] 25 + match Library::new(dll_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/macros/wide_string.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | let wide_string: Vec = std::os::windows::ffi::OsStrExt::encode_wide(os_str) [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | GetModuleHandleW(w!(name)) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] = note: this error originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] --> src/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | libloading::os::windows::Library, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | libloading::os::windows::Symbol, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | match libloading::os::windows::Library::new(dll_name) { [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub mod windows; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libloading-0.8.8/src/os/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use libloading::Library; [INFO] [stdout] | [INFO] [stdout] 1 + use libloading::os::unix::Library; [INFO] [stdout] | [INFO] [stdout] help: if you import `Library`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 25 - match libloading::os::windows::Library::new(dll_name) { [INFO] [stdout] 25 + match Library::new(dll_name) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/macros/wide_string.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 15 | let wide_string: Vec = std::os::windows::ffi::OsStrExt::encode_wide(os_str) [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] ::: src/utils.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | GetModuleHandleW(w!(name)) [INFO] [stdout] | -------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] = note: this error originates in the macro `w` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] --> src/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verity-memory` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `verity-memory` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "5ea5d046c4c7837f417f611f9673b2d951c9f7e3ce6845a35568e4a61b92874b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea5d046c4c7837f417f611f9673b2d951c9f7e3ce6845a35568e4a61b92874b", kill_on_drop: false }` [INFO] [stdout] 5ea5d046c4c7837f417f611f9673b2d951c9f7e3ce6845a35568e4a61b92874b