Skip to content

Build Standard Binary job is currently failing #2018

Closed

Description

@nicholasbishop

See for example: https://github.com/rust-osdev/uefi-rs/actions/runs/31140093384/job/92747972468

  = note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" VSLANG="1033" "rust-lld" "-flavor" "link" "/NOLOGO" "/entry:efi_main" "/subsystem:efi_application" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi-std-example/40107d02664f86e4/out/rustcKA9IR0/symbols.o" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi-std-example/40107d02664f86e4/out/uefi_std_example.uefi_std_example.df7081ce4ece0ac3-cgu.0.rcgu.o" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi-std-example/40107d02664f86e4/out/uefi_std_example.1fcaoy9muq2ssib576sbk3gxw.rcgu.o" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libpanic_abort-d2c047204085d433.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi/0013702f9629ad71/out/libuefi-0013702f9629ad71.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/ucs2/deb2b8cc87f4532e/out/libucs2-deb2b8cc87f4532e.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/bit_field/faf6141d8c4cba27/out/libbit_field-faf6141d8c4cba27.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/ptr_meta/e7a1a9cab4b95b05/out/libptr_meta-e7a1a9cab4b95b05.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/log/eadd64798d24d54d/out/liblog-eadd64798d24d54d.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi-raw/155fd9c8e2a0eab3/out/libuefi_raw-155fd9c8e2a0eab3.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uguid/3e13ae2dd224185e/out/libuguid-3e13ae2dd224185e.rlib" "/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/bitflags/3c49fab88899c4ed/out/libbitflags-3c49fab88899c4ed.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libstd-95535557a15d2937.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libr_efi_alloc-ea7937aafa34580a.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libr_efi-84e884c8e76987e1.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libcfg_if-2d01b47c1733b20a.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/librustc_demangle-02d7f29bc56287b5.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libstd_detect-558854dc51b583ab.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libhashbrown-a67a6dcbce07a2b6.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/librustc_std_workspace_alloc-fe00a514f4be51e7.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libminiz_oxide-3a213d46c51900da.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libadler2-edeba7d9bb1a4db8.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libunwind-71221aa5bf7f4d2d.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/liblibc-46eb324ab6675707.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/librustc_std_workspace_core-64e1c370a4e47b94.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/liballoc-639543e097434982.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libcore-b8a633c70945a5fc.rlib" "/home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-uefi/lib/libcompiler_builtins-7d08ebedb70f9405.rlib" "/NXCOMPAT" "/OUT:/home/runner/work/uefi-rs/uefi-rs/target/x86_64-unknown-uefi/debug/build/uefi-std-example/40107d02664f86e4/out/uefi_std_example.efi" "/OPT:REF,NOICF" "/DEBUG" "/PDBALTPATH:%_PDB%" "/NODEFAULTLIB"
  = note: rust-lld: error: undefined symbol: wcslen
          >>> referenced by /rustc/84b36a78a28a63f134171c670be1932ffa2485f8/library/std/src/sys/process/uefi.rs:744
          >>>               libstd-95535557a15d2937.rlib(std-95535557a15d2937.std.d8d4561cc37dabe6-cgu.0.rcgu.o):(<std::sys::process::uefi::uefi_command_internal::PipeProtocol>::output_string)
          >>> referenced by /rustc/84b36a78a28a63f134171c670be1932ffa2485f8/library/std/src/process.rs:1139
          >>>               libstd-95535557a15d2937.rlib(std-95535557a15d2937.std.d8d4561cc37dabe6-cgu.0.rcgu.o):(<std::process::Command>::output)
          >>> referenced by /rustc/84b36a78a28a63f134171c670be1932ffa2485f8/library/std/src/env.rs:54
          >>>               libstd-95535557a15d2937.rlib(std-95535557a15d2937.std.d8d4561cc37dabe6-cgu.0.rcgu.o):(std::env::current_dir)
          >>> referenced 8 more times

Activity

  1. nicholasbishop commented on Aug 8, 2026

    @nicholasbishop
    MemberAuthor

    This is presumably a bug in the nightly compiler, not uefi-rs. For now, I'll just make that job not required for PRs to merge.

  2. nicholasbishop commented on Aug 9, 2026

    @nicholasbishop
    MemberAuthor

    I did a rustc bisect and it points at rust-lang/rust#158734 as the breaking change. Unfortunately that's the update to LLVM 23, so a pretty big change.

  3. nicholasbishop commented on Aug 10, 2026

    @nicholasbishop
    MemberAuthor
  4. phip1611 commented on Aug 10, 2026

    @phip1611
    Member

    thanks for the investigation, @nicholasbishop!

  5. crawfxrd commented on Sep 21, 2026

    @crawfxrd
    Contributor

    compiler-builtins update in rust-lang/rust#162816 contains the fix.

  6. phip1611 commented on Sep 22, 2026

    @phip1611
    Member

    I expect this failure to go away once this is in a nightly build 🤔

  7. crawfxrd commented on Sep 22, 2026

    @crawfxrd
    Contributor

    I think it has. I noticed when #2064 was merged that the CI no longer reported failures.
    And I see linked that rust-osdev/bootloader#579 also closed their issue for it.

  8. phip1611 commented on Sep 22, 2026

    @phip1611
    Member

    thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions