Skip to content

Merge pull request #137 from morisja/rustfmt #855

Merge pull request #137 from morisja/rustfmt

Merge pull request #137 from morisja/rustfmt #855

Triggered via push October 11, 2024 22:19
Status Success
Total duration 3m 11s
Artifacts 3

test.yml

on: push
build-debian-package-11
1m 44s
build-debian-package-11
build-debian-package-12
1m 13s
build-debian-package-12
build-debian-package-13
1m 12s
build-debian-package-13
build-debian-11
1m 4s
build-debian-11
build-debian-12
43s
build-debian-12
build-debian-13
48s
build-debian-13
clippy
10s
clippy
run-ci-debian-11
23s
run-ci-debian-11
run-enhanced-ci-debian-11
1m 10s
run-enhanced-ci-debian-11
run-ci-debian-12
21s
run-ci-debian-12
run-ci-ubuntu-latest
8s
run-ci-ubuntu-latest
run-ci-debian-13
20s
run-ci-debian-13
create-release
0s
create-release
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
non-local `impl` definition, `impl` blocks should be written at the same level as their item: src/protocol.rs#L46
error: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/protocol.rs:46:45 | 46 | #[derive(Clone, Copy, Debug, FromPrimitive, ToPrimitive)] | ^---------- | | | `ToPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_RequestType` 47 | #[allow(clippy::upper_case_acronyms)] 48 | pub enum RequestType { | ----------- `RequestType` is not local | = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
non-local `impl` definition, `impl` blocks should be written at the same level as their item: src/protocol.rs#L46
error: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/protocol.rs:46:30 | 46 | #[derive(Clone, Copy, Debug, FromPrimitive, ToPrimitive)] | ^------------ | | | `FromPrimitive` is not local | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_RequestType` 47 | #[allow(clippy::upper_case_acronyms)] 48 | pub enum RequestType { | ----------- `RequestType` is not local | = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363> = note: `-D non-local-definitions` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(non_local_definitions)]` = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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 following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-debian-package-12
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-debian-package-13
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-ci-debian-12
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build-debian-package-11
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-ci-debian-13
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-ci-ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-ci-debian-11
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run-enhanced-ci-debian-11
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "deb-package-debian-11", "deb-package-debian-12", "deb-package-debian-13". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
deb-package-debian-11 Expired
13.1 MB
deb-package-debian-12 Expired
13.6 MB
deb-package-debian-13 Expired
13.6 MB