Skip to content

mini-alloc: a very simple bump allocator #93

mini-alloc: a very simple bump allocator

mini-alloc: a very simple bump allocator #93

Triggered via pull request November 30, 2023 04:03
Status Failure
Total duration 46s
Artifacts

linux.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 warnings
(x86_64-unknown-linux-gnu, stable)
Process completed with exit code 101.
(x86_64-unknown-linux-gnu, nightly)
Process completed with exit code 101.
a `const` item should never be interior mutable: mini-alloc/src/lib.rs#L32
warning: a `const` item should never be interior mutable --> mini-alloc/src/lib.rs:32:5 | 32 | / pub const INIT: Self = MiniAlloc { 33 | | start: Cell::new(0), 34 | | }; | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const = note: `#[warn(clippy::declare_interior_mutable_const)]` on by default
use of a fallible conversion when an infallible one could be used: stylus-sdk/src/storage/map.rs#L189
warning: use of a fallible conversion when an infallible one could be used --> stylus-sdk/src/storage/map.rs:189:32 | 189 | let int: U160 = self.0.try_into().unwrap(); | ^^^^^^^^^^^^^^^^^^^ help: use: `into()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions = note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
a `const` item should never be interior mutable: mini-alloc/src/lib.rs#L32
warning: a `const` item should never be interior mutable --> mini-alloc/src/lib.rs:32:5 | 32 | / pub const INIT: Self = MiniAlloc { 33 | | start: Cell::new(0), 34 | | }; | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#declare_interior_mutable_const = note: `#[warn(clippy::declare_interior_mutable_const)]` on by default