[INFO] cloning repository https://github.com/latonis/scanni [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/latonis/scanni" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatonis%2Fscanni", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatonis%2Fscanni'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5746b0f452bae0f6a868e10073052c7f6775db75 [INFO] building latonis/scanni against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flatonis%2Fscanni" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/latonis/scanni [INFO] finished tweaking git repo https://github.com/latonis/scanni [INFO] tweaked toml for git repo https://github.com/latonis/scanni written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/latonis/scanni on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/latonis/scanni 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e25b70a846e7cdb19d47e3dd17bbfeacb0113236dc2458e05b7a4d359bef7f6d [INFO] running `Command { std: "docker" "start" "-a" "e25b70a846e7cdb19d47e3dd17bbfeacb0113236dc2458e05b7a4d359bef7f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e25b70a846e7cdb19d47e3dd17bbfeacb0113236dc2458e05b7a4d359bef7f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25b70a846e7cdb19d47e3dd17bbfeacb0113236dc2458e05b7a4d359bef7f6d", kill_on_drop: false }` [INFO] [stdout] e25b70a846e7cdb19d47e3dd17bbfeacb0113236dc2458e05b7a4d359bef7f6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 592f4386eb6660b6ea315bb779b92b9d0ae05ff99769e4bbee890a352aab393a [INFO] running `Command { std: "docker" "start" "-a" "592f4386eb6660b6ea315bb779b92b9d0ae05ff99769e4bbee890a352aab393a", kill_on_drop: false }` [INFO] [stderr] Compiling windows-targets v0.52.3 [INFO] [stderr] Compiling windows-result v0.1.0 [INFO] [stderr] Compiling windows-core v0.54.0 [INFO] [stderr] Compiling windows v0.54.0 [INFO] [stderr] Compiling scanni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `trace_proc_handle` [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let trace_proc_handle = Etw::OpenTraceA(&mut trace_log); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trace_proc_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libwindows-5c6fd2a96c6c0822,libwindows_core-b91d0589085721fa,libwindows_result-ed04b81953da5b36,libwindows_targets-bda5ea79db732611}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: AmsiInitialize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: AmsiScanString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: AmsiOpenSession [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: StopTraceW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: StartTraceW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: EnableTraceEx2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: OpenTraceA [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/scanni-4cead2cb937128c0.scanni.34a5dc794de60cc2-cgu.0.rcgu.o: undefined symbol: CloseTrace [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: GetProcessHeap [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: HeapFree [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: SysFreeString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: LoadLibraryExA [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: FormatMessageW [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: SysStringLen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libwindows_result-ed04b81953da5b36.rlib(windows_result-ed04b81953da5b36.windows_result.238f700f18c51aac-cgu.0.rcgu.o): undefined symbol: GetErrorInfo [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scanni` (bin "scanni") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "592f4386eb6660b6ea315bb779b92b9d0ae05ff99769e4bbee890a352aab393a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592f4386eb6660b6ea315bb779b92b9d0ae05ff99769e4bbee890a352aab393a", kill_on_drop: false }` [INFO] [stdout] 592f4386eb6660b6ea315bb779b92b9d0ae05ff99769e4bbee890a352aab393a