Skip to content

Improve final binary size #486

Improve final binary size

Improve final binary size #486

Status Failure
Total duration 3m 59s
Artifacts

test.yml

on: pull_request
Matrix: internal-tests
test-embedded-size
0s
test-embedded-size
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 4 warnings
internal-tests (common)
Process completed with exit code 101.
internal-tests (slugs)
Process completed with exit code 101.
internal-tests (icarous)
The job was canceled because "common" failed.
internal-tests (icarous)
Process completed with exit code 101.
internal-tests (minimal)
The job was canceled because "common" failed.
internal-tests (minimal)
Process completed with exit code 101.
internal-tests (standard)
The job was canceled because "common" failed.
internal-tests (standard)
Process completed with exit code 101.
internal-tests (test)
The job was canceled because "common" failed.
internal-tests (test)
The operation was canceled.
internal-tests (uavionix)
The job was canceled because "common" failed.
internal-tests (uavionix)
The operation was canceled.
internal-tests (ardupilotmega)
The job was canceled because "common" failed.
internal-tests (ardupilotmega)
The operation was canceled.
internal-tests (paparazzi)
The job was canceled because "common" failed.
internal-tests (paparazzi)
The operation was canceled.
internal-tests (python_array_test)
The job was canceled because "common" failed.
internal-tests (python_array_test)
The operation was canceled.
internal-tests (matrixpilot)
The job was canceled because "common" failed.
internal-tests (matrixpilot)
The operation was canceled.
internal-tests (asluav)
The job was canceled because "common" failed.
internal-tests (asluav)
The operation was canceled.
internal-tests (ualberta)
The job was canceled because "common" failed.
internal-tests (ualberta)
The operation was canceled.
this comparison involving the minimum or maximum element for this type contains a case that is always true or always false: target/debug/build/mavlink-3156a83dc3b809fb/out/ardupilotmega.rs#L1
error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-3156a83dc3b809fb/out/ardupilotmega.rs:1:532411 | 1 | ...mut __tmp = BytesMut :: new (bytes) ; assert ! (__tmp . len () >= Self :: ENCODED_LEN , "buffer is too small (need {} bytes, but got {... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: because `Self :: ENCODED_LEN` is the minimum value for this type, this comparison is always true = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons = note: `#[deny(clippy::absurd_extreme_comparisons)]` on by default
this comparison involving the minimum or maximum element for this type contains a case that is always true or always false: target/debug/build/mavlink-3156a83dc3b809fb/out/ardupilotmega.rs#L1
error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false --> /home/runner/work/rust-mavlink/rust-mavlink/target/debug/build/mavlink-3156a83dc3b809fb/out/ardupilotmega.rs:1:728940 | 1 | ...mut __tmp = BytesMut :: new (bytes) ; assert ! (__tmp . len () >= Self :: ENCODED_LEN , "buffer is too small (need {} bytes, but got {... | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: because `Self :: ENCODED_LEN` is the minimum value for this type, this comparison is always true = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
linting
Clippy had exited with the 101 exit code
the borrowed expression implements the required traits: mavlink-bindgen/src/lib.rs#L39
warning: the borrowed expression implements the required traits --> mavlink-bindgen/src/lib.rs:39:33 | 39 | for entry_maybe in read_dir(&definitions_dir).map_err(|source| { | ^^^^^^^^^^^^^^^^ help: change this to: `definitions_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: mavlink-bindgen/src/lib.rs#L67
warning: this expression creates a reference which is immediately dereferenced by the compiler --> mavlink-bindgen/src/lib.rs:67:26 | 67 | parser::generate(&definitions_dir, &definition_file, &mut outf)?; | ^^^^^^^^^^^^^^^^ help: change this to: `definitions_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
msrv
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
msrv
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/