Skip to content

fix lint

fix lint #145

Triggered via push May 15, 2024 18:58
Status Success
Total duration 1m 33s
Artifacts 1

coverage.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
needless `fn main` in doctest: src/../README.md#L28
error: needless `fn main` in doctest --> src/../README.md:28:1 | 28 | / use ringbuffer::{AllocRingBuffer, RingBuffer}; 29 | | 30 | | fn main() { 31 | | let mut buffer = AllocRingBuffer::with_capacity(2); ... | 46 | | assert_eq!(buffer.to_vec(), vec![42, 1]); 47 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main note: the lint level is defined here --> src/lib.rs:3:9 | 3 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(clippy::needless_doctest_main)]` implied by `#[deny(warnings)]`
needless `fn main` in doctest: src/../README.md#L28
error: needless `fn main` in doctest --> src/../README.md:28:1 | 28 | / use ringbuffer::{AllocRingBuffer, RingBuffer}; 29 | | 30 | | fn main() { 31 | | let mut buffer = AllocRingBuffer::with_capacity(2); ... | 46 | | assert_eq!(buffer.to_vec(), vec![42, 1]); 47 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main note: the lint level is defined here --> src/lib.rs:3:9 | 3 | #![deny(warnings)] | ^^^^^^^^ = note: `#[deny(clippy::needless_doctest_main)]` implied by `#[deny(warnings)]`
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "github-pages". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner/work' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner/work/ringbuffer' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner/work/ringbuffer/ringbuffer' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner/work/ringbuffer/ringbuffer/src' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
Invalid file permissions automatically fixed
mode of './target/llvm-cov/html/coverage/home/runner/work/ringbuffer/ringbuffer/src/with_alloc' changed from 0750 (rwxr-x---) to 0755 (rwxr-xr-x)
coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3, nwtgck/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
github-pages Expired
620 KB