Merge pull request #143 from morisja/ignore_zero_port #894
test.yml
on: push
build-debian-package-11
1m 51s
build-debian-package-12
1m 18s
build-debian-package-13
1m 22s
build-debian-11
1m 15s
build-debian-12
1m 0s
build-debian-13
1m 0s
clippy
25s
create-release
0s
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 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: `-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/
|
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/
|
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-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
|
13.1 MB |
|
deb-package-debian-12
|
13.6 MB |
|
deb-package-debian-13
|
13.6 MB |
|