Build Information
Failed to build swift-hls-kit, reference 0.6.0 (0547f8), with Swift 6.3 for Wasm on 19 Apr 2026 04:08:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atelier-socle/swift-hls-kit.git
Reference: 0.6.0
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/atelier-socle/swift-hls-kit
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 0547f84 docs: version bump 0.6.0, DocC HEVC/audio sync, README refresh
Cloned https://github.com/atelier-socle/swift-hls-kit.git
Revision (git rev-parse @):
0547f84380f771d6a9927efe7e41708811437b15
SUCCESS checkout https://github.com/atelier-socle/swift-hls-kit.git at 0.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/atelier-socle/swift-hls-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser.git
[1/2277] Fetching swift-docc-plugin
[229/19806] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.83s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.84s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (2.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/195] Emitting module ArgumentParserToolInfo
[12/195] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/196] Wrapping AST for ArgumentParserToolInfo for debugging
[15/242] Compiling HLSKit EncryptionConfig.swift
[16/242] Compiling HLSKit EncryptionError.swift
[17/242] Compiling HLSKit KeyManager.swift
[18/242] Compiling HLSKit SampleEncryptor.swift
[19/242] Compiling HLSKit SampleEncryptorTS.swift
[20/242] Compiling HLSKit SegmentEncryptor.swift
[21/242] Compiling HLSKit HLSEngine.swift
[22/242] Compiling HLSKit HLSEngineEncryption.swift
[23/242] Compiling HLSKit HLSEngineSegmentation.swift
[24/242] Compiling HLSKit HLSEngineTranscoding.swift
[25/242] Compiling HLSKit ManifestGenerator.swift
[26/242] Compiling HLSKit TagWriter.swift
[27/242] Compiling HLSKit DolbyVisionConfig.swift
[28/242] Compiling HLSKit HDRConfig.swift
[29/242] Compiling HLSKit HDRVariantGenerator.swift
[30/242] Compiling HLSKit UltraResolutionPresets.swift
[31/242] Compiling HLSKit VideoRangeMapper.swift
[32/242] Compiling HLSKit IFramePlaylistGenerator.swift
[33/242] Compiling HLSKit IFrameStreamInfo.swift
[34/242] Compiling HLSKit ThumbnailExtractor.swift
[35/242] Compiling HLSKit AudioFormat.swift
[36/242] Compiling HLSKit FileSource.swift
[37/242] Compiling HLSKit InputError.swift
[38/242] Compiling HLSKit MediaFormatDescription.swift
[39/242] Compiling HLSKit MediaSource.swift
[40/266] Compiling ArgumentParser Foundation.swift
[41/266] Compiling ArgumentParser Mutex.swift
[42/266] Compiling ArgumentParser Platform.swift
[43/266] Compiling ArgumentParser SequenceExtensions.swift
[44/266] Compiling ArgumentParser StringExtensions.swift
[45/266] Compiling ArgumentParser SwiftExtensions.swift
[46/272] Emitting module ArgumentParser
[47/272] Compiling ArgumentParser ParentCommand.swift
[48/272] Compiling ArgumentParser AsyncParsableCommand.swift
[49/272] Compiling ArgumentParser CommandConfiguration.swift
[50/272] Compiling ArgumentParser CommandGroup.swift
[51/272] Compiling ArgumentParser EnumerableFlag.swift
[52/272] Compiling ArgumentParser ExpressibleByArgument.swift
[53/272] Compiling ArgumentParser ParsableArguments.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/272] Compiling HLSKit AudioSegmenter.swift
[55/272] Compiling HLSKit CMAFWriter.swift
[56/272] Compiling HLSKit CMAFWriterBoxes.swift
[57/272] Compiling HLSKit CMAFWriterCodecConfig.swift
[58/272] Compiling HLSKit CMAFWriterMoof.swift
[59/272] Compiling HLSKit CMAFWriterVideoMoov.swift
[60/272] Compiling HLSKit IncrementalSegmenter.swift
[61/272] Compiling HLSKit LiveSegment.swift
[62/272] Compiling HLSKit LiveSegmenter.swift
[63/272] Compiling HLSKit LiveSegmenterConfiguration.swift
[64/272] Compiling HLSKit LiveSegmenterError.swift
[65/272] Compiling HLSKit PartialSegment.swift
[66/272] Compiling HLSKit SegmentRingBuffer.swift
[67/272] Compiling HLSKit VideoSegmenter.swift
[68/272] Compiling HLSKit BlockingPlaylistHandler.swift
[69/272] Compiling HLSKit BlockingPlaylistRequest.swift
[70/272] Compiling HLSKit DeltaUpdateGenerator.swift
[71/272] Compiling HLSKit HLSSkipRequest.swift
[72/272] Compiling HLSKit LLHLSConfiguration.swift
[73/272] Compiling HLSKit LLHLSError.swift
[74/272] Compiling HLSKit LLHLSEvent.swift
[75/272] Compiling HLSKit LLHLSManager.swift
[76/272] Compiling HLSKit LLHLSPlaylistRenderer.swift
[77/272] Compiling HLSKit LLPartialSegment.swift
[78/272] Compiling HLSKit PartialSegmentManager.swift
[79/272] Emitting module HLSKit
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
[80/272] Compiling HLSKit SampleLocatorAudioAlignment.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[81/272] Compiling HLSKit SampleTable.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[82/272] Compiling HLSKit SampleTableParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[83/272] Compiling HLSKit DRMInterop.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[84/272] Compiling HLSKit FairPlayLiveConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[85/272] Compiling HLSKit KeyRotationPolicy.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[86/272] Compiling HLSKit LiveDRMPipeline.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[87/272] Compiling HLSKit LiveDRMPipelineConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[88/272] Compiling HLSKit LiveKeyManager.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[89/272] Compiling HLSKit SessionKeyManager.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[90/272] Compiling HLSKit ADTSParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[91/272] Compiling HLSKit AudioConverterBridge.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[92/272] Compiling HLSKit AudioEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[93/272] Compiling HLSKit EncodedFrame.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[94/272] Compiling HLSKit FFmpegAudioEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[95/272] Compiling HLSKit FFmpegVideoEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[96/272] Compiling HLSKit LiveEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[97/272] Compiling HLSKit LiveEncoderConfiguration.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[98/272] Compiling HLSKit LiveEncoderError.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[99/272] Compiling HLSKit MultiBitrateEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[100/272] Compiling HLSKit NALUnitParser.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[101/272] Compiling HLSKit VideoEncoder+PixelBuffer.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[102/272] Compiling HLSKit VideoEncoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[103/272] Compiling HLSKit CryptoProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[104/272] Compiling HLSKit EncryptedPlaylistBuilder.swift
/host/spi-builder-workspace/Sources/HLSKit/Encryption/CryptoProvider.swift:76:1: error: missing return in global function expected to return 'any CryptoProvider'
74 | return OpenSSLCryptoProvider()
75 | #endif
76 | }
| `- error: missing return in global function expected to return 'any CryptoProvider'
77 |
78 | // MARK: - Apple Implementation
[105/272] Compiling HLSKit MediaSourceConfiguration.swift
[106/272] Compiling HLSKit RawMediaBuffer.swift
[107/272] Compiling HLSKit LivePipeline.swift
[108/272] Compiling HLSKit LivePipelineComponents.swift
[109/272] Compiling HLSKit LivePipelineConfiguration.swift
[110/272] Compiling HLSKit LivePipelineOrchestration.swift
[111/272] Compiling HLSKit LivePipelinePresets.swift
[112/272] Compiling HLSKit LivePipelinePresetsExtended.swift
[113/272] Compiling HLSKit LivePipelineProPresets.swift
[114/272] Compiling HLSKit LivePipelineState.swift
[115/272] Compiling HLSKit LivePipelineStatistics.swift
[116/272] Compiling HLSKit LivePipelineTransportMonitor.swift
[117/272] Compiling HLSKit DVRBuffer.swift
[118/272] Compiling HLSKit DVRPlaylist.swift
[119/272] Compiling HLSKit DVRPlaylistConfiguration.swift
[120/272] Compiling HLSKit EventPlaylist.swift
[121/272] Compiling HLSKit EventPlaylistConfiguration.swift
[122/272] Compiling HLSKit LivePlaylistError.swift
[123/272] Compiling HLSKit LivePlaylistEvent.swift
[124/272] Compiling HLSKit LivePlaylistManager.swift
[125/272] Compiling HLSKit LivePlaylistMetadata.swift
[126/272] Compiling HLSKit MediaSequenceTracker.swift
[127/272] Compiling HLSKit PlaylistRenderer.swift
[128/272] Compiling HLSKit SlidingWindowConfiguration.swift
[129/272] Compiling HLSKit SlidingWindowPlaylist.swift
[130/272] Compiling ArgumentParser UniqueNamesValidator.swift
[131/272] Compiling HLSKit ServerControlRenderer.swift
[132/272] Compiling HLSKit ContentSteering.swift
[133/272] Compiling HLSKit DateRange.swift
[134/272] Compiling HLSKit EncryptionMethod.swift
[135/272] Compiling HLSKit HLSTag.swift
[136/272] Compiling HLSKit HLSVersion.swift
[137/272] Compiling HLSKit MasterPlaylist.swift
[138/272] Compiling HLSKit MediaPlaylist.swift
[139/272] Compiling HLSKit MediaType.swift
[140/272] Compiling HLSKit PlaylistType.swift
[141/272] Compiling HLSKit RenditionGroup.swift
[142/272] Compiling HLSKit Resolution.swift
[143/272] Compiling HLSKit Segment.swift
[144/272] Compiling HLSKit SessionData.swift
[145/272] Compiling HLSKit SubtitleCodec.swift
[146/272] Compiling HLSKit SupplementalCodecs.swift
[147/272] Compiling HLSKit Variant.swift
[148/272] Compiling HLSKit VideoRange.swift
[149/272] Compiling HLSKit DateRangeManager.swift
[150/272] Compiling HLSKit HLSInterstitial.swift
[151/272] Compiling HLSKit ID3TimedMetadata.swift
[152/272] Compiling HLSKit InterstitialManager.swift
[153/272] Compiling HLSKit LiveMetadataInjector.swift
[154/272] Compiling HLSKit ProgramDateTimeSync.swift
[155/344] Compiling ArgumentParser Tree.swift
[156/344] Compiling ArgumentParser CodingKeyValidator.swift
[157/344] Compiling ArgumentParser NonsenseFlagsValidator.swift
[158/344] Compiling ArgumentParser ParsableArgumentsValidation.swift
[159/344] Compiling ArgumentParser PositionalArgumentsValidator.swift
[161/344] Compiling ArgumentParser InputOrigin.swift
[162/344] Compiling ArgumentParser Name.swift
[163/344] Compiling ArgumentParser Parsed.swift
[164/344] Compiling ArgumentParser ParsedValues.swift
[165/344] Compiling ArgumentParser ParserError.swift
[166/344] Compiling ArgumentParser SplitArguments.swift
[167/344] Compiling ArgumentParser ArgumentVisibility.swift
[168/344] Compiling ArgumentParser CompletionKind.swift
[169/344] Compiling ArgumentParser Errors.swift
[170/344] Compiling ArgumentParser Flag.swift
[171/344] Compiling ArgumentParser NameSpecification.swift
[172/344] Compiling ArgumentParser Option.swift
[173/344] Compiling ArgumentParser OptionGroup.swift
[174/344] Compiling ArgumentParser DumpHelpGenerator.swift
[175/344] Compiling ArgumentParser HelpCommand.swift
[176/344] Compiling ArgumentParser HelpGenerator.swift
[177/344] Compiling ArgumentParser MessageInfo.swift
[178/344] Compiling ArgumentParser UsageGenerator.swift
[179/344] Compiling ArgumentParser CollectionExtensions.swift
[180/344] Compiling HLSKit IMSC1Segmenter.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[181/344] Compiling HLSKit IMSC1SegmenterBoxes.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[182/344] Compiling HLSKit IMSC1Style.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[183/344] Compiling HLSKit AppleTranscoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[184/344] Compiling HLSKit AppleTranscoderFastPath.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[185/344] Compiling HLSKit AppleTranscoderHelpers.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[186/344] Compiling HLSKit AppleTranscoderSetup.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[187/344] Compiling HLSKit EncodingSettings.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[188/344] Compiling HLSKit FFmpegCommandBuilder.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[189/344] Compiling HLSKit FFmpegProcessRunner.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[190/344] Compiling HLSKit FFmpegSourceAnalyzer.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[191/344] Compiling HLSKit FFmpegTranscoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[192/344] Compiling HLSKit HTTPClient.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[193/344] Compiling HLSKit ManagedTranscoder.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[194/344] Compiling HLSKit ManagedTranscodingConfig.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[195/344] Compiling HLSKit ManagedTranscodingJob.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[196/344] Compiling HLSKit ManagedTranscodingProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[197/344] Compiling HLSKit AWSJobSettingsBuilder.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[198/344] Compiling HLSKit AWSMediaConvertHelpers.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[199/344] Compiling HLSKit AWSMediaConvertProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[200/344] Compiling HLSKit AWSSignatureV4.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[201/344] Compiling HLSKit CloudflareStreamProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[202/344] Compiling HLSKit MuxProvider.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[203/344] Compiling HLSKit QualityPreset.swift
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |
278 | init(session: URLSession = .shared) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:19: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 | self.session = session
280 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:278:33: error: value of type '_' expected to be instance of class or class-constrained type
276 | private let session: URLSession
277 |
278 | init(session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
279 | self.session = session
280 | }
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:276:17: error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
274 | struct URLSessionHTTPClient: HTTPClient, Sendable {
275 |
276 | private let session: URLSession
| `- error: stored property 'session' of 'Sendable'-conforming struct 'URLSessionHTTPClient' has non-Sendable type 'AnyObject'
277 |
278 | init(session: URLSession = .shared) {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:288:23: error: cannot find 'URLRequest' in scope
286 | body: Data?
287 | ) async throws -> HTTPResponse {
288 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
289 | request.httpMethod = method
290 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:295:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
293 | request.httpBody = body
294 |
295 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
296 | for: request
297 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:329:23: error: cannot find 'URLRequest' in scope
327 | progress: (@Sendable (Double) -> Void)?
328 | ) async throws -> HTTPResponse {
329 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
330 | request.httpMethod = method
331 | for (key, value) in headers {
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:361:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
359 | request.httpBody = fileData
360 | progress?(0.5)
361 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
362 | for: request
363 | )
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:398:23: error: cannot find 'URLRequest' in scope
396 | progress: (@Sendable (Double) -> Void)?
397 | ) async throws {
398 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
399 | for (key, value) in headers {
400 | request.setValue(
/host/spi-builder-workspace/Sources/HLSKit/Transcoder/Managed/HTTPClient.swift:431:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
429 | #else
430 | progress?(0.5)
431 | let (data, response) = try await session.data(
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
432 | for: request
433 | )
[204/344] Compiling ArgumentParser CommandParser.swift
[205/344] Compiling ArgumentParser InputKey.swift
[229/344] Compiling ArgumentParser BashCompletionsGenerator.swift
[230/344] Compiling ArgumentParser CompletionsGenerator.swift
[231/344] Compiling ArgumentParser FishCompletionsGenerator.swift
[232/344] Compiling ArgumentParser ZshCompletionsGenerator.swift
[233/344] Compiling ArgumentParser Argument.swift
[234/344] Compiling ArgumentParser ArgumentDiscussion.swift
[235/344] Compiling ArgumentParser ArgumentHelp.swift
[250/344] Compiling ArgumentParser ParsableCommand.swift
[251/344] Compiling ArgumentParser ArgumentDecoder.swift
[252/344] Compiling ArgumentParser ArgumentDefinition.swift
[253/344] Compiling ArgumentParser ArgumentSet.swift
[267/345] Wrapping AST for ArgumentParser for debugging
[269/345] Compiling HLSKit SRTPusher.swift
[270/345] Compiling HLSKit SRTPusherConfiguration.swift
[271/345] Compiling HLSKit SRTTransport.swift
[272/345] Compiling HLSKit SegmentPusher.swift
[273/345] Compiling HLSKit TransportAwarePipelinePolicy.swift
[274/345] Compiling HLSKit TransportAwarePusher.swift
[275/345] Compiling HLSKit TransportBitrateRecommendation.swift
[276/345] Compiling HLSKit TransportEvent.swift
[277/345] Compiling HLSKit TransportHealthDashboard.swift
[278/345] Compiling HLSKit TransportQuality.swift
[279/345] Compiling HLSKit TransportRecordingState.swift
[280/345] Compiling HLSKit TransportStatisticsSnapshot.swift
[281/345] Compiling HLSKit AutoChapterGenerator.swift
[282/345] Compiling HLSKit LiveToVODConverter.swift
[283/345] Compiling HLSKit RecordingStorage.swift
[284/345] Compiling HLSKit SimultaneousRecorder.swift
[285/345] Compiling HLSKit ContentSteeringConfig.swift
[286/345] Compiling HLSKit FailoverManager.swift
[287/345] Compiling HLSKit GapHandler.swift
[288/345] Compiling HLSKit RedundantStreamConfig.swift
[289/345] Compiling HLSKit SessionDataConfig.swift
[290/345] Compiling HLSKit MP4Segmenter.swift
[291/345] Compiling HLSKit MP4SegmenterHelpers.swift
[292/345] Compiling HLSKit MP4SegmenterPlaylist.swift
[293/345] Compiling HLSKit SegmentationConfig.swift
[294/345] Compiling HLSKit SegmentationResult.swift
[295/345] Compiling HLSKit TSSegmenter.swift
[296/345] Compiling HLSKit TSSegmenterCodecExtraction.swift
[297/345] Compiling HLSKit TSSegmenterPlaylist.swift
[298/345] Compiling HLSKit MVHEVCEncoder.swift
[299/345] Compiling HLSKit MVHEVCMediaSegmentBoxes.swift
[300/345] Compiling HLSKit MVHEVCPackager.swift
[301/345] Compiling HLSKit MVHEVCPackagerBoxes.swift
[302/345] Compiling HLSKit MVHEVCSampleProcessor.swift
[303/345] Compiling HLSKit SpatialVideoConfiguration.swift
[304/345] Compiling HLSKit VideoChannelLayout.swift
[305/345] Compiling HLSKit VideoLayoutDescriptor.swift
[306/345] Compiling HLSKit VideoProjection.swift
[307/345] Compiling HLSKit AC3Encoder.swift
[308/345] Compiling HLSKit DolbyAtmosEncoder.swift
[309/345] Compiling HLSKit HiResAudioConfig.swift
[310/345] Compiling HLSKit MultiChannelLayout.swift
[311/345] Compiling HLSKit SpatialAudioConfig.swift
[312/345] Compiling HLSKit SpatialAudioEncoder.swift
[313/345] Compiling HLSKit SpatialRenditionGenerator.swift
[314/345] Compiling HLSKit IMSC1Document.swift
[315/345] Compiling HLSKit IMSC1Parser.swift
[316/345] Compiling HLSKit IMSC1Renderer.swift
[317/345] Compiling HLSKit SourceAnalyzer.swift
[318/345] Compiling HLSKit TrackProcessing.swift
[319/345] Compiling HLSKit TranscodingConfig.swift
[320/345] Compiling HLSKit TranscodingError.swift
[321/345] Compiling HLSKit TranscodingProtocol.swift
[322/345] Compiling HLSKit TranscodingResult.swift
[323/345] Compiling HLSKit TranscodingSession.swift
[324/345] Compiling HLSKit VariantPlaylistBuilder.swift
[325/345] Compiling HLSKit VideoProfile.swift
[326/345] Compiling HLSKit ADTSConverter.swift
[327/345] Compiling HLSKit AnnexBConverter.swift
[328/345] Compiling HLSKit PESPacketizer.swift
[329/345] Compiling HLSKit ProgramTables.swift
[330/345] Compiling HLSKit TSPacket.swift
[331/345] Compiling HLSKit TSPacketWriter.swift
[332/345] Compiling HLSKit TSSegmentBuilder.swift
[333/345] Compiling HLSKit TransportError.swift
[334/345] Compiling HLSKit LockedState.swift
[335/345] Compiling HLSKit AppleHLSRules.swift
[336/345] Compiling HLSKit HLSValidator.swift
[337/345] Compiling HLSKit RFC8216MediaRules.swift
[338/345] Compiling HLSKit RFC8216Rules.swift
[339/345] Compiling HLSKit ValidationReport.swift
[340/345] Compiling HLSKit VariableRules.swift
BUILD FAILURE 6.3 wasm