Skip to content

perf: remove unnecessary heap allocation (#7731) #560

perf: remove unnecessary heap allocation (#7731)

perf: remove unnecessary heap allocation (#7731) #560

Triggered via push September 4, 2023 12:00
Status Failure
Total duration 3m 14s
Artifacts

lint-cli.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
usage of an `Arc` that is not `Send` or `Sync`: core/tauri-runtime-wry/src/lib.rs#L2806
error: usage of an `Arc` that is not `Send` or `Sync` --> core/tauri-runtime-wry/src/lib.rs:2806:14 | 2806 | inner: Arc::new(webview), | ^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `WebView` = note: the trait `Sync` is not implemented for `WebView` = note: required for `Arc<WebView>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
usage of an `Arc` that is not `Send` or `Sync`: core/tauri-runtime-wry/src/lib.rs#L1819
error: usage of an `Arc` that is not `Send` or `Sync` --> core/tauri-runtime-wry/src/lib.rs:1819:19 | 1819 | let windows = Arc::new(RefCell::new(HashMap::default())); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `RefCell<HashMap<u64, WindowWrapper>>` = note: the trait `Sync` is not implemented for `RefCell<HashMap<u64, WindowWrapper>>` = note: required for `Arc<RefCell<HashMap<u64, WindowWrapper>>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`
usage of an `Arc` that is not `Send` or `Sync`: src/interface/rust.rs#L454
error: usage of an `Arc` that is not `Send` or `Sync` --> src/interface/rust.rs:454:19 | 454 | let process = Arc::new(Mutex::new(child)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `Mutex<Box<dyn DevProcess>>` = note: the trait `Sync` is not implemented for `Mutex<Box<dyn DevProcess>>` = note: required for `Arc<Mutex<Box<dyn DevProcess>>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`
usage of an `Arc` that is not `Send` or `Sync`: src/interface/rust.rs#L454
error: usage of an `Arc` that is not `Send` or `Sync` --> src/interface/rust.rs:454:19 | 454 | let process = Arc::new(Mutex::new(child)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the trait `Send` is not implemented for `Mutex<Box<dyn DevProcess>>` = note: the trait `Sync` is not implemented for `Mutex<Box<dyn DevProcess>>` = note: required for `Arc<Mutex<Box<dyn DevProcess>>>` to implement `Send` and `Sync` = help: consider using an `Rc` instead or wrapping the inner type with a `Mutex` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync = note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`
clippy
Clippy had exited with the 101 exit code
fmt
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. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
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/
fmt
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/
fmt
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/
fmt
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/
clippy
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/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/
clippy
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/
clippy
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/
clippy
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/
clippy
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/