Skip to content

Fix many compiler warnings #7757

Fix many compiler warnings

Fix many compiler warnings #7757

Triggered via pull request February 23, 2024 22:22
Status Success
Total duration 6m 46s
Artifacts

pr.yml

on: pull_request
Matrix: Test
Matrix: Make Release Build
SwiftLint
52s
SwiftLint
Verify autoconsent bundle
17s
Verify autoconsent bundle
ShellCheck
7s
ShellCheck
Private API Report  /  Update PR comment
10s
Private API Report / Update PR comment
Create Asana Task
0s
Create Asana Task
Close Asana Task
0s
Close Asana Task
Fit to window
Zoom out
Zoom in

Annotations

51 warnings and 2 notices
Verify autoconsent bundle
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Make Release Build (DuckDuckGo Privacy Pro)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Make Release Build (DuckDuckGo Privacy Pro): CoreData#L1
no NSValueTransformer with class name 'NSStringTransformer' was found for attribute 'titleEncrypted' on entity 'HistoryEntryManagedObject'
Make Release Build (DuckDuckGo Privacy Pro): CoreData#L1
no NSValueTransformer with class name 'NSImageTransformer' was found for attribute 'faviconEncrypted' on entity 'BookmarkManagedObject'
Make Release Build (DuckDuckGo Privacy Pro): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Make Release Build (DuckDuckGo Privacy Pro): DuckDuckGo/Sharing/SharingMenu.swift#L79
'async' was deprecated in macOS 11.0: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
Make Release Build (DuckDuckGo Privacy Pro): DuckDuckGo/Tab/UserScripts/SubscriptionPagesUserScript.swift#L122
immutable value 'accessToken' was never used; consider replacing with '_' or removing it
Make Release Build (DuckDuckGo Privacy Pro): DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/Invite/NetworkProtectionInviteDialog.swift#L42
weak reference will always be nil because the referenced object is deallocated here
Make Release Build (DuckDuckGo Privacy Browser)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Make Release Build (DuckDuckGo Privacy Browser): CoreData#L1
no NSValueTransformer with class name 'NSStringTransformer' was found for attribute 'titleEncrypted' on entity 'HistoryEntryManagedObject'
Make Release Build (DuckDuckGo Privacy Browser): CoreData#L1
no NSValueTransformer with class name 'NSImageTransformer' was found for attribute 'faviconEncrypted' on entity 'BookmarkManagedObject'
Make Release Build (DuckDuckGo Privacy Browser): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Make Release Build (DuckDuckGo Privacy Browser): DuckDuckGo/Sharing/SharingMenu.swift#L79
'async' was deprecated in macOS 11.0: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
Make Release Build (DuckDuckGo Privacy Browser): DuckDuckGo/NetworkProtection/AppTargets/BothAppTargets/Invite/NetworkProtectionInviteDialog.swift#L42
weak reference will always be nil because the referenced object is deallocated here
Make Release Build (DuckDuckGo Privacy Browser): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Test (Non-Sandbox)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, mikepenz/action-junit-report@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Non-Sandbox): DerivedData/Build/Products/CI/GRDB.framework/PrivateHeaders/grdb_config.h#L14
ambiguous expansion of macro 'SQLITE_VERSION_NUMBER'
Test (Non-Sandbox)
not stripping binary because it is signed: /Users/runner/work/macos-browser/macos-browser/DerivedData/SourcePackages/artifacts/grdb.swift/GRDB/GRDB.xcframework/macos-arm64_x86_64/GRDB.framework/Versions/A/GRDB (in target 'DataBrokerProtectionTests' from project 'DataBrokerProtection')
Test (Non-Sandbox): CoreData#L1
no NSValueTransformer with class name 'NSStringTransformer' was found for attribute 'titleEncrypted' on entity 'HistoryEntryManagedObject'
Test (Non-Sandbox): CoreData#L1
no NSValueTransformer with class name 'NSImageTransformer' was found for attribute 'faviconEncrypted' on entity 'BookmarkManagedObject'
Test (Non-Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Test (Non-Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L79
'async' was deprecated in macOS 11.0: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
Test (Non-Sandbox): DerivedData/Build/Products/CI/OpenSSL.framework/Headers/shim.h#L12
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Test (Non-Sandbox): DerivedData/Build/Products/CI/OpenSSL.framework/Headers/shim.h#L17
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Test (Non-Sandbox): DerivedData/Build/Products/CI/OpenSSL.framework/Headers/shim.h#L23
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Test (Non-Sandbox): DerivedData/Build/Products/CI/OpenSSL.framework/Headers/shim.h#L28
a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Test (Non-Sandbox)
DuckDuckGoDBPBackgroundAgent isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGoDBPBackgroundAgent' from project 'DuckDuckGo')
Test (Non-Sandbox)
DuckDuckGoVPN isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGoVPN' from project 'DuckDuckGo')
Test (Non-Sandbox)
DuckDuckGo Privacy Browser isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGo Privacy Browser' from project 'DuckDuckGo')
Test (Non-Sandbox)
DuckDuckGoNotifications isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGoNotifications' from project 'DuckDuckGo')
Test (Sandbox)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, mikepenz/action-junit-report@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (Sandbox)
DuckDuckGoDBPBackgroundAgentAppStore isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGoDBPBackgroundAgentAppStore' from project 'DuckDuckGo')
Test (Sandbox)
DuckDuckGo Privacy Browser App Store isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it. (in target 'DuckDuckGo Privacy Browser App Store' from project 'DuckDuckGo')
Test (Sandbox): DerivedData/Build/Products/CI/GRDB.framework/PrivateHeaders/grdb_config.h#L14
ambiguous expansion of macro 'SQLITE_VERSION_NUMBER'
Test (Sandbox): DerivedData/Build/Products/CI/GRDB.framework/PrivateHeaders/grdb_config.h#L14
ambiguous expansion of macro 'SQLITE_VERSION_NUMBER'
Test (Sandbox): CoreData#L1
no NSValueTransformer with class name 'NSStringTransformer' was found for attribute 'titleEncrypted' on entity 'HistoryEntryManagedObject'
Test (Sandbox): CoreData#L1
no NSValueTransformer with class name 'NSImageTransformer' was found for attribute 'faviconEncrypted' on entity 'BookmarkManagedObject'
Test (Sandbox): DuckDuckGo/Preferences/View/PreferencesSidebar.swift#L72
getter 'body' took 350ms to type-check (limit: 250ms)
Test (Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Test (Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L79
'async' was deprecated in macOS 11.0: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
Test (Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L77
'open(_:withAppBundleIdentifier:options:additionalEventParamDescriptor:launchIdentifiers:)' was deprecated in macOS 11.0: Use -[NSWorkspace openURLs:withApplicationAtURL:configuration:completionHandler:] instead.
Test (Sandbox): DuckDuckGo/Sharing/SharingMenu.swift#L79
'async' was deprecated in macOS 11.0: When using NSWorkspaceOpenConfiguration, all launches are asynchronous.
Test (Sandbox): DuckDuckGo/Preferences/View/PreferencesSidebar.swift#L72
getter 'body' took 343ms to type-check (limit: 250ms)
Test (Non-Sandbox)
Tests Passed: 0 failed, 0 skipped, 202 total (14.164 seconds)
Test (Sandbox)
Tests Passed: 0 failed, 0 skipped, 9 total (0.015 seconds)