[INFO] cloning repository https://github.com/kdar/rust_inline_asm_win32api_x64 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kdar/rust_inline_asm_win32api_x64" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdar%2Frust_inline_asm_win32api_x64", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdar%2Frust_inline_asm_win32api_x64'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a6d3eee8bfc4aab1a7285bedf9416e087d19769 [INFO] checking kdar/rust_inline_asm_win32api_x64 against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdar%2Frust_inline_asm_win32api_x64" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kdar/rust_inline_asm_win32api_x64 on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kdar/rust_inline_asm_win32api_x64 [INFO] finished tweaking git repo https://github.com/kdar/rust_inline_asm_win32api_x64 [INFO] tweaked toml for git repo https://github.com/kdar/rust_inline_asm_win32api_x64 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/kdar/rust_inline_asm_win32api_x64 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb9acd9e91d3599537845b52ec4a7eca5460c8529ee1dbd4f7ed7267adc365d6 [INFO] running `Command { std: "docker" "start" "-a" "cb9acd9e91d3599537845b52ec4a7eca5460c8529ee1dbd4f7ed7267adc365d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb9acd9e91d3599537845b52ec4a7eca5460c8529ee1dbd4f7ed7267adc365d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9acd9e91d3599537845b52ec4a7eca5460c8529ee1dbd4f7ed7267adc365d6", kill_on_drop: false }` [INFO] [stdout] cb9acd9e91d3599537845b52ec4a7eca5460c8529ee1dbd4f7ed7267adc365d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c77fc8e255733de375fa4ceedd8475f6a5d7da7853af89d51d44137c34bd3fd7 [INFO] running `Command { std: "docker" "start" "-a" "c77fc8e255733de375fa4ceedd8475f6a5d7da7853af89d51d44137c34bd3fd7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rust_inline_asm_win32api_x64 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 26 | | mov rcx, 0 [INFO] [stdout] 27 | | mov rdx, $1 [INFO] [stdout] 28 | | mov r8, $0 [INFO] [stdout] ... | [INFO] [stdout] 34 | | : [INFO] [stdout] 35 | | : "intel"); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the legacy LLVM-style asm! syntax is no longer supported [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | asm!(" [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | _________help: replace with: `llvm_asm!` [INFO] [stdout] | | [INFO] [stdout] 26 | | mov rcx, 0 [INFO] [stdout] 27 | | mov rdx, $1 [INFO] [stdout] 28 | | mov r8, $0 [INFO] [stdout] ... | [INFO] [stdout] 34 | | : [INFO] [stdout] 35 | | : "intel"); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: consider migrating to the new asm! syntax specified in RFC 2873 [INFO] [stdout] = note: alternatively, switch to llvm_asm! to keep your code working as it is [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::LPCSTR` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::LPCSTR; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `LPCSTR` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::LPCSTR` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::LPCSTR; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `LPCSTR` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | let handle = unsafe { kernel32::LoadLibraryW(symbol.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | let messageboxa = unsafe { kernel32::GetProcAddress(handle, symbol.as_ptr() as LPCSTR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryW` in crate `kernel32` [INFO] [stdout] --> src/main.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | let handle = unsafe { kernel32::LoadLibraryW(symbol.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in crate `kernel32` [INFO] [stdout] --> src/main.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | let messageboxa = unsafe { kernel32::GetProcAddress(handle, symbol.as_ptr() as LPCSTR) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let v: Vec = OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_inline_asm_win32api_x64` due to 7 previous errors [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | let v: Vec = OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c77fc8e255733de375fa4ceedd8475f6a5d7da7853af89d51d44137c34bd3fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77fc8e255733de375fa4ceedd8475f6a5d7da7853af89d51d44137c34bd3fd7", kill_on_drop: false }` [INFO] [stdout] c77fc8e255733de375fa4ceedd8475f6a5d7da7853af89d51d44137c34bd3fd7