Skip to content

fix: Remove and int overflow crash #2444

fix: Remove and int overflow crash

fix: Remove and int overflow crash #2444

Triggered via pull request February 21, 2025 10:37
Status Success
Total duration 6m 46s
Artifacts

ci.yml

on: pull_request
Build and Test project
6m 9s
Build and Test project
Fit to window
Zoom out
Zoom in

Annotations

30 warnings
Build and Test project: --- xcodebuild#L1
Using the first of multiple matching destinations:
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L554
non-final class 'SyncedAuthenticator' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L555
stored property '_accountManager' of 'Sendable'-conforming class 'SyncedAuthenticator' is mutable; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L687
non-final class 'NetworkRequestRetrier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L689
stored property 'retriedRequests' of 'Sendable'-conforming class 'NetworkRequestRetrier' is mutable; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift#L30
extension declares a conformance of imported type 'TransactionExecutor' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCoreDB' introduce this conformance in the future
Build and Test project: kDriveCore/Data/DownloadQueue/BackgroundDownloadSessionManager.swift#L49
sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'FileDownloadSession'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/MQService/MQService.swift#L47
'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation+Error.swift#L317
extension declares a conformance of imported type 'ApiError' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCore' introduce this conformance in the future
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation.swift#L34
class 'UploadOperation' must restate inherited '@unchecked Sendable' conformance
Build and Test project: --- xcodebuild#L1
Using the first of multiple matching destinations:
Build and Test project: kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift#L30
extension declares a conformance of imported type 'TransactionExecutor' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCoreDB' introduce this conformance in the future
Build and Test project: kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift#L36
string interpolation produces a debug description for an optional value; did you mean to make this explicit?
Build and Test project: kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift#L37
string interpolation produces a debug description for an optional value; did you mean to make this explicit?
Build and Test project: 9#L1
sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'FileDownloadSession'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/MQService/MQService.swift#L47
'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation+Error.swift#L317
extension declares a conformance of imported type 'ApiError' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCore' introduce this conformance in the future
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation+UploadChunk.swift#L191
converting non-sendable function value to '@sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation.swift#L34
class 'UploadOperation' must restate inherited '@unchecked Sendable' conformance
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperationable.swift#L49
sendability of function types in property 'completionBlock' does not match requirement in protocol 'Operationable'; this is an error in the Swift 6 language mode
Build and Test project: --- xcodebuild#L1
Using the first of multiple matching destinations:
Build and Test project: --- xcodebuild#L1
Using the first of multiple matching destinations:
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L554
non-final class 'SyncedAuthenticator' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L555
stored property '_accountManager' of 'Sendable'-conforming class 'SyncedAuthenticator' is mutable; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L687
non-final class 'NetworkRequestRetrier' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Api/DriveApiFetcher.swift#L689
stored property 'retriedRequests' of 'Sendable'-conforming class 'NetworkRequestRetrier' is mutable; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/Cache/DriveFileManager/DriveFileManager.swift#L30
extension declares a conformance of imported type 'TransactionExecutor' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCoreDB' introduce this conformance in the future
Build and Test project: kDriveCore/Data/DownloadQueue/BackgroundDownloadSessionManager.swift#L49
sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'FileDownloadSession'; this is an error in the Swift 6 language mode
Build and Test project: kDriveCore/Data/MQService/MQService.swift#L47
'createNew' is deprecated: Please use `.shared(existingGroup)` or use the singleton via `.shared(MultiThreadedEventLoopGroup.singleton)` or similar
Build and Test project: kDriveCore/Data/UploadQueue/Operation/UploadOperation+Error.swift#L317
extension declares a conformance of imported type 'ApiError' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'InfomaniakCore' introduce this conformance in the future