Skip to content

Fix test compiling Fuchsia with rust-under-test - #162573

Draft
erickt wants to merge 1 commit into
rust-lang:mainfrom
erickt:fix-fuchsia-tests
Draft

Fix test compiling Fuchsia with rust-under-test#162573
erickt wants to merge 1 commit into
rust-lang:mainfrom
erickt:fix-fuchsia-tests

Conversation

@erickt

@erickt erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

View all comments

The rust tests for Fuchsia were disabled some time ago in #138690 when fuchsia.googlesource.com was temporarily rate limiting git checkout requests during a high period of requests. This makes a number of attempts to avoid this issue:

  • It checks out Fuchsia with git filter tree:0 to reduce download size.
  • It blocks downloading Fuchsia's Rust toolchain.
  • It adds a number of retries to requests.
  • It reduces the parallel git checkout threads.

Since it has been a while since we updated the Fuchsia integration, it also updates:

  • Use the most recent commit be532c.
  • It updates to the clang commit 5e63f2.
  • It updates to the Fuchsia SDK version 33.20260909.5.1.
  • It updates the ubuntu container to 26.04.
  • It renames the test job to test-x86_64-fuchsia.
  • It adds an aarch64 job test-aarch64-fuchsia.
  • The Fuchsia build system now requires shared libraries to be stripped.

try-job: dist-various-2
try-job: test-aarch64-fuchsia
try-job: test-x86_64-fuchsia

@rustbot

rustbot commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Warning

If you are changing how CI LLVM is built or linked, make sure to bump
src/bootstrap/download-ci-llvm-stamp.

cc @jieyouxu

@rustbot rustbot added A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Sep 10, 2026
@rustbot

rustbot commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

r? @marcoieni

rustbot has assigned @marcoieni.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: infra-ci
  • infra-ci expanded to Kobzol, Mark-Simulacrum, jieyouxu, marcoieni, ubiratansoares
  • Random selection from Mark-Simulacrum, jieyouxu, marcoieni, ubiratansoares

@rustbot

This comment has been minimized.

@erickt
erickt force-pushed the fix-fuchsia-tests branch 2 times, most recently from a713911 to fc8ed40 Compare September 10, 2026 04:05
@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

It looks like the job-linux-8c config was removed in #161562. For now I switched to using job-linux-4c to at least verify the tests are still working, but should I instead switch over to job-linux-x86-8c-ec2? Also, I saw in #162063 that the aarch64 bots might be about half as much as the x64 bots, should we switch to targeting them instead? We test that configuration in our Fuchsia tests, so it should work out of the box.

@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 10, 2026
Fix test compiling Fuchsia with rust-under-test

try-job: dist-various-2
try-job: x86_64-fuchsia
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 10, 2026
@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for a03d4d5 failed: CI. Failed job:

@rustbot

rustbot commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

The rustc-dev-guide subtree was changed. If your future PRs only touch the subtree, consider submitting them directly to rust-lang/rustc-dev-guide, which is where the document is primarily maintained (and has faster CI).

cc @BoxyUwU, @tshepang

@rustbot rustbot added the A-rustc-dev-guide Area: rustc-dev-guide label Sep 10, 2026
@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@bors try

rust-bors Bot pushed a commit that referenced this pull request Sep 10, 2026
Fix test compiling Fuchsia with rust-under-test

try-job: dist-various-2
try-job: test-x86_64-fuchsia
@rust-bors

This comment has been minimized.

@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for c09146d failed: CI. Failed jobs:

@jieyouxu jieyouxu assigned jieyouxu and unassigned marcoieni Sep 10, 2026
@erickt
erickt marked this pull request as draft September 10, 2026 04:36
@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Looks like I need to incorporate some changes from CI, so I switched this to a draft mode until I get the tests passing.

@bors try

@rust-bors

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 4f9cc52 failed: CI. Failed job:

@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

Kicking off another try run now that rust-lang/simpleinfra#1234 landed.

@bors try test-x86_64-fuchsia

@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Unknown argument "test-x86_64-fuchsia". Did you mean to use @bors jobs=<jobs>|parent=<parent>? Run @bors help or go to https://bors.rust-lang.org/help to see available commands.

@erickt

erickt commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@bors try jobs=test-x86_64-fuchsia

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 10, 2026
Fix test compiling Fuchsia with rust-under-test


try-job: test-x86_64-fuchsia
@rust-bors

rust-bors Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

💔 Test for fb68cd4 failed: CI. Failed job:

