[INFO] cloning repository https://github.com/sammosampson/rust-mem-mapped-file [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sammosampson/rust-mem-mapped-file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4555312126a6a516c56932e7675d7062ffc62907 [INFO] checking sammosampson/rust-mem-mapped-file against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsammosampson%2Frust-mem-mapped-file" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sammosampson/rust-mem-mapped-file [INFO] finished tweaking git repo https://github.com/sammosampson/rust-mem-mapped-file [INFO] tweaked toml for git repo https://github.com/sammosampson/rust-mem-mapped-file written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sammosampson/rust-mem-mapped-file on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sammosampson/rust-mem-mapped-file 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a23170dc0f71c77d826c85e904bbf2bb6eb29ccb4ac14c129465a01b6d6f58d [INFO] running `Command { std: "docker" "start" "-a" "3a23170dc0f71c77d826c85e904bbf2bb6eb29ccb4ac14c129465a01b6d6f58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a23170dc0f71c77d826c85e904bbf2bb6eb29ccb4ac14c129465a01b6d6f58d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a23170dc0f71c77d826c85e904bbf2bb6eb29ccb4ac14c129465a01b6d6f58d", kill_on_drop: false }` [INFO] [stdout] 3a23170dc0f71c77d826c85e904bbf2bb6eb29ccb4ac14c129465a01b6d6f58d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e48742b9504bd14affa3711bce7efd42fd7c08ebf21289637e6accf62bf9098 [INFO] running `Command { std: "docker" "start" "-a" "6e48742b9504bd14affa3711bce7efd42fd7c08ebf21289637e6accf62bf9098", kill_on_drop: false }` [INFO] [stderr] Checking mem-mapped-file v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{um::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::{um::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::winnt::*`, `winapi::um::fileapi::*`, `winapi::um::handleapi::*`, `winapi::um::winbase::*`, `winapi::um::memoryapi::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | winnt::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | fileapi::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | handleapi::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | winbase::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | memoryapi::* [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::um::winnt::*`, `winapi::um::fileapi::*`, `winapi::um::handleapi::*`, `winapi::um::winbase::*`, `winapi::um::memoryapi::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | winnt::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | fileapi::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | handleapi::*, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | winbase::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | memoryapi::* [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let err = winapi::um::errhandlingapi::GetLastError(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let err = winapi::um::errhandlingapi::GetLastError(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | GENERIC_WRITE|GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/main.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | GENERIC_WRITE|GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CREATE_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/main.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | if file_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_WRITE` in this scope [INFO] [stdout] --> src/main.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | GENERIC_WRITE|GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/main.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | GENERIC_WRITE|GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_ALWAYS` in this scope [INFO] [stdout] --> src/main.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | CREATE_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_ATTRIBUTE_NORMAL` in this scope [INFO] [stdout] --> src/main.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | FILE_ATTRIBUTE_NORMAL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/main.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | if file_handle == INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_READWRITE` in this scope [INFO] [stdout] --> src/main.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | PAGE_READWRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_ALL_ACCESS` in this scope [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | FILE_MAP_ALL_ACCESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let file_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut max_size = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let memory_map = CreateFileMappingA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/main.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let memory_block = MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileA` in this scope [INFO] [stdout] --> src/main.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | let file_handle = CreateFileA( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/main.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut max_size = LARGE_INTEGER::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileMappingA` in this scope [INFO] [stdout] --> src/main.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | let memory_map = CreateFileMappingA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stdout] --> src/main.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let memory_block = MapViewOfFile( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mem-mapped-file` (bin "mem-mapped-file") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mem-mapped-file` (bin "mem-mapped-file" test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "6e48742b9504bd14affa3711bce7efd42fd7c08ebf21289637e6accf62bf9098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e48742b9504bd14affa3711bce7efd42fd7c08ebf21289637e6accf62bf9098", kill_on_drop: false }` [INFO] [stdout] 6e48742b9504bd14affa3711bce7efd42fd7c08ebf21289637e6accf62bf9098