[INFO] fetching crate xladd 0.1.0... [INFO] checking xladd-0.1.0 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate xladd 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate xladd 0.1.0 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate xladd 0.1.0 [INFO] finished tweaking crates.io crate xladd 0.1.0 [INFO] tweaked toml for crates.io crate xladd 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 352ec32bf6e7ac5f488afea6a1448d0a3a6f4156d2eaf5dfec457722e1fcf4a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "352ec32bf6e7ac5f488afea6a1448d0a3a6f4156d2eaf5dfec457722e1fcf4a8"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking xladd v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/entrypoint.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/entrypoint.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::minwindef::HMODULE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/registrator.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::debugapi::OutputDebugStringA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/entrypoint.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | static mut XLCALL_HMODULE: HMODULE = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/entrypoint.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | XLCALL_HMODULE = GetModuleHandleW(wcstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/entrypoint.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 60 | let entry_pt: usize = GetProcAddress(XLCALL_HMODULE, cstr.as_ptr()) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/entrypoint.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | XLCALL_HMODULE = GetModuleHandleW(ptr::null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/entrypoint.rs:72:28 [INFO] [stderr] | [INFO] [stderr] 72 | PEXCEL12 = GetProcAddress(XLCALL_HMODULE, cstr.as_ptr()) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OutputDebugStringA` in this scope [INFO] [stderr] --> src/registrator.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | unsafe { OutputDebugStringA(cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/entrypoint.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::um::libloaderapi::{GetModuleHandleW, GetProcAddress}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/entrypoint.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::shared::minwindef::HMODULE; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/registrator.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use winapi::um::debugapi::OutputDebugStringA; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stderr] --> src/entrypoint.rs:24:28 [INFO] [stderr] | [INFO] [stderr] 24 | static mut XLCALL_HMODULE: HMODULE = ptr::null_mut(); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/entrypoint.rs:57:30 [INFO] [stderr] | [INFO] [stderr] 57 | XLCALL_HMODULE = GetModuleHandleW(wcstr.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/entrypoint.rs:60:39 [INFO] [stderr] | [INFO] [stderr] 60 | let entry_pt: usize = GetProcAddress(XLCALL_HMODULE, cstr.as_ptr()) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleW` in this scope [INFO] [stderr] --> src/entrypoint.rs:68:30 [INFO] [stderr] | [INFO] [stderr] 68 | XLCALL_HMODULE = GetModuleHandleW(ptr::null()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stderr] --> src/entrypoint.rs:72:28 [INFO] [stderr] | [INFO] [stderr] 72 | PEXCEL12 = GetProcAddress(XLCALL_HMODULE, cstr.as_ptr()) as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OutputDebugStringA` in this scope [INFO] [stderr] --> src/registrator.rs:96:14 [INFO] [stderr] | [INFO] [stderr] 96 | unsafe { OutputDebugStringA(cstr.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: could not compile `xladd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `xladd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "352ec32bf6e7ac5f488afea6a1448d0a3a6f4156d2eaf5dfec457722e1fcf4a8"` [INFO] running `"docker" "rm" "-f" "352ec32bf6e7ac5f488afea6a1448d0a3a6f4156d2eaf5dfec457722e1fcf4a8"` [INFO] [stdout] 352ec32bf6e7ac5f488afea6a1448d0a3a6f4156d2eaf5dfec457722e1fcf4a8