[INFO] cloning repository https://github.com/rinsuki-lab/rust-winxp-nostd-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rinsuki-lab/rust-winxp-nostd-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki-lab%2Frust-winxp-nostd-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki-lab%2Frust-winxp-nostd-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7488b7ac4c34e61d8945f96b568451e485ad38ff [INFO] testing rinsuki-lab/rust-winxp-nostd-example/7488b7ac4c34e61d8945f96b568451e485ad38ff against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frinsuki-lab%2Frust-winxp-nostd-example" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/rinsuki-lab/rust-winxp-nostd-example [INFO] finished tweaking git repo https://github.com/rinsuki-lab/rust-winxp-nostd-example [INFO] tweaked toml for git repo https://github.com/rinsuki-lab/rust-winxp-nostd-example written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rinsuki-lab/rust-winxp-nostd-example on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rinsuki-lab/rust-winxp-nostd-example 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63aef55ccfc8ef94735de1830e7e92a3f10f760b7a560acded2eab098229f548 [INFO] running `Command { std: "docker" "start" "-a" "63aef55ccfc8ef94735de1830e7e92a3f10f760b7a560acded2eab098229f548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63aef55ccfc8ef94735de1830e7e92a3f10f760b7a560acded2eab098229f548", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63aef55ccfc8ef94735de1830e7e92a3f10f760b7a560acded2eab098229f548", kill_on_drop: false }` [INFO] [stdout] 63aef55ccfc8ef94735de1830e7e92a3f10f760b7a560acded2eab098229f548 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 433abb87b3c8c8b63a88e2ad19da620e829d06011f4e869270b6e1361d6da6b9 [INFO] running `Command { std: "docker" "start" "-a" "433abb87b3c8c8b63a88e2ad19da620e829d06011f4e869270b6e1361d6da6b9", kill_on_drop: false }` [INFO] [stderr] Compiling windows-link v0.2.0 [INFO] [stderr] Compiling windows-sys v0.61.0 [INFO] [stderr] Compiling rust-winxp-nostd-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe fn panic(info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc7OfsXm/symbols.o" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libwindows_sys-9c4925a74ff6b59e.rlib,libwindows_link-5c53c0e24762204f.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc7OfsXm/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_winxp_nostd_example-f14977c0eef9de3c" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o: in function `__dls2': [INFO] [stdout] /build/musl-cross-make/build/local/x86_64-linux-musl/obj_musl/../src_musl/crt/rcrt1.c:13:(.text.__dls2+0x20): undefined reference to `__libc_start_main' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_winxp_nostd_example-f14977c0eef9de3c.rust_winxp_nostd_example.56040854aeb3cb1c-cgu.0.rcgu.o: in function `main': [INFO] [stdout] /opt/rustwide/workdir/src/main.rs:9:(.text.main+0x4d): undefined reference to `MessageBoxW' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-winxp-nostd-example` (bin "rust-winxp-nostd-example") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "433abb87b3c8c8b63a88e2ad19da620e829d06011f4e869270b6e1361d6da6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433abb87b3c8c8b63a88e2ad19da620e829d06011f4e869270b6e1361d6da6b9", kill_on_drop: false }` [INFO] [stdout] 433abb87b3c8c8b63a88e2ad19da620e829d06011f4e869270b6e1361d6da6b9