Skip to content

wip

wip #517

Triggered via push December 24, 2024 12:29
Status Failure
Total duration 8m 41s
Artifacts

rust.yml

on: push
build-test-win
7m 31s
build-test-win
build-test-msvc
0s
build-test-msvc
build-test-mac
2m 44s
build-test-mac
build-ubuntu-quickjs-ng
1m 1s
build-ubuntu-quickjs-ng
build
8m 30s
build
test-and-valgrind
0s
test-and-valgrind
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 7 warnings
build-ubuntu-quickjs-ng
Process completed with exit code 1.
this let-binding has unit value: src/quickjsvalueadapter.rs#L123
error: this let-binding has unit value --> src/quickjsvalueadapter.rs:123:17 | 123 | let _ = libquickjs_sys::JS_DupValue(self.context, *self.borrow_value()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: omit the `let` binding: `libquickjs_sys::JS_DupValue(self.context, *self.borrow_value());` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value = note: `-D clippy::let-unit-value` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`
empty line after doc comment: src/quickjsrealmadapter.rs#L218
error: empty line after doc comment --> src/quickjsrealmadapter.rs:218:5 | 218 | / /// evaluate a script 219 | | | |_ 220 | pub fn eval(&self, script: Script) -> Result<QuickJsValueAdapter, JsError> { | -------------------------------------------------------------------------- the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty line is unintentional remove it
empty line after doc comment: src/quickjs_utils/arrays.rs#L94
error: empty line after doc comment --> src/quickjs_utils/arrays.rs:94:1 | 94 | / /// ``` 95 | | | |_ 96 | pub fn create_array_q(q_ctx: &QuickJsRealmAdapter) -> Result<QuickJsValueAdapter, JsError> { | ------------------------------------------------------------------------------------------ the comment documents this function | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty line is unintentional remove it
empty line after doc comment: src/features/setimmediate.rs#L17
error: empty line after doc comment --> src/features/setimmediate.rs:17:1 | 17 | / /// ``` 18 | | | |_ 19 | pub fn init(q_js_rt: &QuickJsRuntimeAdapter) -> Result<(), JsError> { | ------------------------------------------------------------------- the comment documents this function | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]` = help: if the empty line is unintentional remove it
unneeded unit expression: src/quickjsvalueadapter.rs#L125
error: unneeded unit expression --> src/quickjsvalueadapter.rs:125:13 | 125 | () | ^^ help: remove the final `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `-D clippy::unused-unit` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unused_unit)]`
build
Clippy had exited with the 101 exit code
build
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
build-ubuntu-quickjs-ng
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build-test-win
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/
build-test-win
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/
build-test-win
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/
build-test-win
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/
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636