Skip to content

.github/workflows/workspace.yml #1153

.github/workflows/workspace.yml

.github/workflows/workspace.yml #1153

Triggered via schedule December 12, 2024 15:18
Status Cancelled
Total duration 41m 47s
Artifacts

workspace.yml

on: schedule
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 20 warnings
build-and-test (nightly, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
build-and-test (nightly, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
build-and-test (beta, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
build-and-test (beta, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
build-and-test (1.81.0, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
build-and-test (1.81.0, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
build-and-test (stable, macos-12, x86_64-apple-darwin)
The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721
build-and-test (stable, macos-12, x86_64-apple-darwin)
GitHub Actions has encountered an internal error when running your job.
build-and-test (stable, windows-2022, x86_64-pc-windows-msvc)
Process completed with exit code 1.
build-and-test (beta, windows-2022, x86_64-pc-windows-msvc)
Process completed with exit code 1.
build-and-test (1.81.0, windows-2022, x86_64-pc-windows-msvc)
Process completed with exit code 1.
build-and-test (nightly, windows-2022, x86_64-pc-windows-msvc)
Process completed with exit code 1.
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L65
warning: variable does not need to be mutable --> python-packed-resources/src/parser.rs:65:13 | 65 | let mut state = self.blob_sections[resource_field as usize] | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L516
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/parser.rs:516:23 | 516 | pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 516 - pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { 516 + pub fn load_resources(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> { |
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L530
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/parser.rs:530:22 | 530 | fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 530 - fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { 530 + fn load_resources_v3(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> { |
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/resource.rs#L120
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/resource.rs:120:6 | 120 | impl<'a, X> Default for Resource<'a, X> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 120 - impl<'a, X> Default for Resource<'a, X> 120 + impl<X> Default for Resource<'_, X> |
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L44
warning: this `impl` can be derived --> python-packaging/src/interpreter.rs:44:1 | 44 | / impl Default for PythonInterpreterProfile { 45 | | fn default() -> Self { 46 | | PythonInterpreterProfile::Isolated 47 | | } 48 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it... | 28 + #[derive(Default)] 29 | pub enum PythonInterpreterProfile { | help: ...and mark the default variant | 34 ~ #[default] 35 ~ Isolated, |
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L50
warning: direct implementation of `ToString` --> python-packaging/src/interpreter.rs:50:1 | 50 | / impl ToString for PythonInterpreterProfile { 51 | | fn to_string(&self) -> String { 52 | | match self { 53 | | Self::Isolated => "isolated", ... | 57 | | } 58 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl = note: `#[warn(clippy::to_string_trait_impl)]` on by default
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L138
warning: direct implementation of `ToString` --> python-packaging/src/interpreter.rs:138:1 | 138 | / impl ToString for TerminfoResolution { 139 | | fn to_string(&self) -> String { 140 | | match self { 141 | | Self::Dynamic => "dynamic".to_string(), ... | 145 | | } 146 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L246
warning: direct implementation of `ToString` --> python-packaging/src/interpreter.rs:246:1 | 246 | / impl ToString for MemoryAllocatorBackend { 247 | | fn to_string(&self) -> String { 248 | | match self { 249 | | Self::Default => "default", ... | 256 | | } 257 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L309
warning: direct implementation of `ToString` --> python-packaging/src/interpreter.rs:309:1 | 309 | / impl ToString for CoerceCLocale { 310 | | fn to_string(&self) -> String { 311 | | match self { 312 | | Self::LCCtype => "LC_CTYPE", ... | 316 | | } 317 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
build-and-test (stable, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packaging/src/interpreter.rs#L370
warning: direct implementation of `ToString` --> python-packaging/src/interpreter.rs:370:1 | 370 | / impl ToString for BytesWarning { 371 | | fn to_string(&self) -> String { 372 | | match self { 373 | | Self::None => "none", ... | 378 | | } 379 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): tugger-common/src/http.rs#L118
warning: a method with this name may be added to the standard library in the future --> tugger-common/src/http.rs:118:18 | 118 | lock.unlock().context("unlocking")?; | ^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919> = help: call with fully qualified syntax `fs2::FileExt::unlock(...)` to keep using the current method = note: `#[warn(unstable_name_collisions)]` on by default
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): tugger-common/src/http.rs#L143
warning: a method with this name may be added to the standard library in the future --> tugger-common/src/http.rs:143:10 | 143 | lock.unlock().context("unlocking")?; | ^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919> = help: call with fully qualified syntax `fs2::FileExt::unlock(...)` to keep using the current method
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L65
warning: variable does not need to be mutable --> python-packed-resources/src/parser.rs:65:13 | 65 | let mut state = self.blob_sections[resource_field as usize] | ----^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L516
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/parser.rs:516:23 | 516 | pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 516 - pub fn load_resources<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { 516 + pub fn load_resources(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> { |
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/parser.rs#L530
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/parser.rs:530:22 | 530 | fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 530 - fn load_resources_v3<'a>(data: &'a [u8]) -> Result<ResourceParserIterator<'a>, &'static str> { 530 + fn load_resources_v3(data: &[u8]) -> Result<ResourceParserIterator<'_>, &'static str> { |
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/resource.rs#L120
warning: the following explicit lifetimes could be elided: 'a --> python-packed-resources/src/resource.rs:120:6 | 120 | impl<'a, X> Default for Resource<'a, X> | ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 120 - impl<'a, X> Default for Resource<'a, X> 120 + impl<X> Default for Resource<'_, X> |
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/writer.rs#L281
warning: needless call to `as_bytes()` --> python-packed-resources/src/writer.rs:281:36 | 281 | ResourceField::Name => self.name.as_bytes().len(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.name.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes = note: `#[warn(clippy::needless_as_bytes)]` on by default
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/writer.rs#L323
warning: needless call to `as_bytes()` --> python-packed-resources/src/writer.rs:323:45 | 323 | .map(|(key, value)| key.as_bytes().len() + value.len()) | ^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `key.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/writer.rs#L333
warning: needless call to `as_bytes()` --> python-packed-resources/src/writer.rs:333:45 | 333 | .map(|(key, value)| key.as_bytes().len() + value.len()) | ^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `key.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
build-and-test (beta, ubuntu-22.04, x86_64-unknown-linux-gnu): python-packed-resources/src/writer.rs#L348
warning: needless call to `as_bytes()` --> python-packed-resources/src/writer.rs:348:42 | 348 | names.iter().map(|s| s.as_bytes().len()).sum() | ^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `s.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes