Skip to content

Merge pull request #3 from SorenHolstHansen/browser #30

Merge pull request #3 from SorenHolstHansen/browser

Merge pull request #3 from SorenHolstHansen/browser #30

Triggered via push March 4, 2024 18:34
Status Success
Total duration 42s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
usage of an `Arc` that is not `Send` and `Sync`: src/helpers.rs#L92
warning: usage of an `Arc` that is not `Send` and `Sync` --> src/helpers.rs:92:19 | 92 | let closure = Arc::new(Closure::new(func2)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `Arc<Closure<dyn Fn(JsValue)>>` is not `Send` and `Sync` as: = note: - the trait `Send` is not implemented for `Closure<dyn Fn(JsValue)>` = note: - the trait `Sync` is not implemented for `Closure<dyn Fn(JsValue)>` = help: consider using an `Rc` instead. `Arc` does not provide benefits for non `Send` and `Sync` types = note: if you intend to use `Arc` with `Send` and `Sync` traits = note: wrap the inner type with a `Mutex` or implement `Send` and `Sync` for `Closure<dyn Fn(JsValue)>` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default
unneeded sub `cfg` when there is only one condition: src/status_bar.rs#L42
warning: unneeded sub `cfg` when there is only one condition --> src/status_bar.rs:42:11 | 42 | #[cfg(any(feature = "android"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "android"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/status_bar.rs#L33
warning: unneeded sub `cfg` when there is only one condition --> src/status_bar.rs:33:11 | 33 | #[cfg(any(feature = "android"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "android"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/extern_functions.rs#L291
warning: unneeded sub `cfg` when there is only one condition --> src/extern_functions.rs:291:7 | 291 | #[cfg(all(feature = "rate_plugin"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "rate_plugin"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/app.rs#L104
warning: unneeded sub `cfg` when there is only one condition --> src/app.rs:104:11 | 104 | #[cfg(any(feature = "android"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "android"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
unneeded sub `cfg` when there is only one condition: src/app.rs#L96
warning: unneeded sub `cfg` when there is only one condition --> src/app.rs:96:11 | 96 | #[cfg(any(feature = "android"))] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "android"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg = note: `#[warn(clippy::non_minimal_cfg)]` on by default
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, 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-rs/toolchain@v1, actions-rs/cargo@v1, 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/
Build
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
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
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
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/