Skip to content

Update protocol usage to include 'any' keyword #4614

Update protocol usage to include 'any' keyword

Update protocol usage to include 'any' keyword #4614

Triggered via pull request April 15, 2024 12:18
Status Failure
Total duration 2m 59s
Artifacts

ios.yml

on: pull_request
Check formatting
34s
Check formatting
Run swiftlint
23s
Run swiftlint
Unit tests
2m 51s
Unit tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Check formatting
Process completed with exit code 1.
Unit tests: ios/MullvadVPN/Coordinators/CustomLists/ListCustomListViewController.swift#L33
use of protocol 'CustomListInteractorProtocol' as a type must be written 'any CustomListInteractorProtocol'
Unit tests: ios/MullvadVPN/Coordinators/CustomLists/ListCustomListViewController.swift#L40
use of protocol 'CustomListInteractorProtocol' as a type must be written 'any CustomListInteractorProtocol'
Unit tests: ios/MullvadVPN/Coordinators/Settings/APIAccess/Edit/EditAccessMethodCoordinator.swift#L16
use of protocol 'ProxyConfigurationTesterProtocol' as a type must be written 'any ProxyConfigurationTesterProtocol'
Unit tests: ios/MullvadVPN/Coordinators/Settings/APIAccess/Edit/EditAccessMethodCoordinator.swift#L17
use of protocol 'AccessMethodRepositoryProtocol' as a type must be written 'any AccessMethodRepositoryProtocol'
Unit tests: ios/MullvadVPN/Coordinators/Settings/APIAccess/Edit/EditAccessMethodCoordinator.swift#L30
use of protocol 'AccessMethodRepositoryProtocol' as a type must be written 'any AccessMethodRepositoryProtocol'
Unit tests: ios/MullvadVPN/Coordinators/Settings/APIAccess/Edit/EditAccessMethodCoordinator.swift#L31
use of protocol 'ProxyConfigurationTesterProtocol' as a type must be written 'any ProxyConfigurationTesterProtocol'
Unit tests: ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift#L18
use of protocol 'TunnelInteractor' as a type must be written 'any TunnelInteractor'
Unit tests: ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift#L19
use of protocol 'RESTAccountHandling' as a type must be written 'any RESTAccountHandling'
Unit tests: ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift#L20
use of protocol 'Cancellable' as a type must be written 'any Cancellable'
Unit tests: ios/MullvadVPN/TunnelManager/UpdateAccountDataOperation.swift#L24
use of protocol 'TunnelInteractor' as a type must be written 'any TunnelInteractor'
Run swiftlint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run swiftlint: PacketTunnel/PacketTunnelProvider/PacketTunnelProvider.swift#L282
TODOs should be resolved (send the key to the actor) (todo)
Run swiftlint: MullvadVPN/TunnelManager/SetAccountOperation.swift#L264
Line should be 120 characters or less; currently it has 122 characters (line_length)
Run swiftlint: MullvadVPN/TunnelManager/SetAccountOperation.swift#L315
Line should be 120 characters or less; currently it has 126 characters (line_length)
Check formatting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests: --- xcodebuild#L1
Using the first of multiple matching destinations:
Unit tests
SwiftLint not installed, download from https://github.com/realm/SwiftLint
Unit tests: ld#L1
'/Users/runner/Library/Developer/Xcode/DerivedData/MullvadVPN-eyvrfmadodhkonbxvnjzkuyudpjl/Build/Products/Debug-iphonesimulator/libwg-go.a[arm64][2](go.o)' has malformed LC_DYSYMTAB, expected 61 undefined symbols to start at index 4702, found 73 undefined symbols starting at index 15
Unit tests
SwiftLint not installed, download from https://github.com/realm/SwiftLint