Skip to content

work around linux not honoring write_at for O_APPEND files - #143166

Open
the8472 wants to merge 3 commits into
rust-lang:mainfrom
the8472:fix-write-at-append
Open

work around linux not honoring write_at for O_APPEND files#143166
the8472 wants to merge 3 commits into
rust-lang:mainfrom
the8472:fix-write-at-append

Conversation

@the8472

@the8472 the8472 commented Jun 28, 2025

Copy link
Copy Markdown
Member

View all comments

the workaround only applies on kernels >= 6.9

fixes #140867

@rustbot

rustbot commented Jun 28, 2025

Copy link
Copy Markdown
Collaborator

r? @thomcc

rustbot has assigned @thomcc.
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

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Jun 28, 2025
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from b6ebbf6 to 8b87324 Compare June 29, 2025 14:48
@rust-log-analyzer

This comment has been minimized.

@the8472

the8472 commented Jun 29, 2025

Copy link
Copy Markdown
Member Author

Weird, the kernel should be new enough.

@the8472
the8472 force-pushed the fix-write-at-append branch from 8b87324 to bd44b22 Compare June 30, 2025 21:59
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from bd44b22 to 9e75dad Compare June 30, 2025 22:27
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jun 30, 2025
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from 9e75dad to 0d89239 Compare June 30, 2025 23:05
@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Jul 3, 2025

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #143294) made this pull request unmergeable. Please resolve the merge conflicts.

@the8472
the8472 force-pushed the fix-write-at-append branch from 0d89239 to 23ca6f2 Compare July 5, 2025 11:26
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from 23ca6f2 to 614bbb8 Compare July 5, 2025 11:35
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from 614bbb8 to f23f736 Compare July 5, 2025 12:02
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from f23f736 to e8c7701 Compare July 5, 2025 12:22
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch 2 times, most recently from 9b85793 to 705d195 Compare July 5, 2025 12:51
@rust-log-analyzer

This comment has been minimized.

@the8472

the8472 commented Jul 5, 2025

Copy link
Copy Markdown
Member Author

At this point I'm fairly sure this is a kernel bug in the runner. Tests pass locally, the pwritev2 also happens in CI and doesn't return an error, meaning the flag should be supported.

Filed actions/runner-images#12530

@the8472

the8472 commented Jul 17, 2025

Copy link
Copy Markdown
Member Author

Github engineer directed me to the the ubuntu bug tracker.
https://bugs.launchpad.net/ubuntu/+source/linux-azure-6.11/+bug/2117183

@bors

bors commented Jul 30, 2025

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (presumably #144692) made this pull request unmergeable. Please resolve the merge conflicts.

@the8472
the8472 force-pushed the fix-write-at-append branch from 705d195 to 5f3b0c8 Compare December 26, 2025 18:13
@rust-log-analyzer

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from 5f3b0c8 to 777c463 Compare December 26, 2025 18:45
@rustbot rustbot added the A-CI Area: Our Github Actions CI label Dec 26, 2025
@rust-log-analyzer

This comment has been minimized.

@the8472 the8472 added the S-blocked Status: Blocked on something else such as an RFC or other implementation work. label Dec 26, 2025
@rust-bors

This comment has been minimized.

@the8472
the8472 force-pushed the fix-write-at-append branch from 777c463 to 7c4de82 Compare August 2, 2026 21:40
@rustbot

rustbot commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
  CARGO_UNSTABLE_BUILD_DIR_NEW_LAYOUT: true
  PR_CI_JOB: 1
  IMAGE: pr-check-2
##[endgroup]
Linux runnervmvrwv9 6.17.0-1020-azure #20~24.04.1-Ubuntu SMP Fri Jun 19 20:09:14 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
##[group]Run src/ci/scripts/collect-cpu-stats.sh
src/ci/scripts/collect-cpu-stats.sh
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
---

COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh

ENV SCRIPT='\
        ldd --version && \
        python3 ../x.py test --stage 1 std -- "write_at" || \
        strace -ffe write,pwritev2,pwrite64,pwritev python3 ../x.py test --stage 1 std -- "write_at"'
#!/bin/sh

# ignore-tidy-file-linelength

set -ex
---
DirectMap4k:      150656 kB
DirectMap2M:     5087232 kB
DirectMap1G:    13631488 kB
##[endgroup]
Executing         ldd --version &&         python3 ../x.py test --stage 1 std -- "write_at" ||         strace -ffe write,pwritev2,pwrite64,pwritev python3 ../x.py test --stage 1 std -- "write_at"
+ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3.13) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ python3 ../x.py test --stage 1 std -- write_at
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.05s
##[endgroup]
downloading https://static.rust-lang.org/dist/2026-07-13/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
extracting /checkout/obj/build/cache/2026-07-13/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz to /checkout/obj/build/x86_64-unknown-linux-gnu/rustfmt
---
failures:

