[INFO] fetching crate win-file-id 0.1.2...
[INFO] testing win-file-id-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate win-file-id 0.1.2 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate win-file-id 0.1.2
[INFO] finished tweaking crates.io crate win-file-id 0.1.2
[INFO] tweaked toml for crates.io crate win-file-id 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate win-file-id 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate win-file-id 0.1.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c44c9b0fdfcdb5cd33904f98a83583952f78a4fc6c613734dff92b40934963d
[INFO] running `Command { std: "docker" "start" "-a" "1c44c9b0fdfcdb5cd33904f98a83583952f78a4fc6c613734dff92b40934963d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c44c9b0fdfcdb5cd33904f98a83583952f78a4fc6c613734dff92b40934963d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c44c9b0fdfcdb5cd33904f98a83583952f78a4fc6c613734dff92b40934963d", kill_on_drop: false }`
[INFO] [stdout] 1c44c9b0fdfcdb5cd33904f98a83583952f78a4fc6c613734dff92b40934963d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7ad483816740f9a47d841dea0060e76d62cff7ded60ac99fe82a4b6d6b2d0e0
[INFO] running `Command { std: "docker" "start" "-a" "c7ad483816740f9a47d841dea0060e76d62cff7ded60ac99fe82a4b6d6b2d0e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling windows-targets v0.52.6
[INFO] [stderr]    Compiling windows-sys v0.59.0
[INFO] [stderr]    Compiling win-file-id v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]    --> src/lib.rs:112:24
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use std::{mem, 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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 `windows` in `os`
[INFO] [stdout]    --> src/lib.rs:137:24
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use std::{mem, 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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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 `windows` in `os`
[INFO] [stdout]    --> src/lib.rs:156:36
[INFO] [stdout]     |
[INFO] [stdout] 156 |     use std::{fs::OpenOptions, os::windows::fs::OpenOptionsExt};
[INFO] [stdout]     |                                    ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/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[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope
[INFO] [stdout]    --> src/lib.rs:120:14
[INFO] [stdout]     |
[INFO] [stdout] 120 |         file.as_raw_handle() as HANDLE,
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 120 -         file.as_raw_handle() as HANDLE,
[INFO] [stdout] 120 +         file.as_raw_fd() as HANDLE,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope
[INFO] [stdout]    --> src/lib.rs:144:47
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let ret = GetFileInformationByHandle(file.as_raw_handle() as HANDLE, &mut info);
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 144 -     let ret = GetFileInformationByHandle(file.as_raw_handle() as HANDLE, &mut info);
[INFO] [stdout] 144 +     let ret = GetFileInformationByHandle(file.as_raw_fd() as HANDLE, &mut info);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `access_mode` found for struct `OpenOptions` in the current scope
[INFO] [stdout]    --> src/lib.rs:160:10
[INFO] [stdout]     |
[INFO] [stdout] 159 | /     OpenOptions::new()
[INFO] [stdout] 160 | |         .access_mode(0)
[INFO] [stdout]     | |         -^^^^^^^^^^^ method not found in `OpenOptions`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win-file-id` (lib) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "c7ad483816740f9a47d841dea0060e76d62cff7ded60ac99fe82a4b6d6b2d0e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7ad483816740f9a47d841dea0060e76d62cff7ded60ac99fe82a4b6d6b2d0e0", kill_on_drop: false }`
[INFO] [stdout] c7ad483816740f9a47d841dea0060e76d62cff7ded60ac99fe82a4b6d6b2d0e0
