[INFO] cloning repository https://github.com/riesha/shymem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riesha/shymem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friesha%2Fshymem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friesha%2Fshymem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdf4b90c2f6efccb4ba65aae5003ae43567cf094 [INFO] checking riesha/shymem against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friesha%2Fshymem" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riesha/shymem on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/riesha/shymem [INFO] finished tweaking git repo https://github.com/riesha/shymem [INFO] tweaked toml for git repo https://github.com/riesha/shymem written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/riesha/shymem 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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking riesha/shymem against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friesha%2Fshymem" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riesha/shymem on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/riesha/shymem [INFO] finished tweaking git repo https://github.com/riesha/shymem [INFO] tweaked toml for git repo https://github.com/riesha/shymem written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/riesha/shymem 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" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded ntstatus v0.1.2 [INFO] [stderr] Downloaded windows v0.51.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7916d35e26cdccb52549b1cf40fbcdc89c2c85878a8a7392739fccfdff42ab5 [INFO] running `Command { std: "docker" "start" "-a" "d7916d35e26cdccb52549b1cf40fbcdc89c2c85878a8a7392739fccfdff42ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7916d35e26cdccb52549b1cf40fbcdc89c2c85878a8a7392739fccfdff42ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7916d35e26cdccb52549b1cf40fbcdc89c2c85878a8a7392739fccfdff42ab5", kill_on_drop: false }` [INFO] [stdout] d7916d35e26cdccb52549b1cf40fbcdc89c2c85878a8a7392739fccfdff42ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93df036866025dea4ce7f9a8022eaf787e3d0a3af703bb3295cc8c94e93e62a6 [INFO] running `Command { std: "docker" "start" "-a" "93df036866025dea4ce7f9a8022eaf787e3d0a3af703bb3295cc8c94e93e62a6", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.4.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-core v0.51.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking windows v0.51.1 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.1 [INFO] [stderr] Checking num_enum v0.7.1 [INFO] [stderr] Checking ntstatus v0.1.2 [INFO] [stderr] Checking shymem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | os::windows::io::FromRawHandle, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::ntdef::OBJECT_ATTRIBUTES, [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/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntmmapi`, `ntapi::ntpsapi`, `ntapi::nttmapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ntmmapi::{NtCreateSection, NtMapViewOfSection, ViewUnmap}, [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] 4 | ntpsapi::NtCurrentProcess, [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] 5 | nttmapi::NtCreateTransaction, [INFO] [stdout] | ^^^^^^^ could not find `nttmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | os::windows::io::FromRawHandle, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/72eda894eb3548c7ba774079ce0afab42958d4ee/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::ntdef::OBJECT_ATTRIBUTES, [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/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntmmapi`, `ntapi::ntpsapi`, `ntapi::nttmapi` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | ntmmapi::{NtCreateSection, NtMapViewOfSection, ViewUnmap}, [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] 4 | ntpsapi::NtCurrentProcess, [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] 5 | nttmapi::NtCreateTransaction, [INFO] [stdout] | ^^^^^^^ could not find `nttmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | type HANDLE = *mut ntapi::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `winapi` is imported redundantly [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | self, [INFO] [stdout] | ^^^^ the item `winapi` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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/main.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let mut file = unsafe { File::from_raw_handle(tx_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/72eda894eb3548c7ba774079ce0afab42958d4ee/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] 73 | let mut file = unsafe { File::from_raw_fd(tx_handle.0 as _) }; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | type HANDLE = *mut ntapi::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `winapi` is imported redundantly [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | self, [INFO] [stdout] | ^^^^ the item `winapi` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shymem` (bin "shymem") due to 7 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_raw_handle` found for struct `File` in the current scope [INFO] [stdout] --> src/main.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | let mut file = unsafe { File::from_raw_handle(tx_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/72eda894eb3548c7ba774079ce0afab42958d4ee/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] 73 | let mut file = unsafe { File::from_raw_fd(tx_handle.0 as _) }; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::prelude` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shymem` (bin "shymem" test) due to 7 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93df036866025dea4ce7f9a8022eaf787e3d0a3af703bb3295cc8c94e93e62a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93df036866025dea4ce7f9a8022eaf787e3d0a3af703bb3295cc8c94e93e62a6", kill_on_drop: false }` [INFO] [stdout] 93df036866025dea4ce7f9a8022eaf787e3d0a3af703bb3295cc8c94e93e62a6