Skip to content

[bloodstone] merge empty leaf with right sibling, consuming right sibling #1003

[bloodstone] merge empty leaf with right sibling, consuming right sibling

[bloodstone] merge empty leaf with right sibling, consuming right sibling #1003

Triggered via pull request May 9, 2025 07:29
Status Failure
Total duration 39s
Artifacts

test.yml

on: pull_request
clippy_check
32s
clippy_check
Example Tests
2s
Example Tests
Cross Compile
18s
Cross Compile
Burn In
2s
Burn In
Sanitizers
2s
Sanitizers
Matrix: default
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 16 warnings
Cargo Test on ubuntu-latest
Missing download info for actions/cache@v2
Cargo Test on macos-latest
Missing download info for actions/cache@v2
Burn In
Missing download info for actions/cache@v2
Example Tests
Missing download info for actions/cache@v2
Sanitizers
Missing download info for actions/cache@v2
Cargo Test on windows-latest
Missing download info for actions/cache@v2
Cross Compile
Process completed with exit code 101.
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L77
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:77:47 | 77 | RESIDENT.fetch_sub(layout.size(), Ordering::Relaxed); | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L76
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:76:44 | 76 | FREED.fetch_add(layout.size(), Ordering::Relaxed); | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L69
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:69:47 | 69 | RESIDENT.fetch_add(layout.size(), Ordering::Relaxed); | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L68
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:68:48 | 68 | ALLOCATED.fetch_add(layout.size(), Ordering::Relaxed); | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L58
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:58:23 | 58 | RESIDENT.load(Ordering::Relaxed) | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L54
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:54:23 | 54 | FREED.swap(0, Ordering::Relaxed) | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `Ordering`: src/alloc.rs#L50
error[E0433]: failed to resolve: use of undeclared type `Ordering` --> src/alloc.rs:50:27 | 50 | ALLOCATED.swap(0, Ordering::Relaxed) | ^^^^^^^^ use of undeclared type `Ordering` | = note: enum `crate::heap::sys_io::Ordering` exists but is inaccessible help: consider importing one of these enums | 40 + use std::cmp::Ordering; | 40 + use std::sync::atomic::Ordering; |
failed to resolve: use of undeclared type `AtomicUsize`: src/alloc.rs#L47
error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` --> src/alloc.rs:47:36 | 47 | static RESIDENT: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ use of undeclared type `AtomicUsize` | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
cannot find type `AtomicUsize` in this scope: src/alloc.rs#L47
error[E0412]: cannot find type `AtomicUsize` in this scope --> src/alloc.rs:47:22 | 47 | static RESIDENT: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
failed to resolve: use of undeclared type `AtomicUsize`: src/alloc.rs#L46
error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` --> src/alloc.rs:46:33 | 46 | static FREED: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ use of undeclared type `AtomicUsize` | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
cannot find type `AtomicUsize` in this scope: src/alloc.rs#L46
error[E0412]: cannot find type `AtomicUsize` in this scope --> src/alloc.rs:46:19 | 46 | static FREED: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
failed to resolve: use of undeclared type `AtomicUsize`: src/alloc.rs#L45
error[E0433]: failed to resolve: use of undeclared type `AtomicUsize` --> src/alloc.rs:45:37 | 45 | static ALLOCATED: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ use of undeclared type `AtomicUsize` | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
cannot find type `AtomicUsize` in this scope: src/alloc.rs#L45
error[E0412]: cannot find type `AtomicUsize` in this scope --> src/alloc.rs:45:23 | 45 | static ALLOCATED: AtomicUsize = AtomicUsize::new(0); | ^^^^^^^^^^^ not found in this scope | help: consider importing this struct | 40 + use std::sync::atomic::AtomicUsize; |
the name `alloc` is defined multiple times: src/alloc.rs#L39
error[E0428]: the name `alloc` is defined multiple times --> src/alloc.rs:39:1 | 14 | mod alloc { | --------- previous definition of the module `alloc` here ... 39 | mod alloc { | ^^^^^^^^^ `alloc` redefined here | = note: `alloc` must be defined only once in the type namespace of this module
clippy_check
Clippy had exited with the 101 exit code
Cargo Test on macos-latest
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Example Tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Cargo Test on ubuntu-latest
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Burn In
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Sanitizers
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Cargo Test on windows-latest
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block: src/alloc.rs#L33
warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::dealloc` is unsafe and requires unsafe block --> src/alloc.rs:33:13 | 33 | System.dealloc(ptr, layout) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html> = note: consult the function's documentation for information on how to avoid undefined behavior
call to unsafe function `std::intrinsics::write_bytes` is unsafe and requires unsafe block: src/alloc.rs#L32
warning[E0133]: call to unsafe function `std::intrinsics::write_bytes` is unsafe and requires unsafe block --> src/alloc.rs:32:13 | 32 | std::ptr::write_bytes(ptr, 0xde, layout.size()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html> = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> src/alloc.rs:31:9 | 31 | unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
call to unsafe function `std::intrinsics::write_bytes` is unsafe and requires unsafe block: src/alloc.rs#L27
warning[E0133]: call to unsafe function `std::intrinsics::write_bytes` is unsafe and requires unsafe block --> src/alloc.rs:27:13 | 27 | std::ptr::write_bytes(ret, 0xa1, layout.size()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html> = note: consult the function's documentation for information on how to avoid undefined behavior
call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block: src/alloc.rs#L25
warning[E0133]: call to unsafe function `std::alloc::GlobalAlloc::alloc` is unsafe and requires unsafe block --> src/alloc.rs:25:23 | 25 | let ret = System.alloc(layout); | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html> = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> src/alloc.rs:24:9 | 24 | unsafe fn alloc(&self, layout: Layout) -> *mut u8 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default
unused import: `alloc::*`: src/alloc.rs#L5
warning: unused import: `alloc::*` --> src/alloc.rs:5:9 | 5 | pub use alloc::*; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
redundant field names in struct initialization: src/object_cache.rs#L713
warning: redundant field names in struct initialization --> src/object_cache.rs:713:25 | 713 | collection_id: collection_id, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `collection_id` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names = note: `#[warn(clippy::redundant_field_names)]` on by default
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/