Skip to content

Update README.md

Update README.md #504

Triggered via push April 29, 2024 10:26
Status Failure
Total duration 9m 31s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
build-test-mac
Process completed with exit code 101.
initializer for `thread_local` value can be made `const`: src/quickjsruntimeadapter.rs#L274
error: initializer for `thread_local` value can be made `const` --> src/quickjsruntimeadapter.rs:274:36 | 274 | static NESTED: RefCell<bool> = RefCell::new(false); | ^^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(false) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const
initializer for `thread_local` value can be made `const`: src/quickjsruntimeadapter.rs#L249
error: initializer for `thread_local` value can be made `const` --> src/quickjsruntimeadapter.rs:249:72 | 249 | pub(crate) static QJS_RT: RefCell<Option<QuickJsRuntimeAdapter >> = { | ________________________________________________________________________^ 250 | | RefCell::new(None) 251 | | }; | |____^ help: replace with: `const { RefCell::new(None) }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const = note: `-D clippy::thread-local-initializer-can-be-made-const` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::thread_local_initializer_can_be_made_const)]`
build
Clippy had exited with the 101 exit code
build-test-mac
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-test-win
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-test-win
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, 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/