@rust-log-analyzer

This comment has been minimized.

@Mark-Simulacrum

Copy link
Copy Markdown
Member

It looks like the job-linux-8c config was removed in #161562. For now I switched to using job-linux-4c to at least verify the tests are still working, but should I instead switch over to job-linux-x86-8c-ec2? Also, I saw in #162063 that the aarch64 bots might be about half as much as the x64 bots, should we switch to targeting them instead? We test that configuration in our Fuchsia tests, so it should work out of the box.

aarch64 is cheaper for us on a per-core basis (pricing is here, though it's just public prices:

# AMD Zen 5 (x86_64)
), so if we need a large runner and aarch64 works then I think it's the better option. EC2 should have plenty of disk space (~280GB today).

We shouldn't use too large an instance for auto, but try to aim for an instance that gets you <= 2 hour runtime so it doesn't become the slowest runner.

@erickt

erickt commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

I think I shook out all the kinks and it should hopefully pass. If so, I'll rewrite the patch to target aarch64 since it is more cost effective.

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Fix test compiling Fuchsia with rust-under-test

try-job: dist-various-2
try-job: test-x86_64-fuchsia
@rust-bors

rust-bors Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: c1f95bc (c1f95bc1a933ee6c0280170cb89072ba846db2d0)
Base parent: ada41e1 (ada41e1ce81819f01577c0ee40ccbd6fc41384e8)

@erickt
erickt force-pushed the fix-fuchsia-tests branch 2 times, most recently from 9c73fe0 to 79359a4 Compare September 11, 2026 20:51
@erickt

erickt commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@bors try jobs=test-aarch64-fuchsia,test-x86_64-fuchsia

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Fix test compiling Fuchsia with rust-under-test


try-job: test-aarch64-fuchsia
try-job: test-x86_64-fuchsia
@rust-log-analyzer

This comment has been minimized.

The rust tests were disabled some time ago when fuchsia.googlesource.com
was temporarily rate limiting git checkout requests during a high period
of requests. This makes a number of attempts to avoid this issue:

* It checks out Fuchsia with git filter `tree:0` to reduce download
  size.
* It blocks downloading Fuchsia's Rust toolchain.
* It adds a number of retries to requests.
* It reduces the parallel git checkout threads.

Since it has been a while since we updated the Fuchsia integration, it
also updates:

* Use the most recent commit [be532c].
* It updates to the clang commit [5e63f2].
* It updates to the Fuchsia SDK version 33.20260909.5.1.
* It updates the ubuntu container to 26.04.
* It renames the test job to `test-x86_64-fuchsia`.
* It adds an aarch64 job `test-aarch64-fuchsia`.
* The Fuchsia build system now requires shared libraries to be stripped.

try-job: dist-various-2
try-job: test-aarch64-fuchsia
try-job: test-x86_64-fuchsia

[be532c]: https://fuchsia.googlesource.com/integration/+/be532c365aa6ba56b08ed684c0f8bb71960c18fd
[5e63f2]: llvm/llvm-project@5e63f2c
@erickt

erickt commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@bors try cancel

@rust-bors

rust-bors Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Try build cancelled. Cancelled workflows:

Hint: if you want to run another try build, you do not need to manually cancel the previous one. Just run @bors try and bors will cancel the previous build automatically.

@erickt

erickt commented Sep 11, 2026

Copy link
Copy Markdown
Contributor Author

@bors try

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Sep 11, 2026
Fix test compiling Fuchsia with rust-under-test

try-job: dist-various-2
try-job: test-aarch64-fuchsia
try-job: test-x86_64-fuchsia
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-fuchsia failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Configure a credential helper to remove this warning. See
https://docs.docker.com/go/credential-store/

