[INFO] cloning repository https://github.com/tensor-programming/st_alloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tensor-programming/st_alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849679a83e5d2efd038a85351cba31f839f5a1ac [INFO] testing tensor-programming/st_alloc against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tensor-programming/st_alloc [INFO] finished tweaking git repo https://github.com/tensor-programming/st_alloc [INFO] tweaked toml for git repo https://github.com/tensor-programming/st_alloc written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tensor-programming/st_alloc on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tensor-programming/st_alloc 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v1.1.3 [INFO] [stderr] Adding cfg-if v1.0.3 [INFO] [stderr] Adding env_logger v0.8.4 [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.3.3) [INFO] [stderr] Adding getrandom v0.2.16 [INFO] [stderr] Updating libc v0.2.82 -> v0.2.175 [INFO] [stderr] Adding log v0.4.27 [INFO] [stderr] Adding memchr v2.7.5 [INFO] [stderr] Adding quickcheck v1.0.3 [INFO] [stderr] Adding rand v0.8.5 [INFO] [stderr] Adding rand_core v0.6.4 [INFO] [stderr] Adding regex v1.11.2 [INFO] [stderr] Adding regex-automata v0.4.10 [INFO] [stderr] Adding regex-syntax v0.8.6 [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Adding wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded errno v0.2.7 [INFO] [stderr] Downloaded sysconf v0.3.4 [INFO] [stderr] Downloaded errno-dragonfly v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 884faf2519a969c8412f85c627e39bd54c8a7819303a4707df7fedce4e2b6dc2 [INFO] running `Command { std: "docker" "start" "-a" "884faf2519a969c8412f85c627e39bd54c8a7819303a4707df7fedce4e2b6dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884faf2519a969c8412f85c627e39bd54c8a7819303a4707df7fedce4e2b6dc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884faf2519a969c8412f85c627e39bd54c8a7819303a4707df7fedce4e2b6dc2", kill_on_drop: false }` [INFO] [stdout] 884faf2519a969c8412f85c627e39bd54c8a7819303a4707df7fedce4e2b6dc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1870aec18052a547e1afd8755184a9e069c4ea96478068a0bbad1f2a74500c3a [INFO] running `Command { std: "docker" "start" "-a" "1870aec18052a547e1afd8755184a9e069c4ea96478068a0bbad1f2a74500c3a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling sysconf v0.3.4 [INFO] [stderr] Compiling allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | use winapi::um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | use winapi::um::winnt::MEM_RELEASE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/allocator.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | use winapi::shared::minwindef::DWORD; [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/allocator.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | use winapi::um::{memoryapi::VirtualAlloc, winnt::MEM_COMMIT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree, winnt::MEM_DECOMMIT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/allocator.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | shared::minwindef::DWORD, [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/allocator.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | use winapi::um::memoryapi::VirtualQuery; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/secure/alloc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::{ [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/secure/alloc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::memoryapi::{VirtualLock, VirtualProtect, VirtualUnlock}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub use winapi::shared::minwindef::DWORD as Ty; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/permissions.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | let mut meminfo: winapi::um::winnt::MEMORY_BASIC_INFORMATION = [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:389:51 [INFO] [stdout] | [INFO] [stdout] 389 | let mbi_size = mem::size_of::(); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/alloc.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::sysinfoapi::GetSystemInfo(si.as_mut_ptr()); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub const NoAccess: Ty = winapi::um::winnt::PAGE_NOACCESS; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ReadOnly: Ty = winapi::um::winnt::PAGE_READONLY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ReadWrite: Ty = winapi::um::winnt::PAGE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub const WriteCopy: Ty = winapi::um::winnt::PAGE_WRITECOPY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub const Execute: Ty = winapi::um::winnt::PAGE_EXECUTE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ReadExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ReadWriteExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WriteCopyExec: Ty = winapi::um::winnt::PAGE_EXECUTE_WRITECOPY; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Guard: Ty = winapi::um::winnt::PAGE_GUARD; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub const NoCache: Ty = winapi::um::winnt::PAGE_NOCACHE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WriteCombine: Ty = winapi::um::winnt::PAGE_WRITECOMBINE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | pub const RevertToFileMap: Ty = winapi::um::winnt::PAGE_REVERT_TO_FILE_MAP; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TargetsInvalid: Ty = winapi::um::winnt::PAGE_TARGETS_INVALID; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/secure/prot.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TargetsNoUpdate: Ty = winapi::um::winnt::PAGE_TARGETS_NO_UPDATE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::Allocs` [INFO] [stdout] --> src/allocator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::traits::Allocs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `allocator` (lib) due to 31 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1870aec18052a547e1afd8755184a9e069c4ea96478068a0bbad1f2a74500c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1870aec18052a547e1afd8755184a9e069c4ea96478068a0bbad1f2a74500c3a", kill_on_drop: false }` [INFO] [stdout] 1870aec18052a547e1afd8755184a9e069c4ea96478068a0bbad1f2a74500c3a