---- [rustdoc] tests/rustdoc/primitive/no_std.rs stdout ----
thread '[rustdoc] tests/rustdoc/primitive/no_std.rs' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }', src/tools/compiletest/src/runtest.rs:130:43
---- [rustdoc] src/test/rustdoc/primitive/primitive-generic-impl.rs stdout ----
thread '[rustdoc] src/test/rustdoc/primitive/primitive-generic-impl.rs' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }', src/tools/compiletest/src/runtest.rs:125:43
Some tests failed in compiletest suite=rustdoc mode=rustdoc host=x86_64-apple-darwin target=x86_64-apple-darwin
I don't have any immediate theories as to the cause. It is conspicuous that it almost always happens on the same test.
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_messagesmacro #97327 (comment)anonymize_bound_vars#105717 (comment)Pin::as_mutwhen encountering borrow error #106095 (comment)remap_generic_params_to_declaration_params. #106503 (comment)givensfrom regionck #107376 (comment)