Login Succeeded
Error response from daemon: failed to resolve reference "ghcr.io/rust-lang/rust-ci:ae01945a91faf6abd19151369d444cb92e952d0554a4953a9d5dfcc65e3e677eef37e72f19fb5f9f9bf8ac7b4659d08678afc69933b2cc786f1ccf0bca26f3a0": ghcr.io/rust-lang/rust-ci:ae01945a91faf6abd19151369d444cb92e952d0554a4953a9d5dfcc65e3e677eef37e72f19fb5f9f9bf8ac7b4659d08678afc69933b2cc786f1ccf0bca26f3a0: not found
busy_edison
Attempting with retry: docker buildx build --rm -t rust-ci -f /home/ubuntu/actions-runner/_work/rust/rust/src/ci/docker/host-aarch64/test-aarch64-fuchsia/Dockerfile /home/ubuntu/actions-runner/_work/rust/rust/src/ci/docker --cache-from type=registry,ref=ghcr.io/rust-lang/rust-ci-cache:ae01945a91faf6abd19151369d444cb92e952d0554a4953a9d5dfcc65e3e677eef37e72f19fb5f9f9bf8ac7b4659d08678afc69933b2cc786f1ccf0bca26f3a0 --cache-to type=registry,ref=ghcr.io/rust-lang/rust-ci-cache:ae01945a91faf6abd19151369d444cb92e952d0554a4953a9d5dfcc65e3e677eef37e72f19fb5f9f9bf8ac7b4659d08678afc69933b2cc786f1ccf0bca26f3a0,compression=zstd --output=type=docker
#0 building with "busy_edison" instance using docker-container driver

