[INFO] fetching crate windows-service-detector 0.1.0... [INFO] testing windows-service-detector-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate windows-service-detector 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate windows-service-detector 0.1.0 [INFO] finished tweaking crates.io crate windows-service-detector 0.1.0 [INFO] tweaked toml for crates.io crate windows-service-detector 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate windows-service-detector 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows-service-detector 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-service v0.6.0 [INFO] [stderr] Downloaded widestring v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50882cc60a112138bb1dc7e95594ce81a9f06313f45004caed50e380e552c31a [INFO] running `Command { std: "docker" "start" "-a" "50882cc60a112138bb1dc7e95594ce81a9f06313f45004caed50e380e552c31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50882cc60a112138bb1dc7e95594ce81a9f06313f45004caed50e380e552c31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50882cc60a112138bb1dc7e95594ce81a9f06313f45004caed50e380e552c31a", kill_on_drop: false }` [INFO] [stdout] 50882cc60a112138bb1dc7e95594ce81a9f06313f45004caed50e380e552c31a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 968cc9ad0839c520551f3a515a5e2e5370b5a0f7431913d6bfd00e47ff96ebb7 [INFO] running `Command { std: "docker" "start" "-a" "968cc9ad0839c520551f3a515a5e2e5370b5a0f7431913d6bfd00e47ff96ebb7", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling windows-targets v0.48.0 [INFO] [stderr] Compiling windows v0.48.0 [INFO] [stderr] Compiling windows-service-detector v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.49s [INFO] running `Command { std: "docker" "inspect" "968cc9ad0839c520551f3a515a5e2e5370b5a0f7431913d6bfd00e47ff96ebb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968cc9ad0839c520551f3a515a5e2e5370b5a0f7431913d6bfd00e47ff96ebb7", kill_on_drop: false }` [INFO] [stdout] 968cc9ad0839c520551f3a515a5e2e5370b5a0f7431913d6bfd00e47ff96ebb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c470604754a50fe334d6b203d00a31397aefa81191219c3d4ec6e0f9f45884e2 [INFO] running `Command { std: "docker" "start" "-a" "c470604754a50fe334d6b203d00a31397aefa81191219c3d4ec6e0f9f45884e2", kill_on_drop: false }` [INFO] [stderr] Compiling windows-service v0.6.0 [INFO] [stderr] Compiling windows-service-detector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `service_stub` [INFO] [stdout] --> examples/service.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | service_stub::run()?; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `service_stub` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `service_stub`, use `cargo add service_stub` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-service-detector` (example "service") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcWtI942/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libwindows-27621f95ab22c876,libwindows_targets-162b8b77d320de01}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcWtI942/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/windows_service_detector-15a07fdfb23b3585" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: GetCurrentProcess [INFO] [stdout] >>> referenced by mod.rs:910 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/System/Threading/mod.rs:910) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_service_detector-15a07fdfb23b3585.windows_service_detector.6b7709c010cd315e-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::GetCurrentProcess::h309a133aa6f5c7d5) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NtQueryInformationProcess [INFO] [stdout] >>> referenced by mod.rs:1611 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/System/Threading/mod.rs:1611) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_service_detector-15a07fdfb23b3585.windows_service_detector.6b7709c010cd315e-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::NtQueryInformationProcess::h4f0306e3d0d4f228) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CloseHandle [INFO] [stdout] >>> referenced by mod.rs:8 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/Foundation/mod.rs:8) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_service_detector-15a07fdfb23b3585.windows_service_detector.6b7709c010cd315e-cgu.0.rcgu.o:(windows::Windows::Win32::Foundation::CloseHandle::h71ee0c021f9afb32) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: NtQuerySystemInformation [INFO] [stdout] >>> referenced by mod.rs:1034 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.48.0/src/Windows/Win32/System/WindowsProgramming/mod.rs:1034) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/windows_service_detector-15a07fdfb23b3585.windows_service_detector.6b7709c010cd315e-cgu.0.rcgu.o:(windows::Windows::Win32::System::WindowsProgramming::NtQuerySystemInformation::h8d93e2e53f60c1dc) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.05.rcgu.o:(windows::imp::heap::heap_free::h734fd93015e472d0) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.05.rcgu.o:(windows::imp::heap::heap_alloc::h925873602785f243) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapFree [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.05.rcgu.o:(windows::imp::heap::heap_free::h734fd93015e472d0) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: HeapAlloc [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.05.rcgu.o:(windows::imp::heap::heap_alloc::h925873602785f243) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetErrorInfo [INFO] [stdout] >>> referenced by error.rs:154 (src/core/error.rs:154) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.03.rcgu.o:(windows::core::error::GetErrorInfo::hfba591cd9e553c3e) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadLibraryA [INFO] [stdout] >>> referenced by delay_load.rs:11 (src/imp/delay_load.rs:11) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.08.rcgu.o:(windows::imp::delay_load::delay_load::hbc999550724b5b1e) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcAddress [INFO] [stdout] >>> referenced by delay_load.rs:17 (src/imp/delay_load.rs:17) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.08.rcgu.o:(windows::imp::delay_load::delay_load::hbc999550724b5b1e) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FreeLibrary [INFO] [stdout] >>> referenced by delay_load.rs:23 (src/imp/delay_load.rs:23) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.08.rcgu.o:(windows::imp::delay_load::delay_load::hbc999550724b5b1e) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: FormatMessageW [INFO] [stdout] >>> referenced by hresult.rs:89 (src/core/hresult.rs:89) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.09.rcgu.o:(windows::core::hresult::HRESULT::message::h2f206daa6d4eb555) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by bstr.rs:27 (src/core/strings/bstr.rs:27) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.09.rcgu.o:(windows::core::strings::bstr::BSTR::len::h1bd6c86a0a8f4ade) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by bstr.rs:154 (src/core/strings/bstr.rs:154) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.e17f181bd37df377-cgu.09.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h7162472b9b610455) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-service-detector` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c470604754a50fe334d6b203d00a31397aefa81191219c3d4ec6e0f9f45884e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c470604754a50fe334d6b203d00a31397aefa81191219c3d4ec6e0f9f45884e2", kill_on_drop: false }` [INFO] [stdout] c470604754a50fe334d6b203d00a31397aefa81191219c3d4ec6e0f9f45884e2