Skip to content

Borrow Cargo.toml's profile.release from RustDesk for better binary #186

Borrow Cargo.toml's profile.release from RustDesk for better binary

Borrow Cargo.toml's profile.release from RustDesk for better binary #186

Triggered via pull request October 13, 2024 09:58
Status Failure
Total duration 2m 32s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 47 warnings
clippy: target/debug/build/hbb_common-b1e28a674a760abe/out/protos/message.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
clippy: target/debug/build/hbb_common-b1e28a674a760abe/out/protos/rendezvous.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
clippy: libs/hbb_common/src/tcp.rs#L230
if let can be simplified with `.unwrap_or_default()`
clippy: libs/hbb_common/src/udp.rs#L154
if let can be simplified with `.unwrap_or_default()`
clippy: libs/hbb_common/src/lib.rs#L162
usage of a legacy numeric method
clippy: libs/hbb_common/src/lib.rs#L202
`flatten()` will run forever if the iterator repeatedly produces an `Err`
clippy
could not compile `hbb_common` (lib) due to 6 previous errors
clippy
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
fmt
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check: target/debug/build/hbb_common-c44480a6c91e8091/out/protos/message.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
check: target/debug/build/hbb_common-c44480a6c91e8091/out/protos/rendezvous.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
check
`hbb_common` (lib) generated 2 warnings (2 duplicates)
check
`hbb_common` (lib) generated 2 warnings
check: src/database.rs#L41
fields `id`, `user`, and `status` are never read
check
`hbbs` (lib) generated 1 warning
check
the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
check
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
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
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
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/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
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/
test
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/
test
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/
test
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/
test: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/message.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
test: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/rendezvous.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
test
`hbb_common` (lib) generated 2 warnings
test: src/database.rs#L41
fields `id`, `user`, and `status` are never read
test
`hbb_common` (lib) generated 2 warnings (2 duplicates)
test
`hbb_common` (lib test) generated 2 warnings (2 duplicates)
test
the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
test: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/message.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
test: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/rendezvous.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
test
2 warnings emitted
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@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/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
clippy
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/
clippy
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/
clippy
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/
clippy
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/
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
fmt: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/message.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
fmt: target/debug/build/hbb_common-0f5da995e3d8afff/out/protos/rendezvous.rs#L12
lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
fmt
`hbb_common` (lib) generated 2 warnings (2 duplicates)
fmt: src/database.rs#L41
fields `id`, `user`, and `status` are never read
fmt
`hbbs` (lib) generated 1 warning
fmt
the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
fmt
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/
fmt
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/
fmt
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/
fmt
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/