[INFO] cloning repository https://github.com/zxrs/pinion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxrs/pinion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e08054025498a93afebb21a6ceb6e27348e052e1 [INFO] testing zxrs/pinion against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxrs%2Fpinion" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/zxrs/pinion [INFO] finished tweaking git repo https://github.com/zxrs/pinion [INFO] tweaked toml for git repo https://github.com/zxrs/pinion written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxrs/pinion on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zxrs/pinion 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de9b66d9cb12d47e0b430b64b75619ffa2eea86e774df39f96c2460fbd99405b [INFO] running `Command { std: "docker" "start" "-a" "de9b66d9cb12d47e0b430b64b75619ffa2eea86e774df39f96c2460fbd99405b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de9b66d9cb12d47e0b430b64b75619ffa2eea86e774df39f96c2460fbd99405b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9b66d9cb12d47e0b430b64b75619ffa2eea86e774df39f96c2460fbd99405b", kill_on_drop: false }` [INFO] [stdout] de9b66d9cb12d47e0b430b64b75619ffa2eea86e774df39f96c2460fbd99405b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ed4ce2f45e0a9ee9d6495c2c2faeb43f43f5ce2a4b37204bf75311979349c6 [INFO] running `Command { std: "docker" "start" "-a" "f9ed4ce2f45e0a9ee9d6495c2c2faeb43f43f5ce2a4b37204bf75311979349c6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling pinion v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling windows-targets v0.48.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling windows v0.48.0 [INFO] [stderr] Compiling flate2 v1.0.25 [INFO] [stderr] Compiling png v0.17.7 [INFO] [stderr] Compiling image v0.24.6 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | BUF.reserve(640 * 480 * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:239:30 [INFO] [stdout] | [INFO] [stdout] 239 | let mut p = unsafe { BUF.as_mut_ptr() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/main.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | ptr::copy_nonoverlapping(rgb.as_ptr(), BUF.as_mut_ptr(), data_len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | BUF.as_ptr() as *const c_void, [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcFS4khk/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-llz4" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwindows-07724e15dd7e3a7f,libwindows_targets-055483d48ad133f6,libimage-f50251c5eb7fcbdd,libbytemuck-77dc9126503aa31b,libpng-c95de058fbef1dbe,libflate2-21b35178b0d0ad4c,libminiz_oxide-f0455033f35b4066,libadler-116f19e9e3b3b567,libcrc32fast-76436db4c0fe5251,libcfg_if-4aefb204449ddc72,libbitflags-06a15146e443d7db,libjpeg_decoder-86364e6a2d90db64,libnum_rational-cac97c627dd9e391,libnum_integer-8a826a063a19d79d,libgif-581b44e93261f355,libcolor_quant-0b03668c84539805,libweezl-822529b56886c1ca,libbyteorder-28cc1b93d1e28391,libnum_traits-d30462568bc238c3,libanyhow-7dcb7558e5827487}.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/rustcFS4khk/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "C:\\Users\\g10941\\Documents\\visual_studio_project\\rdopng\\x64\\Release" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-debug" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: GetErrorInfo [INFO] [stdout] >>> referenced by windows.43c2b77c4386f739-cgu.06 [INFO] [stdout] >>> windows-07724e15dd7e3a7f.windows.43c2b77c4386f739-cgu.06.rcgu.o:(windows::core::error::GetErrorInfo::hfc56ce0c59d4caa8) in archive /opt/rustwide/target/debug/deps/libwindows-07724e15dd7e3a7f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetLastError [INFO] [stdout] >>> referenced by windows.43c2b77c4386f739-cgu.06 [INFO] [stdout] >>> windows-07724e15dd7e3a7f.windows.43c2b77c4386f739-cgu.06.rcgu.o:(windows::core::error::Error::from_win32::hadf29082b346ed0f) in archive /opt/rustwide/target/debug/deps/libwindows-07724e15dd7e3a7f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysFreeString [INFO] [stdout] >>> referenced by windows.43c2b77c4386f739-cgu.04 [INFO] [stdout] >>> windows-07724e15dd7e3a7f.windows.43c2b77c4386f739-cgu.04.rcgu.o:(_$LT$windows..core..strings..bstr..BSTR$u20$as$u20$core..ops..drop..Drop$GT$::drop::h8c21c2d63861a5e2) in archive /opt/rustwide/target/debug/deps/libwindows-07724e15dd7e3a7f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetOpenFileNameW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.1.rcgu.o:(windows::Windows::Win32::UI::Controls::Dialogs::GetOpenFileNameW::h00df1762e372a1f3) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SysStringLen [INFO] [stdout] >>> referenced by windows.43c2b77c4386f739-cgu.04 [INFO] [stdout] >>> windows-07724e15dd7e3a7f.windows.43c2b77c4386f739-cgu.04.rcgu.o:(windows::core::strings::bstr::BSTR::len::hd5ee5793df8107d1) in archive /opt/rustwide/target/debug/deps/libwindows-07724e15dd7e3a7f.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: ShowWindow [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::ShowWindow::hf7b10ff02c115705) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetMessageW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::GetMessageW::heebef09f052f7205) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadCursorW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::LoadCursorW::h907bf6bd1629c49e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: MessageBoxW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::MessageBoxW::h48bc9b4efa84283f) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SendMessageW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::SendMessageW::he8ce990822c80617) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DefWindowProcW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DefWindowProcW::h67a04ca3fe5b3a0a) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: RegisterClassW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::RegisterClassW::haf7424350256e0ee) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetWindowTextW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::SetWindowTextW::hb7720bfbf77977d0) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateWindowExW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::CreateWindowExW::h25561e351fdacf95) [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::CreateWindowExW::h4248ab307ed27976) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: PostQuitMessage [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::PostQuitMessage::h70ccc46b3edf7645) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DispatchMessageW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DispatchMessageW::h7f3b4a8a2103b2ee) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: TranslateMessage [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::TranslateMessage::ha68ff1df367e49ea) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BeginPaint [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::BeginPaint::h61b25f7ae49086e0) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateFontW [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::CreateFontW::h88a938d1b6d8c166) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DeleteObject [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::DeleteObject::h63f46dc07207502c) [INFO] [stdout] >>> referenced by pinion.7a74860aa25b2a94-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.7a74860aa25b2a94-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::DeleteObject::hd09cedd28169bc6f) [INFO] [stdout] [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinion` (bin "pinion") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9ed4ce2f45e0a9ee9d6495c2c2faeb43f43f5ce2a4b37204bf75311979349c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ed4ce2f45e0a9ee9d6495c2c2faeb43f43f5ce2a4b37204bf75311979349c6", kill_on_drop: false }` [INFO] [stdout] f9ed4ce2f45e0a9ee9d6495c2c2faeb43f43f5ce2a4b37204bf75311979349c6