Skip to content

rust: update rust, dependencies; fix errors #59

rust: update rust, dependencies; fix errors

rust: update rust, dependencies; fix errors #59

Triggered via push January 17, 2024 21:11
Status Failure
Total duration 49s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 7 warnings
rustfmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
no method named `alloc_bytes` found for reference `&allocator::BumpAlloc<T>` in the current scope: theon/src/allocator.rs#L106
error[E0599]: no method named `alloc_bytes` found for reference `&allocator::BumpAlloc<T>` in the current scope --> theon/src/allocator.rs:106:18 | 106 | self.alloc_bytes(layout.align(), layout.size()) | ^^^^^^^^^^^ method not found in `&BumpAlloc<T>`
lint
Clippy had exited with the 101 exit code
test
Process completed with exit code 1.
unused import: `Ordering`: theon/src/allocator.rs#L8
warning: unused import: `Ordering` --> theon/src/allocator.rs:8:39 | 8 | use core::sync::atomic::{AtomicUsize, Ordering}; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
field `0` is never read: x86_64/src/vm.rs#L156
warning: field `0` is never read --> x86_64/src/vm.rs:156:10 | 156 | Next(PTE), | ---- ^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 156 | Next(()), | ~~
field `0` is never read: x86_64/src/vm.rs#L150
warning: field `0` is never read --> x86_64/src/vm.rs:150:10 | 150 | Next(PTE), | ---- ^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 150 | Next(()), | ~~
field `0` is never read: x86_64/src/vm.rs#L145
warning: field `0` is never read --> x86_64/src/vm.rs:145:10 | 145 | Next(PTE), | ---- ^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 145 | Next(()), | ~~
field `0` is never read: x86_64/src/trap.rs#L56
warning: field `0` is never read --> x86_64/src/trap.rs:56:17 | 56 | pub struct Stub(usize); | ---- ^^^^^ | | | field in this struct | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 56 | pub struct Stub(()); | ~~
field `0` is never read: x86_64/src/lib.rs#L199
warning: field `0` is never read --> x86_64/src/lib.rs:199:19 | 199 | pub struct PF512G(HPA); | ------ ^^^ | | | field in this struct | = note: `PF512G` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 199 | pub struct PF512G(()); | ~~
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/