[INFO] fetching crate verity-memory 1.0.4... [INFO] checking verity-memory-1.0.4 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate verity-memory 1.0.4 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate verity-memory 1.0.4 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded capstone v0.12.0 [INFO] [stderr] Downloaded capstone-sys v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25b7472785732e29f8198b4bc201d845fb1fc35fd75f2c6d2b63ddfba91e4ca0 [INFO] running `Command { std: "docker" "start" "-a" "25b7472785732e29f8198b4bc201d845fb1fc35fd75f2c6d2b63ddfba91e4ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25b7472785732e29f8198b4bc201d845fb1fc35fd75f2c6d2b63ddfba91e4ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b7472785732e29f8198b4bc201d845fb1fc35fd75f2c6d2b63ddfba91e4ca0", kill_on_drop: false }` [INFO] [stdout] 25b7472785732e29f8198b4bc201d845fb1fc35fd75f2c6d2b63ddfba91e4ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72678ebd29b25fba6b373187cb88583c5cadd945149743c8c60b4711e55565be [INFO] running `Command { std: "docker" "start" "-a" "72678ebd29b25fba6b373187cb88583c5cadd945149743c8c60b4711e55565be", 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 `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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [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 `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] For more information about this error, try `rustc --explain E0433`. [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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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] 25 | #[cfg(any(windows, libloading_docs))] [INFO] [stdout] | -------------------------- the item is gated here [INFO] [stdout] 26 | #[cfg_attr(libloading_docs, doc(cfg(windows)))] [INFO] [stdout] 27 | pub mod windows; [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [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] [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" "72678ebd29b25fba6b373187cb88583c5cadd945149743c8c60b4711e55565be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72678ebd29b25fba6b373187cb88583c5cadd945149743c8c60b4711e55565be", kill_on_drop: false }` [INFO] [stdout] 72678ebd29b25fba6b373187cb88583c5cadd945149743c8c60b4711e55565be