Skip to content

Async sensor API

Async sensor API #25

Re-run triggered January 13, 2024 15:32
Status Failure
Total duration 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

29 errors and 37 warnings
Clippy: src/sht4x.rs#L3
unused imports: `Measurement`, `SensorData`, `error::Error`
Clippy: src/commands.rs#L7
variants `SoftReset` and `SerialNumber` are never constructed
Clippy: src/commands.rs#L18
methods `code` and `duration_ms` are never used
Clippy: src/sht4x.rs#L20
constant `RESPONSE_LEN` is never used
Clippy: src/sht4x.rs#L26
fields `i2c` and `address` are never read
Clippy
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Check: src/lib.rs#L15
Cannot enable both `blocking` and `async` features
Check: src/sht4x.rs#L67
duplicate definitions with name `new`
Check: src/sht4x.rs#L76
duplicate definitions with name `new_with_address`
Check: src/sht4x.rs#L85
duplicate definitions with name `destroy`
Docs: src/lib.rs#L15
Cannot enable both `blocking` and `async` features
Check: src/sht4x.rs#L95
duplicate definitions with name `heat_and_measure`
Docs
could not document `sht4x`
Check: src/sht4x.rs#L112
duplicate definitions with name `heat_and_measure_raw`
Docs
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Check: src/sht4x.rs#L128
duplicate definitions with name `measure`
Check: src/sht4x.rs#L138
duplicate definitions with name `measure_raw`
Check: src/sht4x.rs#L153
duplicate definitions with name `serial_number`
Check: src/sht4x.rs#L166
duplicate definitions with name `soft_reset`
Test Suite: src/lib.rs#L15
Cannot enable both `blocking` and `async` features
Test Suite: src/sht4x.rs#L67
duplicate definitions with name `new`
Test Suite: src/sht4x.rs#L76
duplicate definitions with name `new_with_address`
Test Suite: src/sht4x.rs#L85
duplicate definitions with name `destroy`
Test Suite: src/sht4x.rs#L95
duplicate definitions with name `heat_and_measure`
Test Suite: src/sht4x.rs#L112
duplicate definitions with name `heat_and_measure_raw`
Test Suite: src/sht4x.rs#L128
duplicate definitions with name `measure`
Test Suite: src/sht4x.rs#L138
duplicate definitions with name `measure_raw`
Test Suite: src/sht4x.rs#L153
duplicate definitions with name `serial_number`
Test Suite: src/sht4x.rs#L166
duplicate definitions with name `soft_reset`
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 `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/
Check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
Docs
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/
Docs
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/
Docs
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/
Docs
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/
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: src/sht4x.rs#L3
unused imports: `Measurement`, `SensorData`, `error::Error`
Check: src/commands.rs#L7
variants `SoftReset` and `SerialNumber` are never constructed
Check: src/commands.rs#L18
methods `code` and `duration_ms` are never used
Check: src/sht4x.rs#L20
constant `RESPONSE_LEN` is never used
Check: src/sht4x.rs#L26
fields `i2c` and `address` are never read
Check
`sht4x` (lib) generated 5 warnings (run `cargo fix --lib -p sht4x` to apply 1 suggestion)
Test Suite
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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 Suite
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 Suite
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 Suite
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 Suite
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 Suite: src/sht4x.rs#L3
unused imports: `Measurement`, `SensorData`, `error::Error`
Test Suite: src/commands.rs#L7
variants `SoftReset` and `SerialNumber` are never constructed
Test Suite: src/commands.rs#L18
methods `code` and `duration_ms` are never used
Test Suite: src/sht4x.rs#L20
constant `RESPONSE_LEN` is never used
Test Suite: src/sht4x.rs#L26
fields `i2c` and `address` are never read
Test Suite
`sht4x` (lib) generated 5 warnings (run `cargo fix --lib -p sht4x` to apply 1 suggestion)