[INFO] fetching crate windows-service-detector 0.1.0... [INFO] building windows-service-detector-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [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 c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Downloaded windows-targets v0.48.0 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 879bf7fc14487e9dd563244e6f3b4ef7007dbee9143b1ced1ee47eb71a34a5e5 [INFO] running `Command { std: "docker" "start" "-a" "879bf7fc14487e9dd563244e6f3b4ef7007dbee9143b1ced1ee47eb71a34a5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "879bf7fc14487e9dd563244e6f3b4ef7007dbee9143b1ced1ee47eb71a34a5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "879bf7fc14487e9dd563244e6f3b4ef7007dbee9143b1ced1ee47eb71a34a5e5", kill_on_drop: false }` [INFO] [stdout] 879bf7fc14487e9dd563244e6f3b4ef7007dbee9143b1ced1ee47eb71a34a5e5 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d690da87de7e6b1841cdb77993146f660380f972a00dcb47c0b00505c233910f [INFO] running `Command { std: "docker" "start" "-a" "d690da87de7e6b1841cdb77993146f660380f972a00dcb47c0b00505c233910f", 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 4.79s [INFO] running `Command { std: "docker" "inspect" "d690da87de7e6b1841cdb77993146f660380f972a00dcb47c0b00505c233910f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d690da87de7e6b1841cdb77993146f660380f972a00dcb47c0b00505c233910f", kill_on_drop: false }` [INFO] [stdout] d690da87de7e6b1841cdb77993146f660380f972a00dcb47c0b00505c233910f [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ece07d5c62ec50067a6495a418aeff679a4b69b610eeddeb333b2984b85393e8 [INFO] running `Command { std: "docker" "start" "-a" "ece07d5c62ec50067a6495a418aeff679a4b69b610eeddeb333b2984b85393e8", 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] [stderr] error: could not compile `windows-service-detector` (example "service") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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/rustcFmGhPE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,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-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcFmGhPE/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: 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.52dc22fe74584fd8-cgu.0.rcgu.o:(windows::Windows::Win32::Foundation::CloseHandle::haa25dd194d44e60c) [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.52dc22fe74584fd8-cgu.0.rcgu.o:(windows::Windows::Win32::System::WindowsProgramming::NtQuerySystemInformation::h93a0001ba43a48be) [INFO] [stdout] [INFO] [stdout] 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.52dc22fe74584fd8-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::GetCurrentProcess::haaf0018914bf308b) [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.52dc22fe74584fd8-cgu.0.rcgu.o:(windows::Windows::Win32::System::Threading::NtQueryInformationProcess::hf504255ca08b5338) [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.9eeb8d9d6abfb1c-cgu.07.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::hf5036b7ffe2b1d84) 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.9eeb8d9d6abfb1c-cgu.07.rcgu.o:(windows::core::hresult::HRESULT::message::hd731ae622e656652) 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.9eeb8d9d6abfb1c-cgu.07.rcgu.o:(windows::core::strings::bstr::BSTR::len::hc9ab680680a6efc9) 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.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::delay_load::delay_load::hd22c8e30f13b67fb) 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.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::delay_load::delay_load::hd22c8e30f13b67fb) 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.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::delay_load::delay_load::hd22c8e30f13b67fb) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetProcessHeap [INFO] [stdout] >>> referenced by heap.rs:10 (src/imp/heap.rs:10) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::heap::heap_alloc::h4922a8219c4531c5) in archive /opt/rustwide/target/debug/deps/libwindows-27621f95ab22c876.rlib [INFO] [stdout] >>> referenced by heap.rs:34 (src/imp/heap.rs:34) [INFO] [stdout] >>> windows-27621f95ab22c876.windows.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::heap::heap_free::h50b44af7d944f0d8) 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.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::heap::heap_alloc::h4922a8219c4531c5) 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.9eeb8d9d6abfb1c-cgu.05.rcgu.o:(windows::imp::heap::heap_free::h50b44af7d944f0d8) 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.9eeb8d9d6abfb1c-cgu.08.rcgu.o:(windows::core::error::GetErrorInfo::h4611716c290252d5) 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" "ece07d5c62ec50067a6495a418aeff679a4b69b610eeddeb333b2984b85393e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ece07d5c62ec50067a6495a418aeff679a4b69b610eeddeb333b2984b85393e8", kill_on_drop: false }` [INFO] [stdout] ece07d5c62ec50067a6495a418aeff679a4b69b610eeddeb333b2984b85393e8