Build Information
Failed to build JellyfinAPI, reference 0.5.2 (6039de
), with Swift 6.1 for Android on 14 Jun 2025 22:34:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jellyfin/jellyfin-sdk-swift.git
Reference: 0.5.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jellyfin/jellyfin-sdk-swift
* tag 0.5.2 -> FETCH_HEAD
HEAD is now at 6039de8 Add API Version to JellyfinClient (#45)
Cloned https://github.com/jellyfin/jellyfin-sdk-swift.git
Revision (git rev-parse @):
6039de827d9f768fe7218f3960426aca3325423a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jellyfin/jellyfin-sdk-swift.git at 0.5.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/jellyfin/jellyfin-sdk-swift.git
https://github.com/jellyfin/jellyfin-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "get",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.6",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kean/Get"
},
{
"identity" : "urlqueryencoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CreateAPI/URLQueryEncoder"
}
],
"manifest_display_name" : "JellyfinAPI",
"name" : "JellyfinAPI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "JellyfinAPI",
"targets" : [
"JellyfinAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "create_api",
"module_type" : "BinaryTarget",
"name" : "create-api",
"path" : "remote/archive/create-api.artifactbundle.zip",
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "JellyfinAPI",
"module_type" : "SwiftTarget",
"name" : "JellyfinAPI",
"path" : "Sources",
"product_dependencies" : [
"Get",
"URLQueryEncoder"
],
"product_memberships" : [
"JellyfinAPI"
],
"sources" : [
"Entities/AccessSchedule.swift",
"Entities/ActivityLogEntry.swift",
"Entities/ActivityLogEntryMessage.swift",
"Entities/ActivityLogEntryQueryResult.swift",
"Entities/ActivityLogEntryStartMessage.swift",
"Entities/ActivityLogEntryStopMessage.swift",
"Entities/AddVirtualFolderDto.swift",
"Entities/AdminNotificationDto.swift",
"Entities/AlbumInfo.swift",
"Entities/AlbumInfoRemoteSearchQuery.swift",
"Entities/AllThemeMediaResult.swift",
"Entities/Architecture.swift",
"Entities/ArtistInfo.swift",
"Entities/ArtistInfoRemoteSearchQuery.swift",
"Entities/AudioSpatialFormat.swift",
"Entities/AuthenticateUserByName.swift",
"Entities/AuthenticationInfo.swift",
"Entities/AuthenticationInfoQueryResult.swift",
"Entities/AuthenticationResult.swift",
"Entities/BaseItem.swift",
"Entities/BaseItemDto.swift",
"Entities/BaseItemDtoQueryResult.swift",
"Entities/BaseItemKind.swift",
"Entities/BaseItemPerson.swift",
"Entities/BookInfo.swift",
"Entities/BookInfoRemoteSearchQuery.swift",
"Entities/BoxSetInfo.swift",
"Entities/BoxSetInfoRemoteSearchQuery.swift",
"Entities/BrandingOptions.swift",
"Entities/BufferRequestDto.swift",
"Entities/CastReceiverApplication.swift",
"Entities/ChannelFeatures.swift",
"Entities/ChannelItemSortField.swift",
"Entities/ChannelMappingOptionsDto.swift",
"Entities/ChannelMediaContentType.swift",
"Entities/ChannelMediaType.swift",
"Entities/ChannelType.swift",
"Entities/ChapterInfo.swift",
"Entities/ClientCapabilities.swift",
"Entities/ClientCapabilitiesDto.swift",
"Entities/ClientLogDocumentResponseDto.swift",
"Entities/CodecProfile.swift",
"Entities/CodecType.swift",
"Entities/CollectionCreationResult.swift",
"Entities/CollectionType.swift",
"Entities/CollectionTypeOptions.swift",
"Entities/ConfigImageTypes.swift",
"Entities/ConfigurationPageInfo.swift",
"Entities/ContainerProfile.swift",
"Entities/ControlResponse.swift",
"Entities/CountryInfo.swift",
"Entities/CreatePlaylistDto.swift",
"Entities/CreateUserByName.swift",
"Entities/CultureDto.swift",
"Entities/DayOfWeek.swift",
"Entities/DayPattern.swift",
"Entities/DefaultDirectoryBrowserInfoDto.swift",
"Entities/DeinterlaceMethod.swift",
"Entities/DeviceIdentification.swift",
"Entities/DeviceInfo.swift",
"Entities/DeviceInfoDto.swift",
"Entities/DeviceInfoDtoQueryResult.swift",
"Entities/DeviceInfoQueryResult.swift",
"Entities/DeviceOptions.swift",
"Entities/DeviceOptionsDto.swift",
"Entities/DeviceProfile.swift",
"Entities/DeviceProfileInfo.swift",
"Entities/DeviceProfileType.swift",
"Entities/DirectPlayProfile.swift",
"Entities/DisplayPreferencesDto.swift",
"Entities/DlnaOptions.swift",
"Entities/DlnaProfileType.swift",
"Entities/DownMixStereoAlgorithms.swift",
"Entities/DynamicDayOfWeek.swift",
"Entities/EmbeddedSubtitleOptions.swift",
"Entities/EncoderPreset.swift",
"Entities/EncodingContext.swift",
"Entities/EncodingOptions.swift",
"Entities/EndPointInfo.swift",
"Entities/ExternalIDInfo.swift",
"Entities/ExternalIDMediaType.swift",
"Entities/ExternalURL.swift",
"Entities/ExtraType.swift",
"Entities/FFmpegLocation.swift",
"Entities/FileSystemEntryInfo.swift",
"Entities/FileSystemEntryType.swift",
"Entities/FontFile.swift",
"Entities/ForceKeepAliveMessage.swift",
"Entities/ForgotPasswordAction.swift",
"Entities/ForgotPasswordDto.swift",
"Entities/ForgotPasswordPinDto.swift",
"Entities/ForgotPasswordResult.swift",
"Entities/GeneralCommand.swift",
"Entities/GeneralCommandMessage.swift",
"Entities/GeneralCommandType.swift",
"Entities/GetProgramsDto.swift",
"Entities/GroupInfoDto.swift",
"Entities/GroupInfoDtoGroupUpdate.swift",
"Entities/GroupQueueMode.swift",
"Entities/GroupRepeatMode.swift",
"Entities/GroupShuffleMode.swift",
"Entities/GroupStateType.swift",
"Entities/GroupStateUpdate.swift",
"Entities/GroupStateUpdateGroupUpdate.swift",
"Entities/GroupUpdate.swift",
"Entities/GroupUpdateType.swift",
"Entities/GuideInfo.swift",
"Entities/HTTPHeaderInfo.swift",
"Entities/HardwareAccelerationType.swift",
"Entities/HardwareEncodingType.swift",
"Entities/HeaderMatchType.swift",
"Entities/IPlugin.swift",
"Entities/IgnoreWaitRequestDto.swift",
"Entities/ImageByNameInfo.swift",
"Entities/ImageFormat.swift",
"Entities/ImageInfo.swift",
"Entities/ImageOption.swift",
"Entities/ImageOrientation.swift",
"Entities/ImageProviderInfo.swift",
"Entities/ImageResolution.swift",
"Entities/ImageSavingConvention.swift",
"Entities/ImageType.swift",
"Entities/InboundKeepAliveMessage.swift",
"Entities/InboundWebSocketMessage.swift",
"Entities/InstallationInfo.swift",
"Entities/IsoType.swift",
"Entities/ItemCounts.swift",
"Entities/ItemFields.swift",
"Entities/ItemFilter.swift",
"Entities/ItemSortBy.swift",
"Entities/JoinGroupRequestDto.swift",
"Entities/KeepUntil.swift",
"Entities/LibraryChangedMessage.swift",
"Entities/LibraryOptionInfoDto.swift",
"Entities/LibraryOptions.swift",
"Entities/LibraryOptionsResultDto.swift",
"Entities/LibraryTypeOptionsDto.swift",
"Entities/LibraryUpdateInfo.swift",
"Entities/ListingsProviderInfo.swift",
"Entities/LiveStreamResponse.swift",
"Entities/LiveTvInfo.swift",
"Entities/LiveTvOptions.swift",
"Entities/LiveTvServiceInfo.swift",
"Entities/LiveTvServiceStatus.swift",
"Entities/LocalizationOption.swift",
"Entities/LocationType.swift",
"Entities/LogFile.swift",
"Entities/LogLevel.swift",
"Entities/LyricDto.swift",
"Entities/LyricLine.swift",
"Entities/LyricMetadata.swift",
"Entities/MediaAttachment.swift",
"Entities/MediaEncoderPathDto.swift",
"Entities/MediaPathDto.swift",
"Entities/MediaPathInfo.swift",
"Entities/MediaProtocol.swift",
"Entities/MediaSegmentDto.swift",
"Entities/MediaSegmentDtoQueryResult.swift",
"Entities/MediaSegmentType.swift",
"Entities/MediaSourceInfo.swift",
"Entities/MediaSourceType.swift",
"Entities/MediaStream.swift",
"Entities/MediaStreamProtocol.swift",
"Entities/MediaStreamType.swift",
"Entities/MediaType.swift",
"Entities/MediaURL.swift",
"Entities/MediaUpdateInfoDto.swift",
"Entities/MediaUpdateInfoPathDto.swift",
"Entities/MessageCommand.swift",
"Entities/MetadataConfiguration.swift",
"Entities/MetadataEditorInfo.swift",
"Entities/MetadataField.swift",
"Entities/MetadataOptions.swift",
"Entities/MetadataRefreshMode.swift",
"Entities/MovePlaylistItemRequestDto.swift",
"Entities/MovieInfo.swift",
"Entities/MovieInfoRemoteSearchQuery.swift",
"Entities/MusicVideoInfo.swift",
"Entities/MusicVideoInfoRemoteSearchQuery.swift",
"Entities/NameGuidPair.swift",
"Entities/NameIDPair.swift",
"Entities/NameValuePair.swift",
"Entities/NetworkConfiguration.swift",
"Entities/NewGroupRequestDto.swift",
"Entities/NextItemRequestDto.swift",
"Entities/NotificationDto.swift",
"Entities/NotificationLevel.swift",
"Entities/NotificationOption.swift",
"Entities/NotificationOptions.swift",
"Entities/NotificationResultDto.swift",
"Entities/NotificationTypeInfo.swift",
"Entities/NotificationsSummaryDto.swift",
"Entities/ObjectGroupUpdate.swift",
"Entities/OpenLiveStreamDto.swift",
"Entities/OutboundKeepAliveMessage.swift",
"Entities/OutboundWebSocketMessage.swift",
"Entities/PackageInfo.swift",
"Entities/ParentalRating.swift",
"Entities/PathSubstitution.swift",
"Entities/PersonKind.swift",
"Entities/PersonLookupInfo.swift",
"Entities/PersonLookupInfoRemoteSearchQuery.swift",
"Entities/PinRedeemResult.swift",
"Entities/PingRequestDto.swift",
"Entities/PlayAccess.swift",
"Entities/PlayCommand.swift",
"Entities/PlayMessage.swift",
"Entities/PlayMethod.swift",
"Entities/PlayQueueUpdate.swift",
"Entities/PlayQueueUpdateGroupUpdate.swift",
"Entities/PlayQueueUpdateReason.swift",
"Entities/PlayRequest.swift",
"Entities/PlayRequestDto.swift",
"Entities/PlaybackErrorCode.swift",
"Entities/PlaybackInfoDto.swift",
"Entities/PlaybackInfoResponse.swift",
"Entities/PlaybackOrder.swift",
"Entities/PlaybackProgressInfo.swift",
"Entities/PlaybackRequestType.swift",
"Entities/PlaybackStartInfo.swift",
"Entities/PlaybackStopInfo.swift",
"Entities/PlayerStateInfo.swift",
"Entities/PlaylistCreationResult.swift",
"Entities/PlaylistDto.swift",
"Entities/PlaylistUserPermissions.swift",
"Entities/PlaystateCommand.swift",
"Entities/PlaystateMessage.swift",
"Entities/PlaystateRequest.swift",
"Entities/PluginInfo.swift",
"Entities/PluginInstallationCancelledMessage.swift",
"Entities/PluginInstallationCompletedMessage.swift",
"Entities/PluginInstallationFailedMessage.swift",
"Entities/PluginInstallingMessage.swift",
"Entities/PluginStatus.swift",
"Entities/PluginUninstalledMessage.swift",
"Entities/PreviousItemRequestDto.swift",
"Entities/ProcessPriorityClass.swift",
"Entities/ProfileCondition.swift",
"Entities/ProfileConditionType.swift",
"Entities/ProfileConditionValue.swift",
"Entities/ProgramAudio.swift",
"Entities/PublicSystemInfo.swift",
"Entities/QueryFilters.swift",
"Entities/QueryFiltersLegacy.swift",
"Entities/QueueItem.swift",
"Entities/QueueRequestDto.swift",
"Entities/QuickConnectDto.swift",
"Entities/QuickConnectResult.swift",
"Entities/RatingType.swift",
"Entities/ReadyRequestDto.swift",
"Entities/RecommendationDto.swift",
"Entities/RecommendationType.swift",
"Entities/RecordingStatus.swift",
"Entities/RefreshProgressMessage.swift",
"Entities/RemoteImageInfo.swift",
"Entities/RemoteImageResult.swift",
"Entities/RemoteLyricInfoDto.swift",
"Entities/RemoteSearchResult.swift",
"Entities/RemoteSubtitleInfo.swift",
"Entities/RemoveFromPlaylistRequestDto.swift",
"Entities/RepeatMode.swift",
"Entities/RepositoryInfo.swift",
"Entities/ResponseProfile.swift",
"Entities/RestartRequiredMessage.swift",
"Entities/ScheduledTaskEndedMessage.swift",
"Entities/ScheduledTasksInfoMessage.swift",
"Entities/ScheduledTasksInfoStartMessage.swift",
"Entities/ScheduledTasksInfoStopMessage.swift",
"Entities/ScrollDirection.swift",
"Entities/SearchHint.swift",
"Entities/SearchHintResult.swift",
"Entities/SeekRequestDto.swift",
"Entities/SendCommand.swift",
"Entities/SendCommandType.swift",
"Entities/SendToUserType.swift",
"Entities/SeriesInfo.swift",
"Entities/SeriesInfoRemoteSearchQuery.swift",
"Entities/SeriesStatus.swift",
"Entities/SeriesTimerCancelledMessage.swift",
"Entities/SeriesTimerCreatedMessage.swift",
"Entities/SeriesTimerInfoDto.swift",
"Entities/SeriesTimerInfoDtoQueryResult.swift",
"Entities/ServerConfiguration.swift",
"Entities/ServerDiscoveryInfo.swift",
"Entities/ServerRestartingMessage.swift",
"Entities/ServerShuttingDownMessage.swift",
"Entities/SessionInfo.swift",
"Entities/SessionInfoDto.swift",
"Entities/SessionMessageType.swift",
"Entities/SessionUserInfo.swift",
"Entities/SessionsMessage.swift",
"Entities/SessionsStartMessage.swift",
"Entities/SessionsStopMessage.swift",
"Entities/SetChannelMappingDto.swift",
"Entities/SetPlaylistItemRequestDto.swift",
"Entities/SetRepeatModeRequestDto.swift",
"Entities/SetShuffleModeRequestDto.swift",
"Entities/SongInfo.swift",
"Entities/SortOrder.swift",
"Entities/SpecialFeatureType.swift",
"Entities/SpecialViewOptionDto.swift",
"Entities/StartupConfigurationDto.swift",
"Entities/StartupRemoteAccessDto.swift",
"Entities/StartupUserDto.swift",
"Entities/StringGroupUpdate.swift",
"Entities/SubtitleDeliveryMethod.swift",
"Entities/SubtitleOptions.swift",
"Entities/SubtitlePlaybackMode.swift",
"Entities/SubtitleProfile.swift",
"Entities/SyncPlayCommandMessage.swift",
"Entities/SyncPlayGroupUpdateCommandMessage.swift",
"Entities/SyncPlayQueueItem.swift",
"Entities/SyncPlayUserAccessType.swift",
"Entities/SystemInfo.swift",
"Entities/TaskCompletionStatus.swift",
"Entities/TaskInfo.swift",
"Entities/TaskResult.swift",
"Entities/TaskState.swift",
"Entities/TaskTriggerInfo.swift",
"Entities/TaskTriggerType.swift",
"Entities/ThemeMediaResult.swift",
"Entities/TimerCancelledMessage.swift",
"Entities/TimerCreatedMessage.swift",
"Entities/TimerEventInfo.swift",
"Entities/TimerInfoDto.swift",
"Entities/TimerInfoDtoQueryResult.swift",
"Entities/TonemappingAlgorithm.swift",
"Entities/TonemappingMode.swift",
"Entities/TonemappingRange.swift",
"Entities/TrailerInfo.swift",
"Entities/TrailerInfoRemoteSearchQuery.swift",
"Entities/TranscodeReason.swift",
"Entities/TranscodeSeekInfo.swift",
"Entities/TranscodingInfo.swift",
"Entities/TranscodingProfile.swift",
"Entities/TransportStreamTimestamp.swift",
"Entities/TrickplayInfo.swift",
"Entities/TrickplayOptions.swift",
"Entities/TrickplayScanBehavior.swift",
"Entities/TunerChannelMapping.swift",
"Entities/TunerHostInfo.swift",
"Entities/TypeOptions.swift",
"Entities/UnratedItem.swift",
"Entities/UpdateLibraryOptionsDto.swift",
"Entities/UpdateMediaPathRequestDto.swift",
"Entities/UpdatePlaylistDto.swift",
"Entities/UpdatePlaylistUserDto.swift",
"Entities/UpdateUserEasyPassword.swift",
"Entities/UpdateUserItemDataDto.swift",
"Entities/UpdateUserPassword.swift",
"Entities/UploadSubtitleDto.swift",
"Entities/UserConfiguration.swift",
"Entities/UserDataChangeInfo.swift",
"Entities/UserDataChangedMessage.swift",
"Entities/UserDeletedMessage.swift",
"Entities/UserDto.swift",
"Entities/UserItemDataDto.swift",
"Entities/UserPolicy.swift",
"Entities/UserUpdatedMessage.swift",
"Entities/UtcTimeResponse.swift",
"Entities/ValidatePathDto.swift",
"Entities/VersionInfo.swift",
"Entities/Video3DFormat.swift",
"Entities/VideoRange.swift",
"Entities/VideoRangeType.swift",
"Entities/VideoType.swift",
"Entities/VirtualFolderInfo.swift",
"Entities/WakeOnLanInfo.swift",
"Entities/WebSocketMessage.swift",
"Entities/XbmcMetadataOptions.swift",
"Entities/XmlAttribute.swift",
"Extensions/AnyJSON.swift",
"Extensions/JellyfinClient+Version.swift",
"Extensions/Paths.swift",
"Extensions/StringCodingKey.swift",
"JellyfinClient.swift",
"OpenISO8601Formatter.swift",
"Paths/AddItemToPlaylistAPI.swift",
"Paths/AddListingProviderAPI.swift",
"Paths/AddMediaPathAPI.swift",
"Paths/AddToCollectionAPI.swift",
"Paths/AddToPlaylistAPI.swift",
"Paths/AddTunerHostAPI.swift",
"Paths/AddUserToSessionAPI.swift",
"Paths/AddVirtualFolderAPI.swift",
"Paths/ApplySearchCriteriaAPI.swift",
"Paths/AuthenticateUserAPI.swift",
"Paths/AuthenticateUserByNameAPI.swift",
"Paths/AuthenticateWithQuickConnectAPI.swift",
"Paths/AuthorizeAPI.swift",
"Paths/AuthorizeQuickConnectAPI.swift",
"Paths/CancelPackageInstallationAPI.swift",
"Paths/CancelSeriesTimerAPI.swift",
"Paths/CancelTimerAPI.swift",
"Paths/CloseLiveStreamAPI.swift",
"Paths/CompleteWizardAPI.swift",
"Paths/ConnectAPI.swift",
"Paths/CreateAdminNotificationAPI.swift",
"Paths/CreateCollectionAPI.swift",
"Paths/CreateKeyAPI.swift",
"Paths/CreatePlaylistAPI.swift",
"Paths/CreateProfileAPI.swift",
"Paths/CreateSeriesTimerAPI.swift",
"Paths/CreateTimerAPI.swift",
"Paths/CreateUserByNameAPI.swift",
"Paths/DeleteAlternateSourcesAPI.swift",
"Paths/DeleteCustomSplashscreenAPI.swift",
"Paths/DeleteDeviceAPI.swift",
"Paths/DeleteItemAPI.swift",
"Paths/DeleteItemImageAPI.swift",
"Paths/DeleteItemImageByIndexAPI.swift",
"Paths/DeleteItemsAPI.swift",
"Paths/DeleteListingProviderAPI.swift",
"Paths/DeleteLyricsAPI.swift",
"Paths/DeleteProfileAPI.swift",
"Paths/DeleteRecordingAPI.swift",
"Paths/DeleteSubtitleAPI.swift",
"Paths/DeleteTunerHostAPI.swift",
"Paths/DeleteUserAPI.swift",
"Paths/DeleteUserImageAPI.swift",
"Paths/DeleteUserImageByIndexAPI.swift",
"Paths/DeleteUserItemRatingAPI.swift",
"Paths/DisablePluginAPI.swift",
"Paths/DiscoverTunersAPI.swift",
"Paths/DiscvoverTunersAPI.swift",
"Paths/DisplayContentAPI.swift",
"Paths/DownloadRemoteImageAPI.swift",
"Paths/DownloadRemoteLyricsAPI.swift",
"Paths/DownloadRemoteSubtitlesAPI.swift",
"Paths/EnablePluginAPI.swift",
"Paths/ForgotPasswordAPI.swift",
"Paths/ForgotPasswordPinAPI.swift",
"Paths/GetAPI.swift",
"Paths/GetAdditionalPartAPI.swift",
"Paths/GetAlbumArtistsAPI.swift",
"Paths/GetAllChannelFeaturesAPI.swift",
"Paths/GetAncestorsAPI.swift",
"Paths/GetArtistByNameAPI.swift",
"Paths/GetArtistImageAPI.swift",
"Paths/GetArtistsAPI.swift",
"Paths/GetAttachmentAPI.swift",
"Paths/GetAudioStreamAPI.swift",
"Paths/GetAudioStreamByContainerAPI.swift",
"Paths/GetAuthProvidersAPI.swift",
"Paths/GetBitrateTestBytesAPI.swift",
"Paths/GetBookRemoteSearchResultsAPI.swift",
"Paths/GetBoxSetRemoteSearchResultsAPI.swift",
"Paths/GetBrandingCss2API.swift",
"Paths/GetBrandingCssAPI.swift",
"Paths/GetBrandingOptionsAPI.swift",
"Paths/GetChannelAPI.swift",
"Paths/GetChannelFeaturesAPI.swift",
"Paths/GetChannelItemsAPI.swift",
"Paths/GetChannelMappingOptionsAPI.swift",
"Paths/GetChannelsAPI.swift",
"Paths/GetConfigurationAPI.swift",
"Paths/GetConfigurationPagesAPI.swift",
"Paths/GetConnectionManager2API.swift",
"Paths/GetConnectionManager3API.swift",
"Paths/GetConnectionManagerAPI.swift",
"Paths/GetContentDirectory2API.swift",
"Paths/GetContentDirectory3API.swift",
"Paths/GetContentDirectoryAPI.swift",
"Paths/GetCountriesAPI.swift",
"Paths/GetCriticReviewsAPI.swift",
"Paths/GetCulturesAPI.swift",
"Paths/GetCurrentUserAPI.swift",
"Paths/GetDashboardConfigurationPageAPI.swift",
"Paths/GetDefaultDirectoryBrowserAPI.swift",
"Paths/GetDefaultListingProviderAPI.swift",
"Paths/GetDefaultMetadataOptionsAPI.swift",
"Paths/GetDefaultProfileAPI.swift",
"Paths/GetDefaultTimerAPI.swift",
"Paths/GetDescriptionXml2API.swift",
"Paths/GetDescriptionXmlAPI.swift",
"Paths/GetDeviceInfoAPI.swift",
"Paths/GetDeviceOptionsAPI.swift",
"Paths/GetDevicesAPI.swift",
"Paths/GetDirectoryContentsAPI.swift",
"Paths/GetDisplayPreferencesAPI.swift",
"Paths/GetDownloadAPI.swift",
"Paths/GetDrivesAPI.swift",
"Paths/GetEnabledAPI.swift",
"Paths/GetEndpointInfoAPI.swift",
"Paths/GetEpisodesAPI.swift",
"Paths/GetExternalIDInfosAPI.swift",
"Paths/GetFallbackFontAPI.swift",
"Paths/GetFallbackFontListAPI.swift",
"Paths/GetFileAPI.swift",
"Paths/GetFirstUser2API.swift",
"Paths/GetFirstUserAPI.swift",
"Paths/GetGeneralImageAPI.swift",
"Paths/GetGeneralImagesAPI.swift",
"Paths/GetGenreAPI.swift",
"Paths/GetGenreImageAPI.swift",
"Paths/GetGenreImageByIndexAPI.swift",
"Paths/GetGenresAPI.swift",
"Paths/GetGroupingOptionsAPI.swift",
"Paths/GetGuideInfoAPI.swift",
"Paths/GetHlsAudioSegmentAPI.swift",
"Paths/GetHlsAudioSegmentLegacyAacAPI.swift",
"Paths/GetHlsAudioSegmentLegacyMp3API.swift",
"Paths/GetHlsPlaylistLegacyAPI.swift",
"Paths/GetHlsVideoSegmentAPI.swift",
"Paths/GetHlsVideoSegmentLegacyAPI.swift",
"Paths/GetIconAPI.swift",
"Paths/GetIconIDAPI.swift",
"Paths/GetInstantMixFromAlbumAPI.swift",
"Paths/GetInstantMixFromArtists2API.swift",
"Paths/GetInstantMixFromArtistsAPI.swift",
"Paths/GetInstantMixFromItemAPI.swift",
"Paths/GetInstantMixFromMusicGenreByIDAPI.swift",
"Paths/GetInstantMixFromMusicGenreByNameAPI.swift",
"Paths/GetInstantMixFromPlaylistAPI.swift",
"Paths/GetInstantMixFromSongAPI.swift",
"Paths/GetIntrosAPI.swift",
"Paths/GetItemAPI.swift",
"Paths/GetItemCountsAPI.swift",
"Paths/GetItemImage2API.swift",
"Paths/GetItemImageAPI.swift",
"Paths/GetItemImageByIndexAPI.swift",
"Paths/GetItemImageInfosAPI.swift",
"Paths/GetItemSegmentsAPI.swift",
"Paths/GetItemUserDataAPI.swift",
"Paths/GetItemsAPI.swift",
"Paths/GetItemsByUserIDAPI.swift",
"Paths/GetKeysAPI.swift",
"Paths/GetLatestChannelItemsAPI.swift",
"Paths/GetLatestMediaAPI.swift",
"Paths/GetLibraryOptionsInfoAPI.swift",
"Paths/GetLineupsAPI.swift",
"Paths/GetLiveHlsStreamAPI.swift",
"Paths/GetLiveRecordingFileAPI.swift",
"Paths/GetLiveStreamFileAPI.swift",
"Paths/GetLiveTvChannelsAPI.swift",
"Paths/GetLiveTvInfoAPI.swift",
"Paths/GetLiveTvProgramsAPI.swift",
"Paths/GetLocalTrailersAPI.swift",
"Paths/GetLocalizationOptionsAPI.swift",
"Paths/GetLogEntriesAPI.swift",
"Paths/GetLogFileAPI.swift",
"Paths/GetLyricsAPI.swift",
"Paths/GetMasterHlsAudioPlaylistAPI.swift",
"Paths/GetMasterHlsVideoPlaylistAPI.swift",
"Paths/GetMediaFoldersAPI.swift",
"Paths/GetMediaInfoImageAPI.swift",
"Paths/GetMediaInfoImagesAPI.swift",
"Paths/GetMediaReceiverRegistrar2API.swift",
"Paths/GetMediaReceiverRegistrar3API.swift",
"Paths/GetMediaReceiverRegistrarAPI.swift",
"Paths/GetMetadataEditorInfoAPI.swift",
"Paths/GetMovieRecommendationsAPI.swift",
"Paths/GetMovieRemoteSearchResultsAPI.swift",
"Paths/GetMusicAlbumRemoteSearchResultsAPI.swift",
"Paths/GetMusicArtistRemoteSearchResultsAPI.swift",
"Paths/GetMusicGenreAPI.swift",
"Paths/GetMusicGenreImageAPI.swift",
"Paths/GetMusicGenreImageByIndexAPI.swift",
"Paths/GetMusicGenresAPI.swift",
"Paths/GetMusicVideoRemoteSearchResultsAPI.swift",
"Paths/GetNamedConfigurationAPI.swift",
"Paths/GetNetworkSharesAPI.swift",
"Paths/GetNextUpAPI.swift",
"Paths/GetNotificationServicesAPI.swift",
"Paths/GetNotificationTypesAPI.swift",
"Paths/GetNotificationsAPI.swift",
"Paths/GetNotificationsSummaryAPI.swift",
"Paths/GetPackageInfoAPI.swift",
"Paths/GetPackagesAPI.swift",
"Paths/GetParentPathAPI.swift",
"Paths/GetParentalRatingsAPI.swift",
"Paths/GetPasswordResetProvidersAPI.swift",
"Paths/GetPersonAPI.swift",
"Paths/GetPersonImageAPI.swift",
"Paths/GetPersonImageByIndexAPI.swift",
"Paths/GetPersonRemoteSearchResultsAPI.swift",
"Paths/GetPersonsAPI.swift",
"Paths/GetPhysicalPathsAPI.swift",
"Paths/GetPingSystemAPI.swift",
"Paths/GetPlaybackInfoAPI.swift",
"Paths/GetPlaylistAPI.swift",
"Paths/GetPlaylistItemsAPI.swift",
"Paths/GetPlaylistUserAPI.swift",
"Paths/GetPlaylistUsersAPI.swift",
"Paths/GetPluginConfigurationAPI.swift",
"Paths/GetPluginImageAPI.swift",
"Paths/GetPluginManifestAPI.swift",
"Paths/GetPluginsAPI.swift",
"Paths/GetPostedPlaybackInfoAPI.swift",
"Paths/GetProfileAPI.swift",
"Paths/GetProfileInfosAPI.swift",
"Paths/GetProgramAPI.swift",
"Paths/GetProgramsAPI.swift",
"Paths/GetPublicSystemInfoAPI.swift",
"Paths/GetPublicUsersAPI.swift",
"Paths/GetQueryFiltersAPI.swift",
"Paths/GetQueryFiltersLegacyAPI.swift",
"Paths/GetQuickConnectEnabledAPI.swift",
"Paths/GetQuickConnectStateAPI.swift",
"Paths/GetRatingImageAPI.swift",
"Paths/GetRatingImagesAPI.swift",
"Paths/GetRecommendedProgramsAPI.swift",
"Paths/GetRecordingAPI.swift",
"Paths/GetRecordingFoldersAPI.swift",
"Paths/GetRecordingGroupAPI.swift",
"Paths/GetRecordingGroupsAPI.swift",
"Paths/GetRecordingsAPI.swift",
"Paths/GetRecordingsSeriesAPI.swift",
"Paths/GetRemoteImageProvidersAPI.swift",
"Paths/GetRemoteImagesAPI.swift",
"Paths/GetRemoteLyricsAPI.swift",
"Paths/GetRemoteSubtitlesAPI.swift",
"Paths/GetRepositoriesAPI.swift",
"Paths/GetResumeItemsAPI.swift",
"Paths/GetRootFolderAPI.swift",
"Paths/GetSchedulesDirectCountriesAPI.swift",
"Paths/GetSearchHintsAPI.swift",
"Paths/GetSeasonsAPI.swift",
"Paths/GetSeriesRemoteSearchResultsAPI.swift",
"Paths/GetSeriesTimerAPI.swift",
"Paths/GetSeriesTimersAPI.swift",
"Paths/GetServerLogsAPI.swift",
"Paths/GetSessionsAPI.swift",
"Paths/GetSimilarAlbumsAPI.swift",
"Paths/GetSimilarArtistsAPI.swift",
"Paths/GetSimilarItemsAPI.swift",
"Paths/GetSimilarMoviesAPI.swift",
"Paths/GetSimilarShowsAPI.swift",
"Paths/GetSimilarTrailersAPI.swift",
"Paths/GetSpecialFeaturesAPI.swift",
"Paths/GetSplashscreenAPI.swift",
"Paths/GetStartupConfigurationAPI.swift",
"Paths/GetStudioAPI.swift",
"Paths/GetStudioImageAPI.swift",
"Paths/GetStudioImageByIndexAPI.swift",
"Paths/GetStudiosAPI.swift",
"Paths/GetSubtitleAPI.swift",
"Paths/GetSubtitlePlaylistAPI.swift",
"Paths/GetSubtitleWithTicksAPI.swift",
"Paths/GetSuggestionsAPI.swift",
"Paths/GetSystemInfoAPI.swift",
"Paths/GetTaskAPI.swift",
"Paths/GetTasksAPI.swift",
"Paths/GetThemeMediaAPI.swift",
"Paths/GetThemeSongsAPI.swift",
"Paths/GetThemeVideosAPI.swift",
"Paths/GetTimerAPI.swift",
"Paths/GetTimersAPI.swift",
"Paths/GetTrailerRemoteSearchResultsAPI.swift",
"Paths/GetTrailersAPI.swift",
"Paths/GetTrickplayHlsPlaylistAPI.swift",
"Paths/GetTrickplayTileImageAPI.swift",
"Paths/GetTunerHostTypesAPI.swift",
"Paths/GetUniversalAudioStreamAPI.swift",
"Paths/GetUpcomingEpisodesAPI.swift",
"Paths/GetUserByIDAPI.swift",
"Paths/GetUserImageAPI.swift",
"Paths/GetUserImageByIndexAPI.swift",
"Paths/GetUserViewsAPI.swift",
"Paths/GetUsersAPI.swift",
"Paths/GetUtcTimeAPI.swift",
"Paths/GetVariantHlsAudioPlaylistAPI.swift",
"Paths/GetVariantHlsVideoPlaylistAPI.swift",
"Paths/GetVideoStreamAPI.swift",
"Paths/GetVideoStreamByContainerAPI.swift",
"Paths/GetVirtualFoldersAPI.swift",
"Paths/GetWakeOnLanInfoAPI.swift",
"Paths/GetYearAPI.swift",
"Paths/GetYearsAPI.swift",
"Paths/HeadArtistImageAPI.swift",
"Paths/HeadAudioStreamAPI.swift",
"Paths/HeadAudioStreamByContainerAPI.swift",
"Paths/HeadGenreImageAPI.swift",
"Paths/HeadGenreImageByIndexAPI.swift",
"Paths/HeadItemImage2API.swift",
"Paths/HeadItemImageAPI.swift",
"Paths/HeadItemImageByIndexAPI.swift",
"Paths/HeadMasterHlsAudioPlaylistAPI.swift",
"Paths/HeadMasterHlsVideoPlaylistAPI.swift",
"Paths/HeadMusicGenreImageAPI.swift",
"Paths/HeadMusicGenreImageByIndexAPI.swift",
"Paths/HeadPersonImageAPI.swift",
"Paths/HeadPersonImageByIndexAPI.swift",
"Paths/HeadStudioImageAPI.swift",
"Paths/HeadStudioImageByIndexAPI.swift",
"Paths/HeadUniversalAudioStreamAPI.swift",
"Paths/HeadUserImageAPI.swift",
"Paths/HeadUserImageByIndexAPI.swift",
"Paths/HeadVideoStreamAPI.swift",
"Paths/HeadVideoStreamByContainerAPI.swift",
"Paths/InitiateAPI.swift",
"Paths/InitiateQuickConnectAPI.swift",
"Paths/InstallPackageAPI.swift",
"Paths/LogFileAPI.swift",
"Paths/MarkFavoriteItemAPI.swift",
"Paths/MarkPlayedItemAPI.swift",
"Paths/MarkUnplayedItemAPI.swift",
"Paths/MergeVersionsAPI.swift",
"Paths/MoveItemAPI.swift",
"Paths/OnPlaybackProgressAPI.swift",
"Paths/OnPlaybackStartAPI.swift",
"Paths/OnPlaybackStoppedAPI.swift",
"Paths/OpenLiveStreamAPI.swift",
"Paths/PingPlaybackSessionAPI.swift",
"Paths/PlayAPI.swift",
"Paths/PostAddedMoviesAPI.swift",
"Paths/PostAddedSeriesAPI.swift",
"Paths/PostCapabilitiesAPI.swift",
"Paths/PostFullCapabilitiesAPI.swift",
"Paths/PostPingSystemAPI.swift",
"Paths/PostUpdatedMediaAPI.swift",
"Paths/PostUpdatedMoviesAPI.swift",
"Paths/PostUpdatedSeriesAPI.swift",
"Paths/PostUserImageAPI.swift",
"Paths/PostUserImageByIndexAPI.swift",
"Paths/ProcessConnectionManagerControlRequestAPI.swift",
"Paths/ProcessContentDirectoryControlRequestAPI.swift",
"Paths/ProcessMediaReceiverRegistrarControlRequestAPI.swift",
"Paths/RefreshItemAPI.swift",
"Paths/RefreshLibraryAPI.swift",
"Paths/RemoveFromCollectionAPI.swift",
"Paths/RemoveFromPlaylistAPI.swift",
"Paths/RemoveItemFromPlaylistAPI.swift",
"Paths/RemoveMediaPathAPI.swift",
"Paths/RemoveUserFromPlaylistAPI.swift",
"Paths/RemoveUserFromSessionAPI.swift",
"Paths/RemoveVirtualFolderAPI.swift",
"Paths/RenameVirtualFolderAPI.swift",
"Paths/ReportPlaybackProgressAPI.swift",
"Paths/ReportPlaybackStartAPI.swift",
"Paths/ReportPlaybackStoppedAPI.swift",
"Paths/ReportSessionEndedAPI.swift",
"Paths/ReportViewingAPI.swift",
"Paths/ResetTunerAPI.swift",
"Paths/RestartApplicationAPI.swift",
"Paths/RevokeKeyAPI.swift",
"Paths/SearchRemoteLyricsAPI.swift",
"Paths/SearchRemoteSubtitlesAPI.swift",
"Paths/SendFullGeneralCommandAPI.swift",
"Paths/SendGeneralCommandAPI.swift",
"Paths/SendMessageCommandAPI.swift",
"Paths/SendPlaystateCommandAPI.swift",
"Paths/SendSystemCommandAPI.swift",
"Paths/SetChannelMappingAPI.swift",
"Paths/SetItemImageAPI.swift",
"Paths/SetItemImageByIndexAPI.swift",
"Paths/SetReadAPI.swift",
"Paths/SetRemoteAccessAPI.swift",
"Paths/SetRepositoriesAPI.swift",
"Paths/SetUnreadAPI.swift",
"Paths/ShutdownApplicationAPI.swift",
"Paths/StartTaskAPI.swift",
"Paths/StopEncodingProcessAPI.swift",
"Paths/StopTaskAPI.swift",
"Paths/SyncPlayBufferingAPI.swift",
"Paths/SyncPlayCreateGroupAPI.swift",
"Paths/SyncPlayGetGroupsAPI.swift",
"Paths/SyncPlayJoinGroupAPI.swift",
"Paths/SyncPlayLeaveGroupAPI.swift",
"Paths/SyncPlayMovePlaylistItemAPI.swift",
"Paths/SyncPlayNextItemAPI.swift",
"Paths/SyncPlayPauseAPI.swift",
"Paths/SyncPlayPingAPI.swift",
"Paths/SyncPlayPreviousItemAPI.swift",
"Paths/SyncPlayQueueAPI.swift",
"Paths/SyncPlayReadyAPI.swift",
"Paths/SyncPlayRemoveFromPlaylistAPI.swift",
"Paths/SyncPlaySeekAPI.swift",
"Paths/SyncPlaySetIgnoreWaitAPI.swift",
"Paths/SyncPlaySetNewQueueAPI.swift",
"Paths/SyncPlaySetPlaylistItemAPI.swift",
"Paths/SyncPlaySetRepeatModeAPI.swift",
"Paths/SyncPlaySetShuffleModeAPI.swift",
"Paths/SyncPlayStopAPI.swift",
"Paths/SyncPlayUnpauseAPI.swift",
"Paths/TmdbClientConfigurationAPI.swift",
"Paths/UninstallPluginAPI.swift",
"Paths/UninstallPluginByVersionAPI.swift",
"Paths/UnmarkFavoriteItemAPI.swift",
"Paths/UpdateConfigurationAPI.swift",
"Paths/UpdateDeviceOptionsAPI.swift",
"Paths/UpdateDisplayPreferencesAPI.swift",
"Paths/UpdateInitialConfigurationAPI.swift",
"Paths/UpdateItemAPI.swift",
"Paths/UpdateItemContentTypeAPI.swift",
"Paths/UpdateItemImageIndexAPI.swift",
"Paths/UpdateItemUserDataAPI.swift",
"Paths/UpdateLibraryOptionsAPI.swift",
"Paths/UpdateMediaEncoderPathAPI.swift",
"Paths/UpdateMediaPathAPI.swift",
"Paths/UpdateNamedConfigurationAPI.swift",
"Paths/UpdatePlaylistAPI.swift",
"Paths/UpdatePlaylistUserAPI.swift",
"Paths/UpdatePluginConfigurationAPI.swift",
"Paths/UpdateProfileAPI.swift",
"Paths/UpdateSeriesTimerAPI.swift",
"Paths/UpdateStartupUserAPI.swift",
"Paths/UpdateTaskAPI.swift",
"Paths/UpdateTimerAPI.swift",
"Paths/UpdateUserAPI.swift",
"Paths/UpdateUserConfigurationAPI.swift",
"Paths/UpdateUserEasyPasswordAPI.swift",
"Paths/UpdateUserItemRatingAPI.swift",
"Paths/UpdateUserPasswordAPI.swift",
"Paths/UpdateUserPolicyAPI.swift",
"Paths/UploadCustomSplashscreenAPI.swift",
"Paths/UploadLyricsAPI.swift",
"Paths/UploadSubtitleAPI.swift",
"Paths/ValidatePathAPI.swift",
"QuickConnect.swift"
],
"type" : "library"
},
{
"c99name" : "CreateAPI",
"module_type" : "PluginTarget",
"name" : "CreateAPI",
"path" : "Plugins/CreateAPI",
"plugin_capability" : {
"intent" : {
"description" : "Generates the OpenAPI entities and paths using CreateAPI",
"type" : "custom",
"verb" : "generate-api"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "To output the generated source code",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"AnyJSON.swift",
"GeneratePlugin.swift",
"PatchFiles/JellyfinClient+Version.swift",
"PatchFiles/TaskTriggerType.swift"
],
"target_dependencies" : [
"create-api"
],
"type" : "plugin"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kean/Get
Fetching https://github.com/CreateAPI/URLQueryEncoder
[1/128] Fetching urlqueryencoder
[129/2477] Fetching urlqueryencoder, get
[1175/2349] Fetching get
Fetched https://github.com/CreateAPI/URLQueryEncoder from cache (0.29s)
Fetched https://github.com/kean/Get from cache (0.37s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder
Computed https://github.com/CreateAPI/URLQueryEncoder at 0.2.1 (1.42s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 2.2.1 (0.74s)
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder
Working copy of https://github.com/CreateAPI/URLQueryEncoder resolved at 0.2.1
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 2.2.1
Downloading binary artifact https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
[1397/5323848] Downloading https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip
Downloaded https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip (1.44s)
[1/1] Compiling plugin CreateAPI
Building for debugging...
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Emitting module URLQueryEncoder
[7/13] Emitting module Get
[8/13] Compiling URLQueryEncoder URLQueryEncoder.swift
[9/14] Compiling Get Response.swift
[10/14] Compiling Get Request.swift
[11/14] Compiling Get DataLoader.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:79:40: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
77 | userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
78 | #else
79 | userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
80 | #endif
81 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:86:34: error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
84 | func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
85 | if #available(macOS 11.0, *) {
86 | userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
| `- error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
87 | } else {
88 | // Fallback on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:102:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
100 | userTaskDelegate?.urlSession(session, task: task, didCompleteWithError: error)
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
104 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:103:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
104 | #endif
105 | switch handler {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:133:38: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
131 | userTaskDelegate?.urlSession(session, task: task, didFinishCollecting: metrics)
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
135 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:134:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
135 | #endif
136 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:144:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
142 | completionHandler(request)
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
146 | completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:145:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
146 | completionHandler(request)
147 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:46: error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:86: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:45: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:27: error: no exact matches in call to instance method 'urlSession'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:37: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:49: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:50: error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:75: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:31: error: no exact matches in call to instance method 'urlSession'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:41: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:174:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
172 | completionHandler(.performDefaultHandling, nil)
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
176 | completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:175:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
176 | completionHandler(.performDefaultHandling, nil)
177 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:186:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
184 | completionHandler(.continueLoading, nil)
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
188 | completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:187:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
188 | completionHandler(.continueLoading, nil)
189 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:197:39: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
195 | userTaskDelegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
199 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:198:31: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
199 | #endif
200 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:210:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
208 | completionHandler(.allow)
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
212 | completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:211:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
212 | completionHandler(.allow)
213 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:222:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
220 | userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: data)
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
224 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:223:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
224 | #endif
225 | if handler.data == nil {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:233:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
235 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:234:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
235 | }
236 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:238:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
240 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:239:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
240 | }
241 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:249:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
247 | completionHandler(proposedResponse)
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
251 | completionHandler(proposedResponse)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:250:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
251 | completionHandler(proposedResponse)
252 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:273:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
271 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
275 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:274:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
275 | #endif
276 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:283:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
281 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
285 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:284:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
285 | #endif
286 | }
[12/14] Compiling Get APIClientDelegate.swift
[14/14] Compiling Get APIClient.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:53019eca44ba8cce4deef66552e72c09c078a8a7314109c78012ab10170a991e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin CreateAPI
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Get Response.swift
[4/10] Compiling Get Request.swift
[5/10] Emitting module URLQueryEncoder
[6/10] Compiling URLQueryEncoder URLQueryEncoder.swift
[7/11] Compiling Get APIClientDelegate.swift
[8/11] Emitting module Get
[9/11] Compiling Get APIClient.swift
[10/11] Compiling Get DataLoader.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:79:40: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
77 | userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: error)
78 | #else
79 | userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
80 | #endif
81 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:86:34: error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
84 | func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
85 | if #available(macOS 11.0, *) {
86 | userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
| `- error: value of type 'any URLSessionDelegate' has no member 'urlSessionDidFinishEvents'
87 | } else {
88 | // Fallback on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:102:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
100 | userTaskDelegate?.urlSession(session, task: task, didCompleteWithError: error)
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
104 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:103:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
101 | #else
102 | handler.delegate?.urlSession?(session, task: task, didCompleteWithError: error)
103 | userTaskDelegate?.urlSession?(session, task: task, didCompleteWithError: error)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, (any Error)?) -> ()'
104 | #endif
105 | switch handler {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:133:38: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
131 | userTaskDelegate?.urlSession(session, task: task, didFinishCollecting: metrics)
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
135 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:134:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
132 | #else
133 | handler?.delegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
134 | userTaskDelegate?.urlSession?(session, task: task, didFinishCollecting: metrics)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLSessionTaskMetrics) -> ()'
135 | #endif
136 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:144:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
142 | completionHandler(request)
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
146 | completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:145:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
143 | #else
144 | handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
145 | userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping @Sendable (URLRequest?) -> Void) -> ()'
146 | completionHandler(request)
147 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:45: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:46: error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: incorrect argument label in call (have '_:taskIsWaitingForConnectivity:', expected '_:didBecomeInvalidWithError:')
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:152:86: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
150 | #if !os(Linux)
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
154 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:27: error: no exact matches in call to instance method 'urlSession'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:153:37: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
151 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
152 | handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 | userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
154 | }
155 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:49: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:50: error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: incorrect argument label in call (have '_:didCreateTask:', expected '_:didBecomeInvalidWithError:')
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:159:75: error: argument type 'URLSessionTask' does not conform to expected type 'Error'
157 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) {
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
| `- error: argument type 'URLSessionTask' does not conform to expected type 'Error'
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
161 | } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:31: error: no exact matches in call to instance method 'urlSession'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| |- error: no exact matches in call to instance method 'urlSession'
| |- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
| `- note: candidate has partially matching parameter list (URLSession, didBecomeInvalidWithError: (any Error)?)
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:160:41: error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
158 | if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 | handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
160 | userTaskDelegate?.urlSession?(session, didCreateTask: task)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, (any Error)?) -> ()'
161 | } else {
162 | // Doesn't exist on earlier versions
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:174:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
172 | completionHandler(.performDefaultHandling, nil)
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
176 | completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:175:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
173 | #else
174 | handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
175 | userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> ()'
176 | completionHandler(.performDefaultHandling, nil)
177 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:186:45: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
184 | completionHandler(.continueLoading, nil)
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
188 | completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:187:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
185 | #else
186 | handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
187 | userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, URLRequest, @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) -> ()'
188 | completionHandler(.continueLoading, nil)
189 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:197:39: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
195 | userTaskDelegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
199 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:198:31: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
196 | #else
197 | handlers[task]?.delegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
198 | userTaskDelegate?.urlSession?(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionTask, Int64, Int64, Int64) -> ()'
199 | #endif
200 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:210:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
208 | completionHandler(.allow)
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
212 | completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:211:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
209 | #else
210 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
211 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLResponse, @escaping @Sendable (URLSession.ResponseDisposition) -> Void) -> ()'
212 | completionHandler(.allow)
213 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:222:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
220 | userDataDelegate?.urlSession(session, dataTask: dataTask, didReceive: data)
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
224 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:223:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
221 | #else
222 | handler.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
223 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: data)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, Data) -> ()'
224 | #endif
225 | if handler.data == nil {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:233:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
231 | #if !os(Linux)
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
235 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:234:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
232 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask) {
233 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionDownloadTask) -> ()'
235 | }
236 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:238:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
236 |
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
240 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:239:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
237 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
238 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 | userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, URLSessionStreamTask) -> ()'
240 | }
241 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:249:75: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
247 | completionHandler(proposedResponse)
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
251 | completionHandler(proposedResponse)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:250:37: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
248 | #else
249 | (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
250 | userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDataTask, CachedURLResponse, @escaping @Sendable (CachedURLResponse?) -> Void) -> ()'
251 | completionHandler(proposedResponse)
252 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:273:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
271 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
275 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:274:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
272 | #else
273 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
274 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> ()'
275 | #endif
276 | }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:283:87: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
281 | userDownloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
285 | #endif
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:284:41: error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
282 | #else
283 | (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
284 | userDownloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
| `- error: cannot use optional chaining on non-optional value of type '(URLSession, URLSessionDownloadTask, Int64, Int64) -> ()'
285 | #endif
286 | }
BUILD FAILURE 6.1 android