CI random failure on x86_64-apple-2 InvalidInput in create_dir_all while running test/rustdoc/primitive/no_std.rs #109397
Labels
A-spurious
Area: Spurious failures in builds (spuriously == for no apparent reason)
A-testsuite
Area: The testsuite used to check the correctness of rustc
O-macos
Operating system: macOS
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
CI has failed a few times with the following error on x86_64-apple-2:
or:
I don't have any immediate theories as to the cause. It is conspicuous that it almost always happens on the same test.
The particular line in question is a call to the standard
create_dir_all
:rust/src/tools/compiletest/src/runtest.rs
Line 130 in 13b7aa4
I don't see anything particularly unusual in the implementation:
std::fs::create_dir_all
. The impl does a fairly standard libc call tomkdir
. The macOS man page doesn't mention EINVAL, and I'm not sure under what circumstances that could happen withmkdir
.fluent_messages
macro #97327 (comment)anonymize_bound_vars
#105717 (comment)Pin::as_mut
when encountering borrow error #106095 (comment)remap_generic_params_to_declaration_params
. #106503 (comment)givens
from regionck #107376 (comment)The text was updated successfully, but these errors were encountered: