Skip to content

fix logger

fix logger #2398

Triggered via push September 9, 2024 17:25
Status Failure
Total duration 26m 58s
Billable time 2h 43m
Artifacts

ci.yml

on: push
Matrix: devices
Matrix: linux
Matrix: macos
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 3 warnings
lint: Source/AwsCommonRuntimeKit/crt/Logger.swift#L28
Line Length Violation: Line should be 160 characters or less; currently it has 176 characters (line_length)
lint: Source/AwsCommonRuntimeKit/crt/CommonRuntimeError.swift#L25
Trailing Semicolon Violation: Lines should not have trailing semicolons (trailing_semicolon)
lint: Source/AwsCommonRuntimeKit/crt/CommonRuntimeError.swift#L27
Trailing Semicolon Violation: Lines should not have trailing semicolons (trailing_semicolon)
lint: Source/Elasticurl/Elasticurl.swift#L223
Force Try Violation: Force tries should be avoided (force_try)
lint: Source/Elasticurl/Elasticurl.swift#L226
Force Try Violation: Force tries should be avoided (force_try)
linux (ubuntu-x64)
Process completed with exit code 12.
linux (al2-x64)
Process completed with exit code 12.
macos (macos-13-xlarge)
Process completed with exit code 1.
macos (macos-14)
Process completed with exit code 1.
macos (macos-14-large)
Process completed with exit code 1.
macos (macos-12)
Process completed with exit code 1.
macos (macos-13)
Process completed with exit code 1.
devices (macos-14-large, ios, iOS Simulator,OS=17.2,name=iPhone 15, Xcode_15.2)
Process completed with exit code 1.
devices (macos-13-xlarge, ios, iOS Simulator,OS=16.1,name=iPhone 14, Xcode_14.1)
Process completed with exit code 1.
devices (macos-12, ios, iOS Simulator,OS=16.1,name=iPhone 14, Xcode_14.1)
Process completed with exit code 1.
devices (macos-14, ios, iOS Simulator,OS=17.2,name=iPhone 15, Xcode_15.2)
Process completed with exit code 1.
devices (macos-13, ios, iOS Simulator,OS=16.1,name=iPhone 14, Xcode_14.1)
Process completed with exit code 1.
check-submodules
The following actions use a deprecated Node.js version and will be forced to run on node20: awslabs/aws-crt-builder/.github/actions/check-submodules@main. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint: Source/AwsCommonRuntimeKit/crt/Logger.swift#L14
Redundant Optional Initialization Violation: Initializing an optional variable with nil is redundant (redundant_optional_initialization)
lint: Source/AwsCommonRuntimeKit/crt/Utilities.swift#L133
Optional Data -> String Conversion Violation: Prefer failable `String(data:encoding:)` initializer when converting `Data` to `String` (optional_data_string_conversion)