[INFO] cloning repository kdar/rust_inline_asm_win32api_x64 [INFO] running `"git" "clone" "--bare" "git://github.com/kdar/rust_inline_asm_win32api_x64.git" "work/cache/sources/gh/kdar/rust_inline_asm_win32api_x64"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/kdar/rust_inline_asm_win32api_x64'... [INFO] running `"git" "clone" "work/cache/sources/gh/kdar/rust_inline_asm_win32api_x64" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kdar/rust_inline_asm_win32api_x64"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kdar/rust_inline_asm_win32api_x64'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/kdar/rust_inline_asm_win32api_x64" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kdar/rust_inline_asm_win32api_x64"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kdar/rust_inline_asm_win32api_x64'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9a6d3eee8bfc4aab1a7285bedf9416e087d19769 [INFO] sha for GitHub repo kdar/rust_inline_asm_win32api_x64: 9a6d3eee8bfc4aab1a7285bedf9416e087d19769 [INFO] validating manifest of kdar/rust_inline_asm_win32api_x64 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of kdar/rust_inline_asm_win32api_x64 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing kdar/rust_inline_asm_win32api_x64 [INFO] finished frobbing kdar/rust_inline_asm_win32api_x64 [INFO] frobbed toml for kdar/rust_inline_asm_win32api_x64 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kdar/rust_inline_asm_win32api_x64/Cargo.toml [INFO] started frobbing kdar/rust_inline_asm_win32api_x64 [INFO] finished frobbing kdar/rust_inline_asm_win32api_x64 [INFO] frobbed toml for kdar/rust_inline_asm_win32api_x64 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/kdar/rust_inline_asm_win32api_x64/Cargo.toml [INFO] crate kdar/rust_inline_asm_win32api_x64 already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kdar/rust_inline_asm_win32api_x64/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing kdar/rust_inline_asm_win32api_x64 against master#c8865d8e195813ade6b84434ac9f8850e7112d1a for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/master#c8865d8e195813ade6b84434ac9f8850e7112d1a:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/kdar/rust_inline_asm_win32api_x64:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "build" "--frozen"` [INFO] [stdout] 35be7cd142ae3b605c5ea5df70855230f28231a53b5445ff46a5cc18b0bc2795 [INFO] running `"docker" "start" "-a" "35be7cd142ae3b605c5ea5df70855230f28231a53b5445ff46a5cc18b0bc2795"` [INFO] [stderr] Compiling rust_inline_asm_win32api_x64 v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::LPCSTR` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::LPCSTR; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `LPCSTR` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `LoadLibraryW` in module `kernel32` [INFO] [stderr] --> src/main.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | let handle = unsafe { kernel32::LoadLibraryW(symbol.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `GetProcAddress` in module `kernel32` [INFO] [stderr] --> src/main.rs:22:42 [INFO] [stderr] | [INFO] [stderr] 22 | let messageboxa = unsafe { kernel32::GetProcAddress(handle, symbol.as_ptr() as LPCSTR) }; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in `kernel32` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:11:37 [INFO] [stderr] | [INFO] [stderr] 11 | let v: Vec = OsStr::new(s).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `rust_inline_asm_win32api_x64`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "35be7cd142ae3b605c5ea5df70855230f28231a53b5445ff46a5cc18b0bc2795"` [INFO] running `"docker" "rm" "-f" "35be7cd142ae3b605c5ea5df70855230f28231a53b5445ff46a5cc18b0bc2795"` [INFO] [stdout] 35be7cd142ae3b605c5ea5df70855230f28231a53b5445ff46a5cc18b0bc2795