Skip to content

Add API to catch parsing errors #262

Add API to catch parsing errors

Add API to catch parsing errors #262

Triggered via pull request December 12, 2023 13:41
Status Failure
Total duration 39m 28s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 11 warnings
Codequality
Process completed with exit code 1.
Build & Tests: Tests/UBFoundationTests/Networking/HTTPDataTaskTests.swift#L526
testCancelWhileFetching, Asynchronous wait failed: Exceeded timeout of 1 seconds, with unfulfilled expectations: "Request".
Build & Tests
Tests Failed: 1 failed, 0 skipped, 165 total (95.109 seconds)
Build & Tests
Process completed with exit code 1.
Codequality
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build & Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build & Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L96
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L106
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L144
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Build & Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L158
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Build & Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L141
value 'metrics' was defined but never used; consider replacing with boolean test
Build & Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L256
immutable value 'responseDate' was never used; consider replacing with '_' or removing it
Build & Tests: Sources/UBFoundation/Networking/Networking+URLSession.swift#L11
sendability of function types in instance method 'reset(completionHandler:)' does not match requirement in protocol 'UBURLSessionProtocol'

Artifacts

Produced during runtime
Name Size
build-test-logs Expired
6.92 MB