[INFO] fetching crate windows_service_controller 0.1.4... [INFO] checking windows_service_controller-0.1.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate windows_service_controller 0.1.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate windows_service_controller 0.1.4 [INFO] finished tweaking crates.io crate windows_service_controller 0.1.4 [INFO] tweaked toml for crates.io crate windows_service_controller 0.1.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate windows_service_controller 0.1.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows_service_controller 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 295cf5cc7998c7ed2fb021aa50acf899a60d4bdfcd613ca18d83de55f7e79fe7 [INFO] running `Command { std: "docker" "start" "-a" "295cf5cc7998c7ed2fb021aa50acf899a60d4bdfcd613ca18d83de55f7e79fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "295cf5cc7998c7ed2fb021aa50acf899a60d4bdfcd613ca18d83de55f7e79fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295cf5cc7998c7ed2fb021aa50acf899a60d4bdfcd613ca18d83de55f7e79fe7", kill_on_drop: false }` [INFO] [stdout] 295cf5cc7998c7ed2fb021aa50acf899a60d4bdfcd613ca18d83de55f7e79fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be14d2dc97e1cc14833b856aaac0d00153a536fb239ded8dc1efded1f8b94375 [INFO] running `Command { std: "docker" "start" "-a" "be14d2dc97e1cc14833b856aaac0d00153a536fb239ded8dc1efded1f8b94375", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling lers_windows_macro v0.0.3 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking windows_service_controller v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::GetLastError; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::Services::{ChangeServiceConfigW, CloseServiceHandle, ControlService, CreateServiceW, DeleteService, OpenSCMan... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Foundation::WIN32_ERROR; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Services; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Services::{ENUM_SERVICE_TYPE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::Win32` [INFO] [stdout] --> src/dword.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::Foundation::GetLastError; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::System::Services::{ChangeServiceConfigW, CloseServiceHandle, ControlService, CreateServiceW, DeleteService, OpenSCMan... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::core::PCWSTR; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::Foundation::WIN32_ERROR; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::System::Services; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/dword.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Services::{ENUM_SERVICE_TYPE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::Win32` [INFO] [stdout] --> src/dword.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::Foundation; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | PCWSTR!(name), [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | PCWSTR!(name), [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | PCWSTR!(display_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | PCWSTR!(binary_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | PCWSTR!(display_name), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | PCWSTR!(vec result) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | PCWSTR!(binary_path), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | Some(s) => PCWSTR!(s), [INFO] [stdout] | ^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 139 | PCWSTR!(vec result) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | Some(s) => PCWSTR!(s), [INFO] [stdout] | ^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:302:71 [INFO] [stdout] | [INFO] [stdout] 302 | let service_handle = unsafe { OpenServiceW(sc_manager_handle, PCWSTR!(name), access.into()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:302:71 [INFO] [stdout] | [INFO] [stdout] 302 | let service_handle = unsafe { OpenServiceW(sc_manager_handle, PCWSTR!(name), access.into()) }; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PCWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/lib.rs:400:42 [INFO] [stdout] | [INFO] [stdout] 400 | s.config.lpDisplayName = PWSTR!("lers test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `PWSTR` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_service_controller` (lib) due to 13 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows_service_controller` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "be14d2dc97e1cc14833b856aaac0d00153a536fb239ded8dc1efded1f8b94375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be14d2dc97e1cc14833b856aaac0d00153a536fb239ded8dc1efded1f8b94375", kill_on_drop: false }` [INFO] [stdout] be14d2dc97e1cc14833b856aaac0d00153a536fb239ded8dc1efded1f8b94375