---- fs::tests::file_test_append_write_at stdout ----

thread 'fs::tests::file_test_append_write_at' (13759) panicked at library/std/src/fs/tests.rs:611:5:
assertion `left == right` failed
  left: "it\'s not working!   "
 right: "it\'s     working!"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- fs::tests::file_test_append_write_at stdout end ----

failures:
    fs::tests::file_test_append_write_at
---
Bootstrap failed while executing `test --stage 1 std -- write_at`
Currently active steps:
test::Crate { build_compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, mode: Std, crates: ["std"] } at src/bootstrap/src/core/build_steps/test.rs:3390
Build completed unsuccessfully in 0:07:54
+ strace -ffe write,pwritev2,pwrite64,pwritev python3 ../x.py test --stage 1 std -- write_at
strace: Process 13765 attached
[pid 13765] write(1, "Linux x86_64 x86_64\n", 20) = 20
[pid 13765] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13765, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13766 attached
[pid 13766] write(1, "GNU/Linux\n", 10) = 10
[pid 13766] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13766, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13767 attached
[pid 13767] write(1, "28c66af27578a28bc8cad1c5957be4b1"..., 41) = 41
[pid 13767] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13767, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
write(1, "::group::Building bootstrap\n", 28) = 28
##[group]Building bootstrap
strace: Process 13768 attached
strace: Process 13769 attached
[pid 13768] pwrite64(5, "\0\0\0\0\0\0\0\0\0\0\0\0\256\24\254\237\0\0\0\33\0\0\2\0\0\0\20\0\0\0\0\0"..., 512, 0) = 512
[pid 13768] pwrite64(5, "\0\0\0\17", 4, 512) = 4
[pid 13768] pwrite64(5, "\r\0\0\0m\0\375\0\17\340\17\271\17\233\17}\17W\17/\17\10\16\352\16\305\16\242\16z\16X"..., 4096, 516) = 4096
[pid 13768] pwrite64(5, "\256\24\262%", 4, 4612) = 4
[pid 13768] pwrite64(5, "\0\0\0\24", 4, 4616) = 4
[pid 13768] pwrite64(5, "\r\0\0\0\200\1\21\0\17\350\17\313\17\261\17\225\17z\17b\17I\0171\17\31\16\371\16\335\16\301"..., 4096, 4620) = 4096
[pid 13768] pwrite64(5, "\256\24\263O", 4, 8716) = 4
[pid 13768] pwrite64(5, "\0\0\0\1", 4, 8720) = 4
[pid 13768] pwrite64(5, "SQLite format 3\0\20\0\1\1\0@  \0\0\0\v\0\0\0\33"..., 4096, 8724) = 4096
[pid 13768] pwrite64(5, "\256\24\257\2", 4, 12820) = 4
[pid 13768] pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\3", 12, 0) = 12
[pid 13768] pwrite64(4, "SQLite format 3\0\20\0\1\1\0@  \0\0\0\f\0\0\0\33"..., 4096, 0) = 4096
[pid 13768] pwrite64(4, "\r\0\0\0m\0\375\0\17\340\17\271\17\233\17}\17W\17/\17\10\16\352\16\305\16\242\16z\16X"..., 4096, 57344) = 4096
[pid 13768] pwrite64(4, "\r\0\0\0\200\1\21\0\17\350\17\313\17\261\17\225\17z\17b\17I\0171\17\31\16\371\16\335\16\301"..., 4096, 77824) = 4096
[pid 13768] write(5, "||||", 4)         = 4
strace: Process 13770 attached
[pid 13768] write(2, "    Finished", 12    Finished) = 12
[pid 13768] write(2, " `dev` profile [unoptimized] tar"..., 48 `dev` profile [unoptimized] target(s) in 0.29s
) = 48
[pid 13768] write(5, "|", 1)            = 1
[pid 13768] write(5, "|", 1)            = 1
[pid 13768] write(5, "|", 1)            = 1
[pid 13770] --- SIGUSR1 {si_signo=SIGUSR1, si_code=SI_TKILL, si_pid=13768, si_uid=1001} ---
[pid 13770] write(5, "|", 1)            = 1
[pid 13770] write(5, "|", 1)            = 1
[pid 13770] write(5, "|", 1)            = 1
[pid 13770] +++ exited with 0 +++
[pid 13768] write(10, "/checkout/obj/build/bootstrap/de"..., 4162) = 4162
[pid 13768] write(10, "/checkout/obj/build/bootstrap/de"..., 4194) = 4194
[pid 13768] write(10, "/checkout/obj/build/bootstrap/de"..., 4322) = 4322
[pid 13768] write(10, "/checkout/obj/build/bootstrap/de"..., 4273) = 4273
[pid 13769] +++ exited with 0 +++
[pid 13768] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13768, si_uid=1001, si_status=0, si_utime=5, si_stime=8} ---
write(1, "::endgroup::\n", 13::endgroup::
)          = 13
strace: Process 13771 attached
strace: Process 13772 attached
[pid 13772] write(1, "../\n", 4)        = 4
[pid 13772] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13772, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13773 attached
[pid 13773] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13773, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13774 attached
strace: Process 13775 attached
strace: Process 13776 attached
[pid 13775] write(1, "1fe9a0cf8a6f5751d4c36e40358a0075"..., 41) = 41
[pid 13775] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13775, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13774] write(1, "2026-08-02", 10)  = 10
[pid 13774] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13774, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13776] write(1, "1fe9a0cf8\n", 10) = 10
[pid 13776] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13776, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13777 attached
strace: Process 13778 attached
[pid 13777] write(4, "||||||||||||||||||||||||||||||||", 32) = 32
strace: Process 13779 attached
strace: Process 13780 attached
[pid 13779] write(1, "/checkout/obj/build/x86_64-unkno"..., 52) = 52
[pid 13779] +++ exited with 0 +++
[pid 13780] +++ exited with 0 +++
[pid 13778] +++ exited with 0 +++
[pid 13777] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13777, si_uid=1001, si_status=0, si_utime=0, si_stime=1} ---
strace: Process 13781 attached
[pid 13781] write(1, "28c66af27578a28bc8cad1c5957be4b1"..., 41) = 41
[pid 13781] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13781, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13782 attached
strace: Process 13783 attached
strace: Process 13784 attached
strace: Process 13785 attached
strace: Process 13786 attached
strace: Process 13787 attached
strace: Process 13788 attached
strace: Process 13789 attached
strace: Process 13790 attached
strace: Process 13791 attached
strace: Process 13792 attached
strace: Process 13794 attached
strace: Process 13795 attached
strace: Process 13793 attached
strace: Process 13796 attached
strace: Process 13797 attached
strace: Process 13798 attached
strace: Process 13799 attached
strace: Process 13800 attached
strace: Process 13801 attached
strace: Process 13802 attached
[pid 13792] +++ exited with 0 +++
[pid 13795] +++ exited with 0 +++
[pid 13799] +++ exited with 0 +++
[pid 13793] +++ exited with 0 +++
[pid 13797] +++ exited with 0 +++
[pid 13794] +++ exited with 0 +++
[pid 13789] +++ exited with 0 +++
[pid 13798] +++ exited with 0 +++
[pid 13801] +++ exited with 0 +++
[pid 13791] +++ exited with 0 +++
[pid 13796] +++ exited with 0 +++
[pid 13802] +++ exited with 0 +++
[pid 13800] +++ exited with 0 +++
[pid 13786] +++ exited with 0 +++
[pid 13787] +++ exited with 0 +++
[pid 13785] +++ exited with 0 +++
[pid 13783] +++ exited with 0 +++
[pid 13790] +++ exited with 0 +++
[pid 13788] +++ exited with 0 +++
[pid 13784] +++ exited with 0 +++
[pid 13782] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13782, si_uid=1001, si_status=0, si_utime=23, si_stime=137} ---
strace: Process 13803 attached
strace: Process 13804 attached
strace: Process 13805 attached
[pid 13804] +++ exited with 0 +++
strace: Process 13806 attached
strace: Process 13807 attached
[pid 13805] +++ exited with 0 +++
[pid 13806] +++ exited with 0 +++
strace: Process 13808 attached
[pid 13807] +++ exited with 0 +++
strace: Process 13809 attached
[pid 13808] +++ exited with 0 +++
strace: Process 13810 attached
[pid 13809] +++ exited with 0 +++
strace: Process 13811 attached
[pid 13810] +++ exited with 0 +++
strace: Process 13812 attached
[pid 13811] +++ exited with 0 +++
strace: Process 13813 attached
[pid 13812] +++ exited with 0 +++
strace: Process 13814 attached
[pid 13813] +++ exited with 0 +++
[pid 13814] +++ exited with 0 +++
strace: Process 13815 attached
strace: Process 13816 attached
[pid 13815] +++ exited with 0 +++
[pid 13816] +++ exited with 0 +++
strace: Process 13817 attached
strace: Process 13818 attached
[pid 13817] +++ exited with 0 +++
strace: Process 13819 attached
strace: Process 13820 attached
[pid 13818] +++ exited with 0 +++
strace: Process 13821 attached
[pid 13819] +++ exited with 0 +++
[pid 13820] +++ exited with 0 +++
strace: Process 13822 attached
[pid 13821] +++ exited with 0 +++
strace: Process 13823 attached
[pid 13822] +++ exited with 0 +++
[pid 13823] +++ exited with 0 +++
strace: Process 13824 attached
strace: Process 13825 attached
strace: Process 13826 attached
strace: Process 13827 attached
strace: Process 13828 attached
strace: Process 13829 attached
strace: Process 13831 attached
strace: Process 13830 attached
strace: Process 13834 attached
strace: Process 13833 attached
strace: Process 13832 attached
strace: Process 13835 attached
strace: Process 13836 attached
strace: Process 13837 attached
strace: Process 13838 attached
strace: Process 13839 attached
strace: Process 13840 attached
strace: Process 13841 attached
strace: Process 13842 attached
strace: Process 13843 attached
strace: Process 13844 attached
[pid 13836] +++ exited with 0 +++
[pid 13837] +++ exited with 0 +++
[pid 13838] +++ exited with 0 +++
[pid 13839] +++ exited with 0 +++
[pid 13841] +++ exited with 0 +++
[pid 13840] +++ exited with 0 +++
[pid 13835] +++ exited with 0 +++
[pid 13830] +++ exited with 0 +++
[pid 13829] +++ exited with 0 +++
[pid 13826] +++ exited with 0 +++
[pid 13842] +++ exited with 0 +++
[pid 13825] +++ exited with 0 +++
[pid 13828] +++ exited with 0 +++
[pid 13844] +++ exited with 0 +++
[pid 13833] +++ exited with 0 +++
[pid 13834] +++ exited with 0 +++
[pid 13831] +++ exited with 0 +++
[pid 13832] +++ exited with 0 +++
[pid 13843] +++ exited with 0 +++
[pid 13827] +++ exited with 0 +++
[pid 13824] +++ exited with 0 +++
[pid 13803] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13824, si_uid=1001, si_status=0, si_utime=22, si_stime=233} ---
[pid 13803] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13803, si_uid=1001, si_status=0, si_utime=1, si_stime=1} ---
strace: Process 13845 attached
[pid 13845] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13845, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13846 attached
strace: Process 13847 attached
strace: Process 13848 attached
[pid 13846] write(1, "2026-07-29", 10)  = 10
[pid 13846] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13846, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13847] write(1, "7c83d4cc0953b81d823e47d640c64da9"..., 41) = 41
[pid 13847] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13847, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13848] write(1, "7c83d4cc0\n", 10) = 10
[pid 13848] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13848, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13849 attached
[pid 13849] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13849, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13850 attached
strace: Process 13851 attached
strace: Process 13852 attached
[pid 13850] write(1, "2026-04-05", 10)  = 10
[pid 13850] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13850, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13851] write(1, "6f155cc3f5a2dff33afe6cc3ed6c2e0e"..., 41) = 41
[pid 13851] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13851, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13852] write(1, "6f155cc3f\n", 10) = 10
[pid 13852] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13852, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13853 attached
[pid 13853] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13853, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13854 attached
strace: Process 13855 attached
strace: Process 13856 attached
[pid 13854] write(1, "2026-07-10", 10)  = 10
[pid 13854] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13854, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13855] write(1, "52ed14fcd56afc30f9cccd8ca8ce237c"..., 41) = 41
[pid 13855] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13855, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13856] write(1, "52ed14fcd\n", 10) = 10
[pid 13856] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13856, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13857 attached
[pid 13857] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13857, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13858 attached
strace: Process 13859 attached
strace: Process 13860 attached
[pid 13858] write(1, "2026-07-31", 10)  = 10
[pid 13858] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13858, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13859] write(1, "a9b96ed28ed25bd9e393d7fd14778ace"..., 41) = 41
[pid 13859] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13859, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13860] write(1, "a9b96ed28\n", 10) = 10
[pid 13860] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13860, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13771] write(3, "13771", 5)        = 5
strace: Process 13861 attached
strace: Process 13862 attached
[pid 13861] write(4, "||||||||||||||||||||||||||||||||", 32) = 32
strace: Process 13863 attached
strace: Process 13864 attached
[pid 13863] write(1, "/checkout/obj/build/x86_64-unkno"..., 93) = 93
[pid 13863] +++ exited with 0 +++
[pid 13864] +++ exited with 0 +++
[pid 13862] +++ exited with 0 +++
[pid 13861] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13861, si_uid=1001, si_status=0, si_utime=0, si_stime=1} ---
strace: Process 13865 attached
strace: Process 13866 attached
[pid 13865] write(1, "rustc 1.98.0-beta.2 (08d5b675a 2"..., 43) = 43
[pid 13865] write(1, "binary: rustc\n", 14) = 14
[pid 13865] write(1, "commit-hash: 08d5b675a9b2abdca5e"..., 54) = 54
[pid 13865] write(1, "commit-date: 2026-07-12\n", 24) = 24
[pid 13865] write(1, "host: x86_64-unknown-linux-gnu\n", 31) = 31
[pid 13865] write(1, "release: 1.98.0-beta.2\n", 23) = 23
[pid 13865] write(1, "LLVM version: 22.1.8\n", 21) = 21
[pid 13866] +++ exited with 0 +++
[pid 13865] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13865, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13771] write(4, "#ifdef __clang__\n#pragma message"..., 206) = 206
strace: Process 13867 attached
strace: Process 13868 attached
[pid 13868] write(1, "# 0 \"/checkout/obj/build/tmp/cc-"..., 400) = 400
[pid 13868] +++ exited with 0 +++
[pid 13867] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13868, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13867] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13867, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13869 attached
[pid 13869] write(2, "cc: error: unrecognized command-"..., 53) = 53
[pid 13869] write(2, "cc: fatal error: no input files\n", 32) = 32
[pid 13869] write(2, "compilation terminated.\n", 24) = 24
[pid 13869] +++ exited with 1 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13869, si_uid=1001, si_status=1, si_utime=0, si_stime=0} ---
[pid 13771] write(4, "#ifdef __clang__\n#pragma message"..., 206) = 206
strace: Process 13870 attached
strace: Process 13871 attached
[pid 13871] write(1, "# 0 \"/checkout/obj/build/tmp/cc-"..., 400) = 400
[pid 13871] +++ exited with 0 +++
[pid 13870] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13871, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13870] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13870, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
strace: Process 13872 attached
[pid 13872] write(2, "c++: error: unrecognized command"..., 54) = 54
[pid 13872] write(2, "c++: fatal error: no input files"..., 33) = 33
[pid 13872] write(2, "compilation terminated.\n", 24) = 24
[pid 13872] +++ exited with 1 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13872, si_uid=1001, si_status=1, si_utime=0, si_stime=0} ---
[pid 13771] write(1, "[TIMING:start] tool::LibcxxVersi"..., 76) = 76
[TIMING:start] tool::LibcxxVersionTool { target: x86_64-unknown-linux-gnu }
strace: Process 13873 attached
[pid 13873] write(1, "libstdc++ version: 11\n", 22) = 22
[pid 13873] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13873, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13771] write(1, "[TIMING:end] tool::LibcxxVersion"..., 83[TIMING:end] tool::LibcxxVersionTool { target: x86_64-unknown-linux-gnu } -- 0.010
) = 83
strace: Process 13874 attached
strace: Process 13875 attached
[pid 13874] write(4, "||||||||||||||||||||||||||||||||", 32) = 32
strace: Process 13876 attached
strace: Process 13877 attached
[pid 13876] write(1, "aarch64-apple-darwin\naarch64-app"..., 7966) = 7966
[pid 13876] +++ exited with 0 +++
[pid 13877] +++ exited with 0 +++
[pid 13875] +++ exited with 0 +++
[pid 13874] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13874, si_uid=1001, si_status=0, si_utime=0, si_stime=1} ---
strace: Process 13878 attached
[pid 13878] write(1, "{\"packages\":[{\"name\":\"rustc-main"..., 378055) = 378055
[pid 13878] write(1, "\n", 1)           = 1
[pid 13878] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13878, si_uid=1001, si_status=0, si_utime=2, si_stime=4} ---
strace: Process 13879 attached
[pid 13879] write(1, "{\"packages\":[{\"name\":\"std\",\"vers"..., 36800) = 36800
[pid 13879] write(1, "\n", 1)           = 1
[pid 13879] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13879, si_uid=1001, si_status=0, si_utime=1, si_stime=1} ---
strace: Process 13880 attached
strace: Process 13881 attached
[pid 13880] write(4, "||||||||||||||||||||||||||||||||", 32) = 32
strace: Process 13882 attached
strace: Process 13883 attached
[pid 13882] write(1, "/checkout/obj/build/x86_64-unkno"..., 52) = 52
[pid 13882] +++ exited with 0 +++
[pid 13883] +++ exited with 0 +++
[pid 13881] +++ exited with 0 +++
[pid 13880] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13880, si_uid=1001, si_status=0, si_utime=0, si_stime=1} ---
[pid 13771] write(4, "1785707299113455497", 19) = 19
[pid 13771] write(4, "1785707299344461357", 19) = 19
[pid 13771] write(4, "1785707614935062201", 19) = 19
[pid 13771] write(1, "[TIMING:start] compile::Assemble"..., 132) = 132
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[pid 13771] write(1, "[TIMING:start] builder::Libdir {"..., 157[TIMING:start] builder::Libdir { compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
) = 157
[TIMING:start] compile::Sysroot { compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false }
[pid 13771] write(1, "[TIMING:start] compile::Sysroot "..., 148) = 148
[pid 13771] write(1, "[TIMING:end] compile::Sysroot { "..., 155) = 155
[TIMING:end] compile::Sysroot { compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false } -- 0.006
[pid 13771] write(1, "[TIMING:end] builder::Libdir { c"..., 164) = 164
[TIMING:end] builder::Libdir { compiler: Compiler { stage: 1, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.000
[TIMING:start] llvm::Llvm { target: x86_64-unknown-linux-gnu }
[pid 13771] write(1, "[TIMING:start] llvm::Llvm { targ"..., 63) = 63
strace: Process 13884 attached
[pid 13884] write(1, "22.1.8-rust-1.99.0-nightly\n", 27) = 27
[pid 13884] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13884, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[TIMING:end] llvm::Llvm { target: x86_64-unknown-linux-gnu } -- 0.017
[pid 13771] write(1, "[TIMING:end] llvm::Llvm { target"..., 70) = 70
strace: Process 13885 attached
[pid 13885] write(1, "/checkout/obj/build/x86_64-unkno"..., 57) = 57
[pid 13885] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13885, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13771] write(2, "/checkout/obj/build/x86_64-unkno"..., 67/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/llvm-strip) = 67
[pid 13771] write(2, " does not exist; skipping copy\n", 31 does not exist; skipping copy
) = 31
[TIMING:start] compile::Assemble { target_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false } }
[pid 13771] write(1, "[TIMING:start] compile::Assemble"..., 132) = 132
[pid 13771] write(1, "[TIMING:end] compile::Assemble {"..., 139[TIMING:end] compile::Assemble { target_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false } } -- 0.000
) = 139
[pid 13771] write(1, "[TIMING:start] compile::Rustc { "..., 174) = 174
[TIMING:start] compile::Rustc { target: x86_64-unknown-linux-gnu, build_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, crates: [] }
[TIMING:start] compile::StdLink { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, crates: [], force_recompile: false }
[pid 13771] write(1, "[TIMING:start] compile::StdLink "..., 290) = 290
[pid 13771] write(1, "[TIMING:start] builder::Libdir {"..., 157) = 157
[pid 13771] write(1, "[TIMING:start] compile::Sysroot "..., 148[TIMING:start] builder::Libdir { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu }
[TIMING:start] compile::Sysroot { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false }
) = 148
strace: Process 13886 attached
[pid 13886] write(1, "/checkout/obj/build/x86_64-unkno"..., 91) = 91
[pid 13886] +++ exited with 0 +++
[pid 13771] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13886, si_uid=1001, si_status=0, si_utime=0, si_stime=0} ---
[pid 13771] write(4, "INPUT(", 6)       = 6
[pid 13771] write(4, "libLLVM.so.22.1-rust-1.99.0-nigh"..., 35) = 35
[pid 13771] write(4, ")\n", 2)          = 2
[pid 13771] write(1, "[TIMING:end] compile::Sysroot { "..., 155) = 155
[TIMING:end] compile::Sysroot { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, force_recompile: false } -- 0.032
[pid 13771] write(4, "INPUT(", 6)       = 6
[pid 13771] write(4, "libLLVM.so.22.1-rust-1.99.0-nigh"..., 35) = 35
[pid 13771] write(4, ")\n", 2)          = 2
[pid 13771] write(1, "[TIMING:end] builder::Libdir { c"..., 164) = 164
[TIMING:end] builder::Libdir { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu } -- 0.005
[TIMING:end] compile::StdLink { compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target_compiler: Compiler { stage: 0, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: x86_64-unknown-linux-gnu, crates: [], force_recompile: false } -- 0.016
[pid 13771] write(1, "[TIMING:end] compile::StdLink { "..., 297) = 297
##[group]Building stage1 compiler artifacts (stage0 -> stage1, x86_64-unknown-linux-gnu)
[pid 13771] write(1, "::group::Building stage1 compile"..., 89) = 89
strace: Process 13887 attached
strace: Process 13888 attached
[pid 13887] pwrite64(5, "\0\0\0\0\0\0\0\0\0\0\0\0\231\350C|\0\0\0\33\0\0\2\0\0\0\20\0\0\0\0\0"..., 512, 0) = 512
[pid 13887] pwrite64(5, "\0\0\0\23", 4, 512) = 4
[pid 13887] pwrite64(5, "\r\0\0\0e\0\322\0\17\335\17\267\17\220\17g\17B\17\31\16\367\16\315\16\254\16\203\16\\\16-"..., 4096, 516) = 4096
[pid 13887] pwrite64(5, "\231\350I*", 4, 4612) = 4
[pid 13887] pwrite64(5, "\0\0\0\20", 4, 4616) = 4
[pid 13887] pwrite64(5, "\r\0\0\0g\0\365\0\17\334\17\273\17\236\17|\17S\0170\17\4\16\346\16\266\16\216\16h\16A"..., 4096, 4620) = 4096
[pid 13887] pwrite64(5, "\231\350JA", 4, 8716) = 4
[pid 13887] pwrite64(5, "\0\0\0\17", 4, 8720) = 4
[pid 13887] pwrite64(5, "\r\0\0\0m\0\375\0\17\340\17\271\17\233\17}\17W\17/\17\10\16\352\16\305\16\242\16z\16X"..., 4096, 8724) = 4096
[pid 13887] pwrite64(5, "\231\350H\372", 4, 12820) = 4
[pid 13887] pwrite64(5, "\0\0\0\25", 4, 12824) = 4
[pid 13887] pwrite64(5, "\r\0\0\0x\0\372\0\17\336\17\277\17\247\17\212\17o\17R\17,\17\20\16\362\16\323\16\265\16\227"..., 4096, 12828) = 4096
[pid 13887] pwrite64(5, "\231\350IM", 4, 16924) = 4
[pid 13887] pwrite64(5, "\0\0\0\24", 4, 16928) = 4
[pid 13887] pwrite64(5, "\r\0\0\0\200\1\21\0\17\350\17\313\17\261\17\225\17z\17b\17I\0171\17\31\16\371\16\335\16\301"..., 4096, 16932) = 4096
[pid 13887] pwrite64(5, "\231\350J,", 4, 21028) = 4
[pid 13887] pwrite64(5, "\0\0\0\30", 4, 21032) = 4
[pid 13887] pwrite64(5, "\r\0\0\0L\6%\0\17\337\17\276\17\245\17r\17E\17)\17\1\16\332\16\300\16\242\16z\16N"..., 4096, 21036) = 4096
[pid 13887] pwrite64(5, "\231\350FW", 4, 25132) = 4
[pid 13887] pwrite64(5, "\0\0\0\1", 4, 25136) = 4
[pid 13887] pwrite64(5, "SQLite format 3\0\20\0\1\1\0@  \0\0\0\f\0\0\0\33"..., 4096, 25140) = 4096
[pid 13887] pwrite64(5, "\231\350E\337", 4, 29236) = 4
[pid 13887] pwrite64(5, "\331\325\5\371 \241c\327\0\0\0\7", 12, 0) = 12
[pid 13887] pwrite64(4, "SQLite format 3\0\20\0\1\1\0@  \0\0\0\r\0\0\0\33"..., 4096, 0) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0m\0\375\0\17\340\17\271\17\233\17}\17W\17/\17\10\16\352\16\305\16\242\16z\16X"..., 4096, 57344) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0g\0\365\0\17\334\17\273\17\236\17|\17S\0170\17\4\16\346\16\266\16\216\16h\16A"..., 4096, 61440) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0e\0\322\0\17\335\17\267\17\220\17g\17B\17\31\16\367\16\315\16\254\16\203\16\\\16-"..., 4096, 73728) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0\200\1\21\0\17\350\17\313\17\261\17\225\17z\17b\17I\0171\17\31\16\371\16\335\16\301"..., 4096, 77824) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0x\0\372\0\17\336\17\277\17\247\17\212\17o\17R\17,\17\20\16\362\16\323\16\265\16\227"..., 4096, 81920) = 4096
[pid 13887] pwrite64(4, "\r\0\0\0L\6%\0\17\337\17\276\17\245\17r\17E\17)\17\1\16\332\16\300\16\242\16z\16N"..., 4096, 94208) = 4096
[pid 13887] write(5, "||||", 4)         = 4
strace: Process 13889 attached
[pid 13887] write(2, "[RUSTC-TIMING] build_script_buil"..., 50[RUSTC-TIMING] build_script_build test:false 0.155) = 50
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 769) = 769
[pid 13887] write(1, "{\"reason\":\"build-script-executed"..., 362) = 362
[pid 13887] write(2, "[RUSTC-TIMING] build_script_buil"..., 50[RUSTC-TIMING] build_script_build test:false 0.124) = 50
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 742) = 742
[pid 13887] write(2, "[RUSTC-TIMING] unicode_ident tes"..., 45[RUSTC-TIMING] unicode_ident test:false 0.052) = 45
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 906) = 906
[pid 13887] write(2, "[RUSTC-TIMING] cfg_if test:false"..., 38[RUSTC-TIMING] cfg_if test:false 0.034) = 38
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 897) = 897
[pid 13887] write(1, "{\"reason\":\"build-script-executed"..., 282) = 282
[pid 13887] write(2, "[RUSTC-TIMING] proc_macro2 test:"..., 43[RUSTC-TIMING] proc_macro2 test:false 0.460) = 43
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 915) = 915
[pid 13887] write(2, "[RUSTC-TIMING] build_script_buil"..., 50[RUSTC-TIMING] build_script_build test:false 0.163) = 50
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 749) = 749
[pid 13887] write(2, "[RUSTC-TIMING] stable_deref_trai"..., 50[RUSTC-TIMING] stable_deref_trait test:false 0.034) = 50
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 1016) = 1016
[pid 13887] write(2, "[RUSTC-TIMING] quote test:false "..., 37[RUSTC-TIMING] quote test:false 0.196) = 37
[pid 13887] write(2, "\n", 1
)           = 1
[pid 13887] write(1, "{\"reason\":\"compiler-artifact\",\"p"..., 864) = 864
[pid 13887] write(1, "{\"reason\":\"build-script-executed"..., 317) = 317

@rust-bors

rust-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #162092) made this pull request unmergeable. Please resolve the merge conflicts by rebasing.

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-testsuite Area: The testsuite used to check the correctness of rustc O-unix Operating system: Unix-like S-blocked Status: Blocked on something else such as an RFC or other implementation work. 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. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with write_all_at on GitHub Action

5 participants