Skip to content

DIS-1449 add resource limits to executor config and spawn opts #7

DIS-1449 add resource limits to executor config and spawn opts

DIS-1449 add resource limits to executor config and spawn opts #7

Triggered via pull request December 15, 2023 20:21
Status Success
Total duration 14s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

rustfmt.yml

on: pull_request
check-rust-format
4s
check-rust-format
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
cannot move out of `self.cpu_period` which is behind a shared reference: plane2/src/types.rs#L285
error[E0507]: cannot move out of `self.cpu_period` which is behind a shared reference --> plane2/src/types.rs:285:26 | 285 | let cpu_period = self.cpu_period.unwrap_or_default(); | ^^^^^^^^^^^^^^^ ------------------- `self.cpu_period` moved due to this method call | | | help: consider calling `.as_ref()` or `.as_mut()` to borrow the type's contents | move occurs because `self.cpu_period` has type `std::option::Option<types::DockerCpuPeriod>`, which does not implement the `Copy` trait | note: `std::option::Option::<T>::unwrap_or_default` takes ownership of the receiver `self`, which moves `self.cpu_period` --> /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/option.rs:1004:30 help: you can `clone` the value and consume it, but this might not be your desired behavior | 285 | let cpu_period = self.cpu_period.clone().unwrap_or_default(); | ++++++++
check-rust-format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
check-rust-format
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/
check-rust-format
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/
check-rust-format
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/
check-rust-format
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/