[INFO] fetching crate elevated 0.1.3...
[INFO] checking elevated-0.1.3 against try#47af3d0de9d26c7deba4cfb203b710cc3f764e91 for pr-130443
[INFO] extracting crate elevated 0.1.3 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate elevated 0.1.3 on toolchain 47af3d0de9d26c7deba4cfb203b710cc3f764e91
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate elevated 0.1.3
[INFO] finished tweaking crates.io crate elevated 0.1.3
[INFO] tweaked toml for crates.io crate elevated 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 37 packages to latest compatible versions
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1)
[INFO] [stderr]       Adding windows v0.52.0 (available: v0.58.0)
[INFO] [stderr]       Adding windows-core v0.52.0 (available: v0.58.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e857030237dfbcc323ea0eab3c14177e2910490bba87a8c1170f7f2f3e9c5133
[INFO] running `Command { std: "docker" "start" "-a" "e857030237dfbcc323ea0eab3c14177e2910490bba87a8c1170f7f2f3e9c5133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e857030237dfbcc323ea0eab3c14177e2910490bba87a8c1170f7f2f3e9c5133", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e857030237dfbcc323ea0eab3c14177e2910490bba87a8c1170f7f2f3e9c5133", kill_on_drop: false }`
[INFO] [stdout] e857030237dfbcc323ea0eab3c14177e2910490bba87a8c1170f7f2f3e9c5133
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+47af3d0de9d26c7deba4cfb203b710cc3f764e91" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8464a156f30945d052a1d0937c8fb4b992289bbe85cee2dc4f5a79afb57131a
[INFO] running `Command { std: "docker" "start" "-a" "f8464a156f30945d052a1d0937c8fb4b992289bbe85cee2dc4f5a79afb57131a", kill_on_drop: false }`
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling ntapi v0.4.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling elevated-derive v0.1.3
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-core v0.52.0
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking windows v0.52.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking serde_json v1.0.128
[INFO] [stderr]     Checking elevated v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/util.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     os::windows::{
[INFO] [stdout]   |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:100:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntobapi`, `ntapi::ntpsapi`, `ntapi::ntrtl`
[INFO] [stdout]   --> src/util.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ntobapi::{
[INFO] [stdout]    |     ^^^^^^^ could not find `ntobapi` in `ntapi`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ntpsapi::{
[INFO] [stdout]    |     ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     ntrtl::RtlGetCurrentPeb,
[INFO] [stdout]    |     ^^^^^ could not find `ntrtl` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/util.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     os::windows::{
[INFO] [stdout]   |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:54:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:46:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:101:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/os/mod.rs:100:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntobapi`, `ntapi::ntpsapi`, `ntapi::ntrtl`
[INFO] [stdout]   --> src/util.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     ntobapi::{
[INFO] [stdout]    |     ^^^^^^^ could not find `ntobapi` in `ntapi`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     ntpsapi::{
[INFO] [stdout]    |     ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     ntrtl::RtlGetCurrentPeb,
[INFO] [stdout]    |     ^^^^^ could not find `ntrtl` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `HandleValue` on type `&_`
[INFO] [stdout]    --> src/util.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |             handle_value: item.HandleValue as _,
[INFO] [stdout]     |                                ^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `HandleValue` on type `&_`
[INFO] [stdout]    --> src/util.rs:204:32
[INFO] [stdout]     |
[INFO] [stdout] 204 |             handle_value: item.HandleValue as _,
[INFO] [stdout]     |                                ^^^^^^^^^^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `share_mode` found for mutable reference `&mut OpenOptions` in the current scope
[INFO] [stdout]    --> src/util.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 289 |           let pipe = OpenOptions::new()
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 290 | |             .read(true)
[INFO] [stdout] 291 | |             .write(true)
[INFO] [stdout] 292 | |             .share_mode(0)
[INFO] [stdout]     | |             -^^^^^^^^^^ method not found in `&mut OpenOptions`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `share_mode` found for mutable reference `&mut OpenOptions` in the current scope
[INFO] [stdout]    --> src/util.rs:292:14
[INFO] [stdout]     |
[INFO] [stdout] 289 |           let pipe = OpenOptions::new()
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 290 | |             .read(true)
[INFO] [stdout] 291 | |             .write(true)
[INFO] [stdout] 292 | |             .share_mode(0)
[INFO] [stdout]     | |             -^^^^^^^^^^ method not found in `&mut OpenOptions`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/util.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let pipe_name = OsStr::new(name)
[INFO] [stdout]     |  _________________________-
[INFO] [stdout] 330 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]    --> src/util.rs:330:14
[INFO] [stdout]     |
[INFO] [stdout] 329 |           let pipe_name = OsStr::new(name)
[INFO] [stdout]     |  _________________________-
[INFO] [stdout] 330 | |             .encode_wide()
[INFO] [stdout]     | |             -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]     | |_____________|
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `File` in the current scope
[INFO] [stdout]    --> src/util.rs:350:44
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let pipe = unsafe { std::fs::File::from_raw_handle(handle.0 as _) };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ function or associated item not found in `File`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions:
[INFO] [stdout]       File::open
[INFO] [stdout]       File::create
[INFO] [stdout]       File::create_new
[INFO] [stdout]    --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/fs.rs:374:5
[INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let pipe = unsafe { std::fs::File::from_raw_fd(handle.0 as _) };
[INFO] [stdout]     |                                            ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `File` in the current scope
[INFO] [stdout]    --> src/util.rs:350:44
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let pipe = unsafe { std::fs::File::from_raw_handle(handle.0 as _) };
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^ function or associated item not found in `File`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions:
[INFO] [stdout]       File::open
[INFO] [stdout]       File::create
[INFO] [stdout]       File::create_new
[INFO] [stdout]    --> /rustc/47af3d0de9d26c7deba4cfb203b710cc3f764e91/library/std/src/fs.rs:374:5
[INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 350 |         let pipe = unsafe { std::fs::File::from_raw_fd(handle.0 as _) };
[INFO] [stdout]     |                                            ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `File` in the current scope
[INFO] [stdout]    --> src/util.rs:356:47
[INFO] [stdout]     |
[INFO] [stdout] 356 |             ConnectNamedPipe(HANDLE(self.pipe.as_raw_handle() as _), None)
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 356 |             ConnectNamedPipe(HANDLE(self.pipe.as_raw_fd() as _), None)
[INFO] [stdout]     |                                               ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for struct `File` in the current scope
[INFO] [stdout]    --> src/util.rs:356:47
[INFO] [stdout]     |
[INFO] [stdout] 356 |             ConnectNamedPipe(HANDLE(self.pipe.as_raw_handle() as _), None)
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `as_raw_fd` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 356 |             ConnectNamedPipe(HANDLE(self.pipe.as_raw_fd() as _), None)
[INFO] [stdout]     |                                               ~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `elevated` (lib test) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `elevated` (lib) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "f8464a156f30945d052a1d0937c8fb4b992289bbe85cee2dc4f5a79afb57131a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8464a156f30945d052a1d0937c8fb4b992289bbe85cee2dc4f5a79afb57131a", kill_on_drop: false }`
[INFO] [stdout] f8464a156f30945d052a1d0937c8fb4b992289bbe85cee2dc4f5a79afb57131a
