[INFO] cloning repository https://github.com/cristeigabriel/helveta-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cristeigabriel/helveta-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristeigabriel%2Fhelveta-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristeigabriel%2Fhelveta-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ba8657c7daa7f8c1c2581530bd871ff2a9ede53 [INFO] testing cristeigabriel/helveta-rust against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcristeigabriel%2Fhelveta-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cristeigabriel/helveta-rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/cristeigabriel/helveta-rust [INFO] finished tweaking git repo https://github.com/cristeigabriel/helveta-rust [INFO] tweaked toml for git repo https://github.com/cristeigabriel/helveta-rust written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/cristeigabriel/helveta-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f23f09fb7751a4469bb98be3c8d412d0c9dd363710ec6421cba2ada26cf82459 [INFO] running `Command { std: "docker" "start" "-a" "f23f09fb7751a4469bb98be3c8d412d0c9dd363710ec6421cba2ada26cf82459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f23f09fb7751a4469bb98be3c8d412d0c9dd363710ec6421cba2ada26cf82459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f23f09fb7751a4469bb98be3c8d412d0c9dd363710ec6421cba2ada26cf82459", kill_on_drop: false }` [INFO] [stdout] f23f09fb7751a4469bb98be3c8d412d0c9dd363710ec6421cba2ada26cf82459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fb88090d8aea2bf75dd676a679cb4bf897a8503811ac16ecdc4cbd8ae5262df [INFO] running `Command { std: "docker" "start" "-a" "9fb88090d8aea2bf75dd676a679cb4bf897a8503811ac16ecdc4cbd8ae5262df", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling helveta-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | shared::minwindef::{BOOL, DWORD, FALSE, HMODULE, LPVOID, TRUE}, [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/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | um::{libloaderapi::DisableThreadLibraryCalls, winnt::DLL_PROCESS_ATTACH}, [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/helveta/pe/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | 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/helveta/mod.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::{consoleapi::AllocConsole, wincon::SetConsoleTitleA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | name: LPCSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | pub unsafe fn new(name: LPCSTR) -> Self { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let module = GetModuleHandleA(name) as *const u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIMAGE_DOS_HEADER` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 28 | let dos_header = module as PIMAGE_DOS_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIMAGE_NT_HEADERS` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:29:78 [INFO] [stdout] | [INFO] [stdout] 29 | let nt_headers = ((module as i32) + (*(dos_header)).e_lfanew) as PIMAGE_NT_HEADERS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | as PIMAGE_SECTION_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PIMAGE_SECTION_HEADER` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | section_list = (section_list as u32 + 40) as PIMAGE_SECTION_HEADER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/helveta/pe/mod.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_raw_name(&self) -> LPCSTR { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AllocConsole` in this scope [INFO] [stdout] --> src/helveta/mod.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | AllocConsole(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetConsoleTitleA` in this scope [INFO] [stdout] --> src/helveta/mod.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | SetConsoleTitleA(c_str!("helveta")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/lib.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | module: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | reason_for_call: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | _reserved: LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DLL_PROCESS_ATTACH` in this scope [INFO] [stdout] --> src/lib.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | if reason_for_call != DLL_PROCESS_ATTACH { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | return FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DisableThreadLibraryCalls` in this scope [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | DisableThreadLibraryCalls(module); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of calling convention not supported on this target [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pub extern "stdcall" fn DllMain( [INFO] [stdout] 15 | | module: HMODULE, [INFO] [stdout] 16 | | reason_for_call: DWORD, [INFO] [stdout] 17 | | _reserved: LPVOID, [INFO] [stdout] 18 | | ) -> BOOL { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unsupported_calling_conventions)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #87678 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `helveta-rust` due to 23 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9fb88090d8aea2bf75dd676a679cb4bf897a8503811ac16ecdc4cbd8ae5262df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fb88090d8aea2bf75dd676a679cb4bf897a8503811ac16ecdc4cbd8ae5262df", kill_on_drop: false }` [INFO] [stdout] 9fb88090d8aea2bf75dd676a679cb4bf897a8503811ac16ecdc4cbd8ae5262df