[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 try#a3dffdb3a32d0dedc198f9de7d43173f3eb6727b for pr-136303 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friesha%2Fshymem" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riesha/shymem on toolchain a3dffdb3a32d0dedc198f9de7d43173f3eb6727b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "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-0-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" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_enum v0.7.1 [INFO] [stderr] Downloaded num_enum_derive v0.7.1 [INFO] [stderr] Downloaded winnow v0.5.19 [INFO] [stderr] Downloaded ntstatus v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84732763496b0b613510d3c32a9e32ffecf135aa4c68c9f7f5c80d9fdb9e0459 [INFO] running `Command { std: "docker" "start" "-a" "84732763496b0b613510d3c32a9e32ffecf135aa4c68c9f7f5c80d9fdb9e0459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84732763496b0b613510d3c32a9e32ffecf135aa4c68c9f7f5c80d9fdb9e0459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84732763496b0b613510d3c32a9e32ffecf135aa4c68c9f7f5c80d9fdb9e0459", kill_on_drop: false }` [INFO] [stdout] 84732763496b0b613510d3c32a9e32ffecf135aa4c68c9f7f5c80d9fdb9e0459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a3dffdb3a32d0dedc198f9de7d43173f3eb6727b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582cfb0f1b6798ad667e3d73db9273dfd24d3627c41f91c78604eb53dc3fb7df [INFO] running `Command { std: "docker" "start" "-a" "582cfb0f1b6798ad667e3d73db9273dfd24d3627c41f91c78604eb53dc3fb7df", kill_on_drop: false }` [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:120:1 [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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/os/mod.rs:120:1 [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] 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[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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/fs.rs:382: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] 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] [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/a3dffdb3a32d0dedc198f9de7d43173f3eb6727b/library/std/src/fs.rs:382: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] [stderr] error: could not compile `shymem` (bin "shymem" test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "582cfb0f1b6798ad667e3d73db9273dfd24d3627c41f91c78604eb53dc3fb7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582cfb0f1b6798ad667e3d73db9273dfd24d3627c41f91c78604eb53dc3fb7df", kill_on_drop: false }` [INFO] [stdout] 582cfb0f1b6798ad667e3d73db9273dfd24d3627c41f91c78604eb53dc3fb7df