rust
rust copied to clipboard
ensure that sysroot is properly set for cross-targets
Previously, doing x test compiler/*
would result in build failures due to missing libraries. This ensures properly setting up the sysroot for cross targets.
r? @albertlarsan68
rustbot has assigned @albertlarsan68. 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
Thanks for the PR! @bors r+
:pushpin: Commit 0b55b0146809ea6013951b92e1405218f2d02fef has been approved by albertlarsan68
It is now in the queue for this repository.
@bors rollup=iffy
:hourglass: Testing commit 0b55b0146809ea6013951b92e1405218f2d02fef with merge 09ac3ea63eb01b6c3786c1433c2706ad8dab7496...
The job test-various
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
CMAKE_wasm32-wasip1 = None
CMAKE_wasm32_wasip1 = None
TARGET_CMAKE = None
CMAKE = None
running: cd "/checkout/obj/build/wasm32-wasip1/llvm/build" && CMAKE_PREFIX_PATH="" DESTDIR="" "cmake" "/checkout/src/llvm-project/llvm" "-G" "Ninja" "-DLLVM_ENABLE_ASSERTIONS=ON" "-DLLVM_UNREACHABLE_OPTIMIZE=OFF" "-DLLVM_ENABLE_PLUGINS=OFF" "-DLLVM_TARGETS_TO_BUILD=AArch64;ARM;BPF;Hexagon;LoongArch;MSP430;Mips;NVPTX;PowerPC;RISCV;Sparc;SystemZ;WebAssembly;X86" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR;M68k;CSKY" "-DLLVM_INCLUDE_EXAMPLES=OFF" "-DLLVM_INCLUDE_DOCS=OFF" "-DLLVM_INCLUDE_BENCHMARKS=OFF" "-DLLVM_INCLUDE_TESTS=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_BINDINGS=OFF" "-DLLVM_ENABLE_Z3_SOLVER=OFF" "-DLLVM_PARALLEL_COMPILE_JOBS=8" "-DLLVM_TARGET_ARCH=wasm32" "-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasip1" "-DLLVM_ENABLE_WARNINGS=OFF" "-DLLVM_INSTALL_UTILS=ON" "-DLLVM_ENABLE_ZSTD=OFF" "-DLLVM_ENABLE_ZLIB=ON" "-DLLVM_LINK_LLVM_DYLIB=ON" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_TABLEGEN=/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/llvm-tblgen" "-DLLVM_NM=/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/llvm-nm" "-DLLVM_CONFIG_PATH=/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/llvm-config" "-DLLVM_VERSION_SUFFIX=-rust-1.78.0-nightly" "-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_CROSSCOMPILING=True" "-DCMAKE_C_COMPILER_LAUNCHER=sccache" "-DCMAKE_CXX_COMPILER_LAUNCHER=sccache" "-DCMAKE_C_COMPILER=clang-11" "-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_ASM_COMPILER=clang-11" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections -fPIC --target=wasm32-wasip1 --sysroot /wasm32-wasip1" "-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC" "-DCMAKE_SHARED_LINKER_FLAGS=" "-DCMAKE_MODULE_LINKER_FLAGS=" "-DCMAKE_EXE_LINKER_FLAGS=" "-DCMAKE_INSTALL_PREFIX=/checkout/obj/build/wasm32-wasip1/llvm" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC --target=wasm32-wasip1 --sysroot /wasm32-wasip1" "-DCMAKE_BUILD_TYPE=Release"
-- The CXX compiler identification is GNU 11.4.0
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/clang-11
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang-11
-- Check for working C compiler: /usr/bin/clang-11 - broken
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
"/usr/bin/clang-11"
is not able to compile a simple test program.
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /checkout/obj/build/wasm32-wasip1/llvm/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/ninja cmTC_33a6c && [1/2] Building C object CMakeFiles/cmTC_33a6c.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_33a6c
FAILED: cmTC_33a6c
: && /usr/bin/clang-11 -ffunction-sections -fdata-sections -fPIC --target=wasm32-wasip1 --sysroot /wasm32-wasip1 CMakeFiles/cmTC_33a6c.dir/testCCompiler.c.o -o cmTC_33a6c && :
clang: error: unable to execute command: Executable "wasm-ld" doesn't exist!
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:54 (project)
-- Configuring incomplete, errors occurred!
See also "/checkout/obj/build/wasm32-wasip1/llvm/build/CMakeFiles/CMakeOutput.log".
See also "/checkout/obj/build/wasm32-wasip1/llvm/build/CMakeFiles/CMakeError.log".
thread 'main' panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.48/src/lib.rs:975:5:
command did not execute successfully, got: exit status: 1
build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
:broken_heart: Test failed - checks-actions
@bors r=albertlarsan68
:pushpin: Commit d6fcc88d67bad5c89f0d1a9ea3dfb00209e57953 has been approved by albertlarsan68
It is now in the queue for this repository.
:hourglass: Testing commit d6fcc88d67bad5c89f0d1a9ea3dfb00209e57953 with merge 7ecd8649ff5f7d3fa511af1329d90addcd49aa22...
The job aarch64-gnu
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] rustc_parse test:true 10.142
Compiling rustc_builtin_macros v0.0.0 (/checkout/compiler/rustc_builtin_macros)
[RUSTC-TIMING] rustc_ast_passes test:false 9.340
[RUSTC-TIMING] rustc_expand test:false 19.843
##[error]The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
##[group]Clock drift check
##[group]Clock drift check
Session terminated, killing shell... ...killed.
##[error]The operation was canceled.
Cleaning up orphan processes
:broken_heart: Test failed - checks-actions
Due to failing target in CI, I did some changes. @albertlarsan68
The job mingw-check
failed! Check out the build log: (web) (plain)
Click to see the possible cause of the failure (guessed by this bot)
GITHUB_ACTION=__run_7
GITHUB_ACTIONS=true
GITHUB_ACTION_REF=
GITHUB_ACTION_REPOSITORY=
GITHUB_ACTOR=onur-ozkan
GITHUB_API_URL=https://api.github.com
GITHUB_BASE_REF=master
GITHUB_ENV=/home/runner/work/_temp/_runner_file_commands/set_env_ff069ec1-8837-45dc-b087-170e0c1995da
GITHUB_EVENT_NAME=pull_request
---
GITHUB_SERVER_URL=https://github.com
GITHUB_SHA=5ad739179a1da3bc2f232cc91afbf7a94133aa61
GITHUB_STATE=/home/runner/work/_temp/_runner_file_commands/save_state_ff069ec1-8837-45dc-b087-170e0c1995da
GITHUB_STEP_SUMMARY=/home/runner/work/_temp/_runner_file_commands/step_summary_ff069ec1-8837-45dc-b087-170e0c1995da
GITHUB_TRIGGERING_ACTOR=onur-ozkan
GITHUB_WORKFLOW_REF=rust-lang/rust/.github/workflows/ci.yml@refs/pull/122205/merge
GITHUB_WORKFLOW_SHA=5ad739179a1da3bc2f232cc91afbf7a94133aa61
GITHUB_WORKSPACE=/home/runner/work/rust/rust
GOROOT_1_20_X64=/opt/hostedtoolcache/go/1.20.14/x64
---
#13 3.551 Building wheels for collected packages: reuse
#13 3.552 Building wheel for reuse (pyproject.toml): started
#13 3.877 Building wheel for reuse (pyproject.toml): finished with status 'done'
#13 3.878 Created wheel for reuse: filename=reuse-1.1.0-cp310-cp310-manylinux_2_35_x86_64.whl size=181117 sha256=f5f58750481f69515c2c0d1d503daf565e2565c370d07fc6aeb95fe3498b4269
#13 3.879 Stored in directory: /tmp/pip-ephem-wheel-cache-rt5oj3zg/wheels/c2/3c/b9/1120c2ab4bd82694f7e6f0537dc5b9a085c13e2c69a8d0c76d
#13 3.881 Installing collected packages: boolean-py, binaryornot, setuptools, reuse, python-debian, markupsafe, license-expression, jinja2, chardet
#13 3.903 Attempting uninstall: setuptools
#13 3.903 Found existing installation: setuptools 59.6.0
#13 3.905 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr
---
error[E0463]: can't find crate for `alloc`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:45:27
|
45 | #[cfg(feature = "alloc")] extern crate alloc;
error[E0463]: can't find crate for `core`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:41:5
|
---
error: cannot find macro `write` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:130:13
|
130 | write!(f, "Error {{ code: {} }}", self.code)
error: cannot find macro `write` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:147:13
|
|
147 | write!(f, "error code {}", self.code)
| ^^^^^
error: cannot find macro `cfg` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:90:8
|
90 | if cfg!(target_endian = "little") {
|
|
= note: `cfg` is in scope, but it is an attribute: `#[cfg]`
error: cannot find attribute `derive` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:115:3
|
115 | #[derive(Clone)]
115 | #[derive(Clone)]
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:175:9
|
175 | assert!(index < self.results.as_ref().len());
error: cannot find attribute `derive` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:284:3
|
|
284 | #[derive(Clone)]
| ^^^^^^
error: cannot find macro `assert` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:342:9
|
342 | assert!(index < self.results.as_ref().len());
error: cannot find macro `assert` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:19:5
|
|
19 | assert!(src.len() >= 4 * dst.len());
error: cannot find macro `assert` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:28:5
|
|
28 | assert!(src.len() >= 8 * dst.len());
error: cannot find attribute `test` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:34:3
|
|
34 | #[test]
| ^^^^
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:40:5
|
40 | assert_eq!(buf[0], 0x04030201);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:41:5
|
|
41 | assert_eq!(buf[3], 0x100F0E0D);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:45:5
|
|
45 | assert_eq!(buf[0], 0x05040302);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:46:5
|
|
46 | assert_eq!(buf[2], 0x0D0C0B0A);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:50:5
|
|
50 | assert_eq!(buf[0], 0x0807060504030201);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:51:5
|
|
51 | assert_eq!(buf[1], 0x100F0E0D0C0B0A09);
error: cannot find macro `assert_eq` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/le.rs:55:5
|
|
55 | assert_eq!(buf[0], 0x0F0E0D0C0B0A0908);
error[E0463]: can't find crate for `core`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:69:29
|
|
69 | let len = x.len() * core::mem::size_of::<Self>();
error[E0463]: can't find crate for `core`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:70:18
|
|
70 | unsafe { core::slice::from_raw_parts(ptr, len) }
| ^^^^ can't find crate
error[E0463]: can't find crate for `core`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:80:29
|
80 | let len = x.len() * core::mem::size_of::<Self>();
error[E0463]: can't find crate for `core`
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:81:18
|
---
error[E0405]: cannot find trait `AsMut` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:74:41
|
74 | type Results: AsRef<[Self::Item]> + AsMut<[Self::Item]> + Default;
error[E0405]: cannot find trait `Default` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:74:63
|
|
74 | type Results: AsRef<[Self::Item]> + AsMut<[Self::Item]> + Default;
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:123:40
|
|
123 | pub struct BlockRng<R: BlockRngCore + ?Sized> {
error[E0405]: cannot find trait `AsMut` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:183:50
|
|
183 | <R as BlockRngCore>::Results: AsRef<[u32]> + AsMut<[u32]>,
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:237:54
|
|
237 | fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:257:40
|
257 | fn from_rng<S: RngCore>(rng: S) -> Result<Self, Error> {
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:286:42
|
|
286 | pub struct BlockRng64<R: BlockRngCore + ?Sized> {
error[E0405]: cannot find trait `AsMut` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:351:50
|
|
351 | <R as BlockRngCore>::Results: AsRef<[u64]> + AsMut<[u64]>,
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:406:54
|
|
406 | fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
| ^^^^^^ not found in this scope
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:426:40
|
426 | fn from_rng<S: RngCore>(rng: S) -> Result<Self, Error> {
error[E0412]: cannot find type `Option` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:87:35
|
|
87 | pub fn raw_os_error(&self) -> Option<i32> {
error[E0531]: cannot find tuple struct or tuple variant `Some` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:95:13
|
|
95 | Some(code) if u32::from(code) < Self::INTERNAL_START => Some(u32::from(code) as i32),
error[E0425]: cannot find value `None` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:96:18
|
|
96 | _ => None,
| ^^^^ not found in this scope
error[E0412]: cannot find type `Option` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:106:27
|
106 | pub fn code(&self) -> Option<NonZeroU32> {
error[E0405]: cannot find trait `From` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:152:6
|
|
152 | impl From<NonZeroU32> for Error {
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:24:39
|
|
24 | pub fn next_u64_via_u32<R: RngCore + ?Sized>(rng: &mut R) -> u64 {
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:37:42
|
|
37 | pub fn fill_bytes_via_next<R: RngCore + ?Sized>(rng: &mut R, dest: &mut [u8]) {
error[E0405]: cannot find trait `Copy` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:55:19
|
|
55 | trait Observable: Copy {
| ^^^^ not found in this scope
error[E0405]: cannot find trait `AsRef` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:56:17
|
56 | type Bytes: AsRef<[u8]>;
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:159:40
|
|
159 | pub fn next_u32_via_fill<R: RngCore + ?Sized>(rng: &mut R) -> u32 {
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/impls.rs:166:40
|
|
166 | pub fn next_u64_via_fill<R: RngCore + ?Sized>(rng: &mut R) -> u64 {
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:184:54
|
---
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:292:16
|
292 | type Seed: Sized + Default + AsMut<[u8]>;
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:390:44
|
|
390 | fn from_rng<R: RngCore>(mut rng: R) -> Result<Self, Error> {
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:424:24
|
|
424 | impl<'a, R: RngCore + ?Sized> RngCore for &'a mut R {
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:441:54
|
|
441 | fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:450:20
|
450 | impl<R: RngCore + ?Sized> RngCore for Box<R> {
error[E0412]: cannot find type `Result` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:467:54
|
|
467 | fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> {
| ^^^^^^ not found in this scope
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:481:26
|
481 | impl<'a, R: CryptoRng + ?Sized> CryptoRng for &'a mut R {}
error[E0405]: cannot find trait `Sized` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:485:22
|
|
485 | impl<R: CryptoRng + ?Sized> CryptoRng for Box<R> {}
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:239:9
239 | Ok(())
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:258:9
|
258 | Ok(Self::new(R::from_rng(rng)?))
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:408:9
408 | Ok(())
| ^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/block.rs:427:9
|
427 | Ok(Self::new(R::from_rng(rng)?))
error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/error.rs:95:69
|
|
95 | Some(code) if u32::from(code) < Self::INTERNAL_START => Some(u32::from(code) as i32),
error[E0463]: can't find crate for `test`
--> library/test/src/stats/tests.rs:3:1
|
---
|
113 | Some(self.code)
| ^^^^ not found in this scope
error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
--> /cargo/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:393:9
|
393 | Ok(Self::from_seed(seed))
Some errors have detailed explanations: E0405, E0412, E0425, E0463, E0531.
For more information about an error, try `rustc --explain E0405`.
error: could not compile `rand_core` (lib) due to 71 previous errors
error: could not compile `rand_core` (lib) due to 71 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `test`
--> library/test/src/stats/tests.rs:43:1
|
42 | #[test]
| ------- in this procedural macro expansion
43 | / fn test_min_max_nan() {
44 | | let xs = &[1.0, 2.0, f64::NAN, 3.0, 4.0];
45 | | let summary = Summary::new(xs);
46 | | assert_eq!(summary.min, 1.0);
47 | | assert_eq!(summary.max, 4.0);
| |_^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1635:5
|
---
--> library/test/src/stats/tests.rs:51:1
|
50 | #[test]
| ------- in this procedural macro expansion
51 | / fn test_norm2() {
52 | | let val = &[958.0000000000, 924.0000000000];
53 | | let summ = &Summary {
54 | | sum: 1882.0000000000,
67 | | check(val, summ);
68 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:100:1
|
99 | #[test]
| ------- in this procedural macro expansion
100 | / fn test_norm10medium() {
101 | | let val = &[
102 | | 954.0000000000,
103 | | 1064.0000000000,
127 | | check(val, summ);
128 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:205:1
|
204 | #[test]
| ------- in this procedural macro expansion
205 | / fn test_exp10a() {
206 | | let val = &[
207 | | 23.0000000000,
208 | | 11.0000000000,
232 | | check(val, summ);
233 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:235:1
|
234 | #[test]
| ------- in this procedural macro expansion
235 | / fn test_exp10b() {
236 | | let val = &[
237 | | 24.0000000000,
238 | | 17.0000000000,
262 | | check(val, summ);
263 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:295:1
|
294 | #[test]
| ------- in this procedural macro expansion
295 | / fn test_exp25() {
296 | | let val = &[
297 | | 3.0000000000,
298 | | 24.0000000000,
337 | | check(val, summ);
338 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:340:1
|
339 | #[test]
| ------- in this procedural macro expansion
340 | / fn test_binom25() {
341 | | let val = &[
342 | | 18.0000000000,
343 | | 17.0000000000,
382 | | check(val, summ);
383 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:520:1
|
519 | #[test]
| ------- in this procedural macro expansion
520 | / fn test_unif25() {
521 | | let val = &[
522 | | 99.0000000000,
523 | | 55.0000000000,
562 | | check(val, summ);
563 | | }
| |_^ can't find crate
|
---
--> library/test/src/stats/tests.rs:566:1
|
565 | #[test]
| ------- in this procedural macro expansion
566 | / fn test_sum_f64s() {
567 | | assert_eq!([0.5f64, 3.2321f64, 1.5678f64].sum(), 5.2999);
| |_^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1635:5
|
---
--> library/test/src/stats/tests.rs:570:1
|
569 | #[test]
| ------- in this procedural macro expansion
570 | / fn test_sum_f64_between_ints_that_sum_to_0() {
571 | | assert_eq!([1e30f64, 1.2f64, -1e30f64].sum(), 1.2);
| |_^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1635:5
|
---
--> library/test/src/stats/tests.rs:575:1
|
574 | #[bench]
| -------- in this procedural macro expansion
575 | / pub fn sum_three_items(b: &mut Bencher) {
576 | | b.iter(|| {
577 | | [1e20f64, 1.5f64, -1e20f64].sum();
579 | | }
| |_^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1648:5
::: /checkout/library/core/src/macros/mod.rs:1648:5
|
1648 | pub macro bench($item:item) {
| --------------- in this expansion of `#[bench]`
error[E0463]: can't find crate for `test`
--> library/test/src/stats/tests.rs:581:1
|
580 | #[bench]
580 | #[bench]
| -------- in this procedural macro expansion
581 | / pub fn sum_many_f64(b: &mut Bencher) {
582 | | let nums = [-1e30f64, 1e60, 1e30, 1.0, -1e60];
583 | | let v = (0..500).map(|i| nums[i % 5]).collect::<Vec<_>>();
... |
587 | | })
588 | | }
| |_^ can't find crate
| |_^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1648:5
|
1648 | pub macro bench($item:item) {
| --------------- in this expansion of `#[bench]`
error[E0463]: can't find crate for `test`
--> library/test/src/stats/tests.rs:591:1
|
590 | #[bench]
590 | #[bench]
| -------- in this procedural macro expansion
591 | pub fn no_iter(_: &mut Bencher) {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
|
::: /checkout/library/core/src/macros/mod.rs:1648:5
|
1648 | pub macro bench($item:item) {
| --------------- in this expansion of `#[bench]`
error[E0463]: can't find crate for `test`
--> library/test/src/term/terminfo/searcher/tests.rs:5:1
|
3 | #[test]
3 | #[test]
| ------- in this procedural macro expansion
4 | #[ignore = "buildbots don't have ncurses installed and I can't mock everything I need"]
5 | / fn test_get_dbpath_for_term() {
6 | | // woefully inadequate test coverage
7 | | // note: current tests won't work with non-standard terminfo hierarchies (e.g., macOS's)
8 | | use std::env;
Last attempt successfully fixed the CI problem https://github.com/rust-lang/rust/actions/runs/8271344437/job/22630901673?pr=122205
reminder ping
cc @albertlarsan68
@bors r+
:pushpin: Commit 5aece7fad06baaa745784d118db862b3e3ccf7f8 has been approved by albertlarsan68
It is now in the queue for this repository.
:hourglass: Testing commit 5aece7fad06baaa745784d118db862b3e3ccf7f8 with merge 9d709549481f77a8ab3111e7da2156d8d8181cdb...
:sunny: Test successful - checks-actions Approved by: albertlarsan68 Pushing 9d709549481f77a8ab3111e7da2156d8d8181cdb to master...
Finished benchmarking commit (9d709549481f77a8ab3111e7da2156d8d8181cdb): comparison URL.
Overall result: no relevant changes - no action needed
@rustbot label: -perf-regression
Instruction count
This benchmark run did not return any relevant results for this metric.
Max RSS (memory usage)
Results
This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
mean | range | count | |
---|---|---|---|
Regressions ❌ (primary) |
- | - | 0 |
Regressions ❌ (secondary) |
- | - | 0 |
Improvements ✅ (primary) |
-1.5% | [-1.8%, -1.3%] | 3 |
Improvements ✅ (secondary) |
- | - | 0 |
All ❌✅ (primary) | -1.5% | [-1.8%, -1.3%] | 3 |
Cycles
Results
This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
mean | range | count | |
---|---|---|---|
Regressions ❌ (primary) |
0.6% | [0.6%, 0.6%] | 1 |
Regressions ❌ (secondary) |
2.4% | [2.4%, 2.4%] | 1 |
Improvements ✅ (primary) |
-0.6% | [-0.8%, -0.5%] | 2 |
Improvements ✅ (secondary) |
- | - | 0 |
All ❌✅ (primary) | -0.2% | [-0.8%, 0.6%] | 3 |
Binary size
This benchmark run did not return any relevant results for this metric.
Bootstrap: 672.049s -> 670.576s (-0.22%) Artifact size: 315.66 MiB -> 315.77 MiB (0.03%)