#1 [internal] booting buildkit
---
#9 3.608   libc-gconv-modules-extra libc6 libc6-amd64-cross libc6-dev
#9 3.608   libc6-dev-amd64-cross libcc1-0 libclang-common-21-dev libclang-cpp21
#9 3.608   libclang1-21 libcrypt-dev libctf-nobfd0 libctf0 libcurl3t64-gnutls
#9 3.608   libcurl4t64 libdpkg-perl libedit2 liberror-perl libexpat1 libffi8 libgc1
#9 3.608   libgcc-15-dev libgcc-15-dev-amd64-cross libgcc-s1-amd64-cross
#9 3.608   libgdbm-compat4t64 libgdbm6t64 libgnutls30t64 libgomp1 libgomp1-amd64-cross
#9 3.608   libgprofng0 libgssapi-krb5-2 libhogweed6t64 libhwasan0
#9 3.608   libhwasan0-amd64-cross libidn2-0 libisl23 libitm1 libitm1-amd64-cross
#9 3.608   libjansson4 libjsoncpp26 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
#9 3.608   libldap-common libldap2 libllvm21 liblsan0 liblsan0-amd64-cross libmagic-mgc
#9 3.608   libmagic1t64 libmpc3 libmpfr6 libnettle8t64 libnghttp2-14 libobjc-15-dev
#9 3.608   libobjc4 libp11-kit0 libperl5.40 libpkgconf7 libpsl5t64 libpython3-stdlib
#9 3.608   libpython3.14-minimal libpython3.14-stdlib libquadmath0-amd64-cross
#9 3.608   libreadline8t64 librhash1 librtmp1 libsasl2-2 libsasl2-modules-db libsframe3
#9 3.608   libsqlite3-0 libssh2-1t64 libstdc++-15-dev libstdc++-15-dev-amd64-cross
#9 3.608   libstdc++6-amd64-cross libtasn1-6 libtsan2 libtsan2-amd64-cross libubsan1
#9 3.608   libubsan1-amd64-cross libunistring5 libuv1t64 libxml2-16 linux-libc-dev
#9 3.608   linux-libc-dev-amd64-cross llvm-21-linker-tools lto-disabled-list
#9 3.608   media-types netbase openssl patch perl perl-base perl-modules-5.40 pkgconf
#9 3.608   pkgconf-bin python3-minimal python3.14 python3.14-minimal readline-common
#9 3.608   rpcsvc-proto sudo-common tzdata
#9 3.609 Suggested packages:
#9 3.609   binutils-doc gprofng-gui binutils-gold bzip2-doc clang-21-doc wasi-libc
#9 3.609   cmake-doc cmake-format elpa-cmake-mode cpp-doc gcc-15-locales cpp-15-doc
#9 3.609   debian-keyring debian-tag2upload-keyring gcc-15-doc gcc-multilib
#9 3.609   manpages-dev autoconf automake libtool flex bison gdb gcc-doc
#9 3.609   gdb-aarch64-linux-gnu gdb-x86-64-linux-gnu gettext-base git-doc git-email
#9 3.609   git-gui gitk gitweb git-cvs git-svn lrzip libc-devtools glibc-doc sq | sqop
#9 3.609   | rsop | gosop | pgpainless-cli | gpg-sq | gnupg bzr gdbm-l10n gnutls-bin
#9 3.609   krb5-doc krb5-user libssl-doc libstdc++-15-doc make-doc ed diffutils-doc
#9 3.609   perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl
#9 3.609   libtap-harness-archive-perl python3-doc python3-tk python3-venv
#9 3.609   python3.14-venv python3.14-doc binfmt-support readline-doc zip
#9 3.609 Recommended packages:
#9 3.609   llvm-21-dev clang-tools-21 bash-completion fakeroot gnupg | sq | sqop | rsop
#9 3.609   | gosop | pgpainless-cli | gpg-sq libalgorithm-merge-perl less ssh-client
#9 3.609   manpages manpages-dev libclang-rt-21-dev libfile-fcntllock-perl
#9 3.609   liblocale-gettext-perl krb5-locales publicsuffix libsasl2-modules sudo-rs
#9 3.732 The following NEW packages will be installed:
#9 3.732   binutils binutils-aarch64-linux-gnu binutils-common
#9 3.732   binutils-x86-64-linux-gnu build-essential bzip2 ca-certificates clang
#9 3.732   clang-21 cmake cmake-data cpp cpp-15 cpp-15-aarch64-linux-gnu
#9 3.732   cpp-15-x86-64-linux-gnu cpp-aarch64-linux-gnu cpp-x86-64-linux-gnu curl
#9 3.732   dpkg-dev file g++ g++-15 g++-15-aarch64-linux-gnu g++-15-x86-64-linux-gnu
#9 3.732   g++-aarch64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15
#9 3.732   gcc-15-aarch64-linux-gnu gcc-15-base gcc-15-cross-base
#9 3.732   gcc-15-x86-64-linux-gnu gcc-15-x86-64-linux-gnu-base gcc-16-cross-base
#9 3.732   gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu git git-man libapparmor1
#9 3.732   libarchive13t64 libasan8 libasan8-amd64-cross libatomic1
#9 3.732   libatomic1-amd64-cross libbinutils libbrotli1 libc-dev-bin libc6-amd64-cross
#9 3.732   libc6-dev libc6-dev-amd64-cross libcc1-0 libclang-common-21-dev
#9 3.732   libclang-cpp21 libclang1-21 libcrypt-dev libctf-nobfd0 libctf0
#9 3.732   libcurl3t64-gnutls libcurl4t64 libdpkg-perl libedit2 liberror-perl libexpat1
#9 3.732   libffi8 libgc1 libgcc-15-dev libgcc-15-dev-amd64-cross libgcc-s1-amd64-cross
#9 3.732   libgdbm-compat4t64 libgdbm6t64 libgnutls30t64 libgomp1 libgomp1-amd64-cross
#9 3.732   libgprofng0 libgssapi-krb5-2 libhogweed6t64 libhwasan0
#9 3.732   libhwasan0-amd64-cross libidn2-0 libisl23 libitm1 libitm1-amd64-cross
#9 3.732   libjansson4 libjsoncpp26 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
#9 3.732   libldap-common libldap2 libllvm21 liblsan0 liblsan0-amd64-cross libmagic-mgc
#9 3.732   libmagic1t64 libmpc3 libmpfr6 libnettle8t64 libnghttp2-14 libobjc-15-dev
#9 3.732   libobjc4 libp11-kit0 libperl5.40 libpkgconf7 libpsl5t64 libpython3-stdlib
#9 3.732   libpython3.14-minimal libpython3.14-stdlib libquadmath0-amd64-cross
#9 3.732   libreadline8t64 librhash1 librtmp1 libsasl2-2 libsasl2-modules-db libsframe3
#9 3.732   libsqlite3-0 libssh2-1t64 libssl-dev libstdc++-15-dev
#9 3.732   libstdc++-15-dev-amd64-cross libstdc++6-amd64-cross libtasn1-6 libtsan2
#9 3.732   libtsan2-amd64-cross libubsan1 libubsan1-amd64-cross libunistring5 libuv1t64
#9 3.732   libxml2-16 linux-libc-dev linux-libc-dev-amd64-cross llvm-21-linker-tools
#9 3.732   lto-disabled-list make media-types netbase ninja-build openssl patch perl
#9 3.732   perl-modules-5.40 pkg-config pkgconf pkgconf-bin python3 python3-minimal
#9 3.733   python3.14 python3.14-minimal readline-common rpcsvc-proto sudo sudo-common
#9 3.733   tzdata unzip xz-utils
#9 3.733 The following packages will be upgraded:
---
#9 25.89 Selecting previously unselected package gcc-15-cross-base.
#9 25.90 Preparing to unpack .../105-gcc-15-cross-base_15.2.0-16ubuntu1cross1_all.deb ...
#9 25.90 Unpacking gcc-15-cross-base (15.2.0-16ubuntu1cross1) ...
#9 25.93 Selecting previously unselected package gcc-16-cross-base.
#9 25.93 Preparing to unpack .../106-gcc-16-cross-base_16-20260322-1ubuntu1cross1_all.deb ...
#9 25.94 Unpacking gcc-16-cross-base (16-20260322-1ubuntu1cross1) ...
#9 25.98 Selecting previously unselected package libgcc-s1-amd64-cross.
#9 25.98 Preparing to unpack .../107-libgcc-s1-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 25.99 Unpacking libgcc-s1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.03 Selecting previously unselected package libgomp1-amd64-cross.
#9 26.03 Preparing to unpack .../108-libgomp1-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.04 Unpacking libgomp1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.08 Selecting previously unselected package libitm1-amd64-cross.
#9 26.08 Preparing to unpack .../109-libitm1-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.09 Unpacking libitm1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.13 Selecting previously unselected package libatomic1-amd64-cross.
#9 26.13 Preparing to unpack .../110-libatomic1-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.14 Unpacking libatomic1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.18 Selecting previously unselected package libasan8-amd64-cross.
#9 26.18 Preparing to unpack .../111-libasan8-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.18 Unpacking libasan8-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.23 Selecting previously unselected package liblsan0-amd64-cross.
#9 26.23 Preparing to unpack .../112-liblsan0-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.24 Unpacking liblsan0-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.28 Selecting previously unselected package libtsan2-amd64-cross.
#9 26.28 Preparing to unpack .../113-libtsan2-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.29 Unpacking libtsan2-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.33 Selecting previously unselected package libc6-amd64-cross.
#9 26.33 Preparing to unpack .../114-libc6-amd64-cross_2.43-2ubuntu2cross1_all.deb ...
#9 26.33 Unpacking libc6-amd64-cross (2.43-2ubuntu2cross1) ...
#9 26.40 Selecting previously unselected package libstdc++6-amd64-cross.
#9 26.40 Preparing to unpack .../115-libstdc++6-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.41 Unpacking libstdc++6-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.45 Selecting previously unselected package libubsan1-amd64-cross.
#9 26.45 Preparing to unpack .../116-libubsan1-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.46 Unpacking libubsan1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.50 Selecting previously unselected package libhwasan0-amd64-cross.
#9 26.50 Preparing to unpack .../117-libhwasan0-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.50 Unpacking libhwasan0-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.55 Selecting previously unselected package libquadmath0-amd64-cross.
#9 26.55 Preparing to unpack .../118-libquadmath0-amd64-cross_16-20260322-1ubuntu1cross1_all.deb ...
#9 26.56 Unpacking libquadmath0-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 26.59 Selecting previously unselected package libgcc-15-dev-amd64-cross.
#9 26.60 Preparing to unpack .../119-libgcc-15-dev-amd64-cross_15.2.0-16ubuntu1cross1_all.deb ...
#9 26.60 Unpacking libgcc-15-dev-amd64-cross (15.2.0-16ubuntu1cross1) ...
#9 26.71 Selecting previously unselected package gcc-15-x86-64-linux-gnu.
#9 26.71 Preparing to unpack .../120-gcc-15-x86-64-linux-gnu_15.2.0-16ubuntu1cross1_arm64.deb ...
#9 26.71 Unpacking gcc-15-x86-64-linux-gnu (15.2.0-16ubuntu1cross1) ...
#9 26.98 Selecting previously unselected package linux-libc-dev-amd64-cross.
#9 26.98 Preparing to unpack .../121-linux-libc-dev-amd64-cross_7.0.0-13.13cross1_all.deb ...
---
#9 29.81 Setting up libldap2:arm64 (2.6.10+dfsg-1ubuntu5) ...
#9 29.83 Setting up liblsan0:arm64 (16-20260322-1ubuntu1) ...
#9 29.86 Setting up libitm1:arm64 (16-20260322-1ubuntu1) ...
#9 29.89 Setting up binutils-x86-64-linux-gnu (2.46-3ubuntu2) ...
#9 29.90 Setting up libstdc++6-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 29.92 Setting up libctf0:arm64 (2.46-3ubuntu2) ...
#9 29.93 Setting up cpp-15-aarch64-linux-gnu (15.2.0-16ubuntu1) ...
#9 29.96 Setting up libgcc-15-dev:arm64 (15.2.0-16ubuntu1) ...
#9 29.97 Setting up libasan8-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 29.99 Setting up liblsan0-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 30.00 Setting up libc6-dev-amd64-cross (2.43-2ubuntu2cross1) ...
#9 30.02 Setting up binutils-aarch64-linux-gnu (2.46-3ubuntu2) ...
#9 30.04 Setting up libobjc4:arm64 (16-20260322-1ubuntu1) ...
#9 30.06 Setting up libtsan2-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 30.08 Setting up libidn2-0:arm64 (2.3.8-4build1) ...
#9 30.09 Setting up cpp-15-x86-64-linux-gnu (15.2.0-16ubuntu1cross1) ...
#9 30.11 Setting up libgomp1-amd64-cross (16-20260322-1ubuntu1cross1) ...
#9 30.13 Setting up pkgconf:arm64 (2.5.1-4) ...
#9 30.15 Setting up libperl5.40:arm64 (5.40.1-7ubuntu0.3) ...
#9 30.17 Setting up ca-certificates (20260601~26.04.1) ...
#9 30.36 Updating certificates in /etc/ssl/certs...
#9 30.85 121 added, 0 removed; done.
---
+ python3 ../x.py install --target=aarch64-unknown-linux-gnu,x86_64-unknown-linux-gnu,aarch64-unknown-fuchsia,riscv64gc-unknown-fuchsia,x86_64-unknown-fuchsia compiler/rustc library/std clippy rustfmt src
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.02s
##[endgroup]
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/1750189726952885347detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/15008901147535664556detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/11655351651307205303detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/5557974623102448587detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/5205332468462227422detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/checkout/obj/build/tmp/cc-rs-out-dir/17409315124484918185detect_compiler_family.c"` failed to start: Exec format error (os error 8)
[TIMING:start] tool::LibcxxVersionTool { target: aarch64-unknown-linux-gnu }
[TIMING:end] tool::LibcxxVersionTool { target: aarch64-unknown-linux-gnu } -- 0.131
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false } }
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-linux-gnu }
[TIMING:start] compile::Sysroot { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false }
---
[TIMING:start] builder::Libdir { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-fuchsia }
[TIMING:end] builder::Libdir { compiler: Compiler { stage: 1, host: aarch64-unknown-linux-gnu, forced_compiler: false }, target: aarch64-unknown-fuchsia } -- 0.000
[TIMING:start] llvm::Libunwind { target: aarch64-unknown-fuchsia }
##[group]Building libunwind.a for aarch64-unknown-fuchsia
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang" "-E" "/checkout/obj/build/aarch64-unknown-fuchsia/native/libunwind/7660017696925623020detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/checkout/obj/build/aarch64-unknown-fuchsia/native/libunwind/17873631367813883425detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/tmp/10216609213097660740detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/checkout/obj/build/aarch64-unknown-fuchsia/native/libunwind/10889329457860096169detect_compiler_family.c"` failed to start: Exec format error (os error 8)
cargo:warning=Compiler family detection failed due to error: ToolExecError: command `"/usr/local/bin/clang++" "-E" "/tmp/2252292375531226484detect_compiler_family.c"` failed to start: Exec format error (os error 8)


