Skip to content

remove unused import #9

remove unused import

remove unused import #9

Triggered via push November 13, 2024 21:38
Status Failure
Total duration 3m 9s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 7 warnings, and 10 notices
lint
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
lint
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
app/src/addr.h:24:1 [clang-diagnostic-error]: app/src/addr.h#L24
unknown type name 'zxerr_t'
app/src/addr.h:24:26 [clang-diagnostic-error]: app/src/addr.h#L24
unknown type name 'uint8_t'
app/src/addr.h:27:1 [clang-diagnostic-error]: app/src/addr.h#L27
unknown type name 'zxerr_t'
app/src/addr.h:27:22 [clang-diagnostic-error]: app/src/addr.h#L27
unknown type name 'int8_t'
app/src/addr.h:27:55 [clang-diagnostic-error]: app/src/addr.h#L27
unknown type name 'uint16_t'
app/src/addr.h:27:91 [clang-diagnostic-error]: app/src/addr.h#L27
unknown type name 'uint16_t'
app/src/addr.h:28:22 [clang-diagnostic-error]: app/src/addr.h#L28
unknown type name 'uint8_t'
app/src/addr.h:28:39 [clang-diagnostic-error]: app/src/addr.h#L28
unknown type name 'uint8_t'
lint
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
lint
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
lint
Process completed with exit code 1.
app/src/apdu_handler.c:84:1 [clang-diagnostic-return-type]: app/src/apdu_handler.c#L84
non-void function does not return a value in all control paths
Run clang-format on app/src/crypto.c: app/src/crypto.c#L1
File app/src/crypto.c does not conform to Custom style guidelines. (lines 31, 37, 38, 39, 40, 41, 42, 43, 44, 48, 49, 55, 56, 64, 65, 66, 67, 68, 69, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 86, 87, 88, 89, 91, 92, 94, 95, 96, 97, 99, 101, 102, 103, 105, 106, 107, 112, 113, 114, 115, 117, 118, 120, 121, 122, 127, 128, 129, 130, 131, 133, 134, 135, 137, 138, 140, 141, 142, 144, 146, 147, 150, 151, 152, 154, 155, 156, 161, 162, 164, 165, 167, 168, 171, 172, 173, 174, 175, 176, 177, 179, 181, 182, 184, 185, 188, 189, 190, 191, 192, 194, 195, 200, 201, 202, 203, 204, 205, 207, 208, 210, 211, 212, 214, 216, 217, 218, 220, 222, 224, 226, 228, 229, 230, 231, 233, 235, 237, 238, 239, 241, 242, 245, 246, 247, 249, 250, 251)
Run clang-format on app/src/addr.c: app/src/addr.c#L1
File app/src/addr.c does not conform to Custom style guidelines. (lines 26, 27, 28, 29, 30, 31, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 48, 49, 50, 51, 52, 53, 54, 55)
Run clang-format on app/src/apdu_handler.c: app/src/apdu_handler.c#L1
File app/src/apdu_handler.c does not conform to Custom style guidelines. (lines 34, 35, 36, 37, 39, 43, 44, 46, 47, 48, 50, 51, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 86, 87, 89, 90, 92, 94, 96, 99, 100, 102, 103, 104, 107, 108, 110, 112, 114, 115, 116, 117, 118, 120, 121, 122, 123, 125, 129, 130, 132, 133, 135, 136, 138, 139, 141, 142, 144, 145, 146, 148, 152, 153, 155, 159, 160, 161, 162, 163, 165, 167, 168, 169, 170, 171, 172, 174, 176, 177, 178, 182, 183, 184, 185, 186, 191, 192, 193, 194, 195, 200, 201, 203, 204, 205, 206, 207, 209, 210, 211, 213, 214, 215, 216, 217, 219, 220, 221, 222, 223, 224, 225, 227, 228, 229, 230, 231, 232, 233, 235, 236, 237, 238, 239, 240, 241, 243, 244, 245, 246, 247, 248, 249, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274)
Run clang-format on app/src/parser.c: app/src/parser.c#L1
File app/src/parser.c does not conform to Custom style guidelines. (lines 36, 37, 38, 39, 41, 42, 43, 45, 46, 47, 49, 53, 54, 56, 58, 59, 60, 61, 63, 64, 66, 67, 69, 70, 71, 72, 77, 81, 82, 83, 84, 85, 86, 87, 89, 90, 91, 93, 94, 95, 97, 101, 105, 109, 113, 117, 121, 122, 125, 129, 133, 137, 141, 142, 143, 144, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 159, 160, 164, 165, 166, 167, 168, 169, 173, 174, 177, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270)
Run clang-format on app/src/common/main.c: app/src/common/main.c#L1
File app/src/common/main.c does not conform to Custom style guidelines. (lines 22, 23, 24, 26, 27, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38)
Run clang-format on app/src/common/tx.c: app/src/common/tx.c#L1
File app/src/common/tx.c does not conform to Custom style guidelines. (lines 26, 27, 30, 38, 42, 49, 50, 53, 54, 57, 58, 61, 65, 66, 69, 70, 73, 74, 76, 77, 78, 80, 81, 83, 84, 85, 90, 91, 93, 94, 95, 100, 101, 102, 104, 106, 107, 108, 110, 111, 113, 114, 115, 117, 122, 123, 127, 131, 135, 139, 143, 144, 147, 148, 150, 151, 153, 158, 162, 163, 166, 167, 169, 170, 172, 177, 181, 185, 186, 187, 188, 189, 191, 193, 195)
Run clang-format on app/src/c_api/rust.c: app/src/c_api/rust.c#L1
File app/src/c_api/rust.c does not conform to Custom style guidelines. (lines 8, 12, 13, 16, 17, 22)
Run clang-format on app/rust/include/rslib.h: app/rust/include/rslib.h#L1
File app/rust/include/rslib.h does not conform to Custom style guidelines. (lines 3, 8, 10, 12, 14, 20, 22, 23, 24, 25, 26, 29, 30, 35, 39, 46, 52)
Run clang-format on app/src/addr.h: app/src/addr.h#L1
File app/src/addr.h does not conform to Custom style guidelines. (lines 27, 28)
Run clang-format on app/src/crypto.h: app/src/crypto.h#L1
File app/src/crypto.h does not conform to Custom style guidelines. (lines 43, 50)