Skip to content

.github/workflows/workspace.yml #1217

.github/workflows/workspace.yml

.github/workflows/workspace.yml #1217

Triggered via schedule February 12, 2025 15:18
Status Failure
Total duration 1d 1h 10m 38s
Artifacts

workspace.yml

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

Annotations

8 errors and 20 warnings
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 (stable, 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 (1.81.0, macos-12, x86_64-apple-darwin)
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
build-and-test (beta, macos-12, x86_64-apple-darwin)
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
build-and-test (stable, macos-12, x86_64-apple-darwin)
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
build-and-test (nightly, macos-12, x86_64-apple-darwin)
This request was automatically failed because there were no enabled runners online to process the request for more than 1 days.
build-and-test (stable, 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 (stable, 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 (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-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 (stable, 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 (stable, 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 (stable, 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
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