Skip to content

Fix some swift 6 errors #414

Fix some swift 6 errors

Fix some swift 6 errors #414

Triggered via push September 20, 2024 15:27
Status Failure
Total duration 1m 15s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 9 warnings
Tests: Sources/UBUserInterface/ScreenBrightness/ScreenBrightness.swift#L26
capture of 'self' in a closure that outlives deinit
Tests: Sources/UBUserInterface/ScreenBrightness/ScreenBrightness.swift#L80
capture of 'self' in a closure that outlives deinit
Tests: Sources/UBUserInterface/ScreenBrightness/ScreenBrightness.swift#L26
capture of 'self' in a closure that outlives deinit
Tests: Sources/UBUserInterface/ScreenBrightness/ScreenBrightness.swift#L80
capture of 'self' in a closure that outlives deinit
Tests
Process completed with exit code 1.
Tests
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/
Tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests: Sources/UBFoundation/Networking/UBURLSession+ServerTrustEvaluation.swift#L191
'SecTrustEvaluate' was deprecated in iOS 13.0: renamed to 'SecTrustEvaluateWithError(_:_:)'
Tests: Sources/UBFoundation/Networking/UBURLSession+ServerTrustEvaluation.swift#L275
'SecTrustCopyPublicKey' was deprecated in iOS 14.0: renamed to 'SecTrustCopyKey(_:)'
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L95
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L105
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L143
'kSecAttrAccessibleAlways' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlock
Tests: Sources/UBFoundation/Storage/UBKeychain/UBKeychainAccessibility.swift#L157
'kSecAttrAccessibleAlwaysThisDeviceOnly' was deprecated in iOS 12.0: Use an accessibility level that provides some user protection, such as kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
Tests: Sources/UBFoundation/Networking/BaseCachingLogic.swift#L249
immutable value 'responseDate' was never used; consider replacing with '_' or removing it