[INFO] fetching crate winhandle 0.3.0...
[INFO] testing winhandle-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate winhandle 0.3.0 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate winhandle 0.3.0
[INFO] finished tweaking crates.io crate winhandle 0.3.0
[INFO] tweaked toml for crates.io crate winhandle 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate winhandle 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 6 packages to latest compatible versions
[INFO] [stderr]       Adding lazy_static v0.2.11 (available: v1.5.0)
[INFO] [stderr]       Adding widestring v0.2.2 (available: v1.2.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed79687973f2a5226ae775288a7bef18cc955c17bae689807c3ea2822e2fc455
[INFO] running `Command { std: "docker" "start" "-a" "ed79687973f2a5226ae775288a7bef18cc955c17bae689807c3ea2822e2fc455", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed79687973f2a5226ae775288a7bef18cc955c17bae689807c3ea2822e2fc455", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed79687973f2a5226ae775288a7bef18cc955c17bae689807c3ea2822e2fc455", kill_on_drop: false }`
[INFO] [stdout] ed79687973f2a5226ae775288a7bef18cc955c17bae689807c3ea2822e2fc455
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b53aad8d3ab5dccf954b1de21bbc4dc14c188bffdb8057047b5494df57f0d087
[INFO] running `Command { std: "docker" "start" "-a" "b53aad8d3ab5dccf954b1de21bbc4dc14c188bffdb8057047b5494df57f0d087", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling widestring v0.2.2
[INFO] [stderr]    Compiling winhandle v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/macros.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use winapi::shared::minwindef::{FALSE};
[INFO] [stdout]   |                 ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/macros.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use winapi::shared::winerror::{E_FAIL, S_OK};
[INFO] [stdout]   |                 ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/macros.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use winapi::shared::winerror::{SUCCEEDED};
[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/macros.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use winapi::um::errhandlingapi::{GetLastError};
[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/macros.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use winapi::um::handleapi::{INVALID_HANDLE_VALUE};
[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/handle.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::os::windows::prelude::*;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/os/mod.rs:56:4
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/os/mod.rs:120:9
[INFO] [stdout]   |
[INFO] [stdout]   = note: the item is gated here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/handle.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::{HANDLE, PVOID, ACCESS_MASK};
[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/handle.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{DUPLICATE_SAME_ACCESS, DUPLICATE_CLOSE_SOURCE};
[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/handle.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, ULONG, TRUE, FALSE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/handle.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::winerror::{SUCCEEDED, NO_ERROR};
[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/handle.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::handleapi::{INVALID_HANDLE_VALUE, CloseHandle, GetHandleInformation, DuplicateHandle};
[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/handle.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::processthreadsapi::{GetCurrentProcess};
[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/handle.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::fileapi::{GetFileType};
[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/handle.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::winbase::{FILE_TYPE_CHAR, FILE_TYPE_DISK, FILE_TYPE_PIPE, FILE_TYPE_UNKNOWN};
[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/handle.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::errhandlingapi::{GetLastError};
[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/comptr.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::unknwnbase::IUnknown;
[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/mem.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::winbase::{LocalFree};
[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/sys.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::{HANDLE, HRESULT, PVOID, LPSTR, ACCESS_MASK};
[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/sys.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::ntdef::{UNICODE_STRING};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/sys.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{DWORD, HMODULE, ULONG, PULONG};
[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/sys.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::libloaderapi::{GetModuleHandleExW, GetProcAddress};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]   --> src/handle.rs:76:67
[INFO] [stdout]    |
[INFO] [stdout] 76 |     pub fn clone_from<T>(t: &T) -> io::Result<WinHandle> where T: AsRawHandle {
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]   --> src/handle.rs:84:117
[INFO] [stdout]    |
[INFO] [stdout] 84 |     pub fn clone_from_ex<T>(t: &T, inheritable: bool, access: ClonedHandleAccess) -> io::Result<WinHandle> where T: AsRawHandle
[INFO] [stdout]    |                                                                                                                     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:147:50
[INFO] [stdout]     |
[INFO] [stdout] 147 |     pub fn from<T>(handle: &T) -> &Self where T: AsRawHandle {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:295:6
[INFO] [stdout]     |
[INFO] [stdout] 295 | impl AsRawHandle for WinHandle {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:296:32
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct WinHandle(HANDLE);
[INFO] [stdout]     | ----------------------------- similarly named struct `WinHandle` defined here
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn as_raw_handle(&self) -> RawHandle { unsafe { mem::transmute(self.get()) } }
[INFO] [stdout]     |                                ^^^^^^^^^ help: a struct with a similar name exists: `WinHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:299:6
[INFO] [stdout]     |
[INFO] [stdout] 299 | impl AsRawHandle for WinHandleRef {
[INFO] [stdout]     |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:300:32
[INFO] [stdout]     |
[INFO] [stdout]  20 | pub struct WinHandle(HANDLE);
[INFO] [stdout]     | ----------------------------- similarly named struct `WinHandle` defined here
[INFO] [stdout] ...
[INFO] [stdout] 300 |     fn as_raw_handle(&self) -> RawHandle { unsafe { mem::transmute(self.get()) } }
[INFO] [stdout]     |                                ^^^^^^^^^ help: a struct with a similar name exists: `WinHandle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `IntoRawHandle` in this scope
[INFO] [stdout]    --> src/handle.rs:303:40
[INFO] [stdout]     |
[INFO] [stdout] 303 | impl<T> From<T> for WinHandle where T: IntoRawHandle {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/sys.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | / lazy_static! {
[INFO] [stdout] 29 | |     static ref NT_DLL_HANDLE: Option<HModuleWrapper> = unsafe {
[INFO] [stdout] 30 | |         let mut handle: HMODULE = ptr::null_mut();
[INFO] [stdout] 31 | |         match winapi_bool_call!(GetModuleHandleExW(
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |     };
[INFO] [stdout] 43 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/sys.rs:45:1
[INFO] [stdout]    |
[INFO] [stdout] 45 | / lazy_static! {
[INFO] [stdout] 46 | |     pub static ref NtQueryObject: Option<NtQueryObjectFn> = unsafe {
[INFO] [stdout] 47 | |         NT_DLL_HANDLE.and_then(|nt_dll| {
[INFO] [stdout] 48 | |             match GetProcAddress(*nt_dll, b"NtQueryObject\0".as_ptr() as LPSTR) {
[INFO] [stdout] ...  |
[INFO] [stdout] 56 | |     };
[INFO] [stdout] 57 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winhandle` (lib) due to 29 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b53aad8d3ab5dccf954b1de21bbc4dc14c188bffdb8057047b5494df57f0d087", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b53aad8d3ab5dccf954b1de21bbc4dc14c188bffdb8057047b5494df57f0d087", kill_on_drop: false }`
[INFO] [stdout] b53aad8d3ab5dccf954b1de21bbc4dc14c188bffdb8057047b5494df57f0d087