error occurred in cc-rs: command `LC_ALL="C" "/usr/local/bin/clang++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=aarch64-unknown-fuchsia" "-I" "/checkout/src/llvm-project/libunwind/include" "-w" "-nostdinc++" "-fno-exceptions" "-fno-rtti" "-fstrict-aliasing" "-funwind-tables" "-fvisibility=hidden" "-D_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS" "-D_LIBUNWIND_IS_NATIVE_ONLY=1" "--target=aarch64-unknown-fuchsia" "--sysroot=/usr/local/core-linux-amd64-fuchsia-sdk/arch/arm64/sysroot" "-I/usr/local/core-linux-amd64-fuchsia-sdk/pkg/fdio/include" "-o" "/checkout/obj/build/aarch64-unknown-fuchsia/native/libunwind/86638c09e3108cba-Unwind-EHABI.o" "-c" "/checkout/src/llvm-project/libunwind/src/Unwind-EHABI.cpp"` failed to start: Exec format error (os error 8)


Build completed unsuccessfully in 0:33:36
  local time: Fri Sep 11 21:53:07 UTC 2026
  network time: Fri, 11 Sep 2026 21:53:07 GMT

Important

For more information how to resolve CI failures of this job, visit this link.

@rust-bors

rust-bors Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 68acc6d failed: CI. Failed job:

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

Labels

A-CI Area: Our Github Actions CI A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants