[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdar%2Frust_inline_asm_win32api_x64" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kdar/rust_inline_asm_win32api_x64 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-3/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2c3914c6b0f83630705bc1a159b05dd8a6c559a7e19c991baf6d1cb64e36fdf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b2c3914c6b0f83630705bc1a159b05dd8a6c559a7e19c991baf6d1cb64e36fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2c3914c6b0f83630705bc1a159b05dd8a6c559a7e19c991baf6d1cb64e36fdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c3914c6b0f83630705bc1a159b05dd8a6c559a7e19c991baf6d1cb64e36fdf", kill_on_drop: false }` [INFO] [stdout] b2c3914c6b0f83630705bc1a159b05dd8a6c559a7e19c991baf6d1cb64e36fdf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce5e148e9ea0678426bba4a34dc8aec13695da4a2fcd6f28739cf36c34ce82d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce5e148e9ea0678426bba4a34dc8aec13695da4a2fcd6f28739cf36c34ce82d1", kill_on_drop: false }` [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[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: 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[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` [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "ce5e148e9ea0678426bba4a34dc8aec13695da4a2fcd6f28739cf36c34ce82d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5e148e9ea0678426bba4a34dc8aec13695da4a2fcd6f28739cf36c34ce82d1", kill_on_drop: false }` [INFO] [stdout] ce5e148e9ea0678426bba4a34dc8aec13695da4a2fcd6f28739cf36c34ce82d1