[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 master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zxrs/pinion on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.17.7 [INFO] [stderr] Downloaded image v0.24.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffd7d25ba0f34b557d6395444070e9dd7076cdbb794cf4a7ba69be4b6d968c69 [INFO] running `Command { std: "docker" "start" "-a" "ffd7d25ba0f34b557d6395444070e9dd7076cdbb794cf4a7ba69be4b6d968c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd7d25ba0f34b557d6395444070e9dd7076cdbb794cf4a7ba69be4b6d968c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd7d25ba0f34b557d6395444070e9dd7076cdbb794cf4a7ba69be4b6d968c69", kill_on_drop: false }` [INFO] [stdout] ffd7d25ba0f34b557d6395444070e9dd7076cdbb794cf4a7ba69be4b6d968c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff03adec2bd1cfbc17e2c90ccc6f3c543ee3971d1de5a2ed904b3c7d41a97ee [INFO] running `Command { std: "docker" "start" "-a" "cff03adec2bd1cfbc17e2c90ccc6f3c543ee3971d1de5a2ed904b3c7d41a97ee", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling color_quant v1.1.0 [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 gif v0.12.0 [INFO] [stderr] Compiling windows-targets v0.48.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/rustcN09Tfq/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/rustcN09Tfq/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: ShowWindow [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::ShowWindow::ha79178f798f0dff1) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetOpenFileNameW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::UI::Controls::Dialogs::GetOpenFileNameW::hd3d6548aa012a60b) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BeginPaint [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::BeginPaint::h2f9644abc0313317) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateFontW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::CreateFontW::h64d7cf769d7695c8) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DeleteObject [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::DeleteObject::h112e8980f08aeaac) [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::DeleteObject::h280e38fc4c61cdb4) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SelectObject [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::SelectObject::h267259e4a045c103) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: UpdateWindow [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::UpdateWindow::h83a668f905fa9b56) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: InvalidateRect [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::InvalidateRect::h00d95fd842b9632e) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetSysColorBrush [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::GetSysColorBrush::h93323ea14aea5c20) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateCompatibleDC [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::CreateCompatibleDC::h60554a71caeda679) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: CreateCompatibleBitmap [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::CreateCompatibleBitmap::hebae7e336dad6ccd) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: BitBlt [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::BitBlt::hfd813cc2b14b6893) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DeleteDC [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::DeleteDC::hb187273187b49a3d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: EndPaint [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::EndPaint::h2577b75ca0d79a93) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SetDIBits [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.0 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.0.rcgu.o:(windows::Windows::Win32::Graphics::Gdi::SetDIBits::he06f60452a34b15d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: GetMessageW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::GetMessageW::h61ccf3931218499d) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: LoadCursorW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::LoadCursorW::ha419cfe287ace3dd) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: MessageBoxW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::MessageBoxW::h38a54e4999ce1339) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: SendMessageW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::SendMessageW::h14e50ff756a925c9) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: DefWindowProcW [INFO] [stdout] >>> referenced by pinion.c80d7d7ef2d00bf2-cgu.1 [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/pinion-a76ac6fcb36a9235.pinion.c80d7d7ef2d00bf2-cgu.1.rcgu.o:(windows::Windows::Win32::UI::WindowsAndMessaging::DefWindowProcW::hdc311672d5780431) [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" "cff03adec2bd1cfbc17e2c90ccc6f3c543ee3971d1de5a2ed904b3c7d41a97ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff03adec2bd1cfbc17e2c90ccc6f3c543ee3971d1de5a2ed904b3c7d41a97ee", kill_on_drop: false }` [INFO] [stdout] cff03adec2bd1cfbc17e2c90ccc6f3c543ee3971d1de5a2ed904b3c7d41a97ee