Build Information
Successful build of SyndiKit, reference main (038591), with Swift 6.2 for macOS (SPM) on 13 Nov 2025 00:19:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
42 | public enum MediaContent: Sendable {
43 | /// A podcast episode.
44 | case podcast(PodcastEpisode)
| `- warning: use of protocol 'PodcastEpisode' as a type must be written 'any PodcastEpisode'; this will be an error in a future Swift language mode [#ExistentialAny]
45 |
46 | /// A video.
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+GeoURI.swift:142:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
140 | /// - Parameter decoder: The decoder to read data from.
141 | /// - Throws: A ``DecodingError`` if the decoding process fails.
142 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
143 | let container = try decoder.singleValueContainer()
144 | let singleValue = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+GeoURI.swift:172:36: warning: use of protocol 'Encoder' as a type must be written 'any Encoder'; this will be an error in a future Swift language mode [#ExistentialAny]
170 | /// - Parameter encoder: The encoder to write data to.
171 | /// - Throws: An error if the encoding process fails.
172 | public func encode(to encoder: Encoder) throws {
| `- warning: use of protocol 'Encoder' as a type must be written 'any Encoder'; this will be an error in a future Swift language mode [#ExistentialAny]
173 | var container = encoder.singleValueContainer()
174 | try container.encode(description)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[125/169] Compiling SyndiKit WordPressPost+ProcessedData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[126/169] Compiling SyndiKit WordPressPost+ProcessedFields.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[127/169] Compiling SyndiKit WordPressPost+Processor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[128/169] Compiling SyndiKit WordPressPost+ValidatedFields.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[129/169] Compiling SyndiKit WordPressPost+Validator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[130/169] Compiling SyndiKit WordPressPost.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[131/169] Compiling SyndiKit YouTubeID.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[132/169] Compiling SyndiKit iTunesDuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[133/169] Compiling SyndiKit iTunesEpisode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[134/169] Compiling SyndiKit iTunesImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[135/169] Compiling SyndiKit iTunesOwner.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/iTunes/iTunesDuration.swift:57:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | /// - Throws: An error if reading from the decoder fails,
56 | /// or if the data is corrupted or invalid.
57 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
58 | let container = try decoder.singleValueContainer()
59 | let stringValue = try container.decode(String.self)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[136/169] Compiling SyndiKit PodcastLocation+OsmQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[137/169] Compiling SyndiKit PodcastLocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[138/169] Compiling SyndiKit PodcastLocked.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[139/169] Compiling SyndiKit PodcastPerson+Role.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[140/169] Compiling SyndiKit PodcastPerson.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[141/169] Compiling SyndiKit PodcastSeason.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[142/169] Compiling SyndiKit PodcastSoundbite.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[143/169] Compiling SyndiKit PodcastTranscript+MimeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[144/169] Compiling SyndiKit PodcastTranscript.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[145/169] Compiling SyndiKit Video.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[146/169] Compiling SyndiKit Entryable+WordPressPost.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocation+OsmQuery.swift:59:31: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
57 | /// - Parameter decoder: The decoder to read data from.
58 | /// - Throws: `DecodingError.dataCorrupted` if the data is invalid.
59 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
60 | let container = try decoder.singleValueContainer()
61 | let osmStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Podcast/PodcastLocked.swift:54:29: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
52 | /// - Parameter decoder: The decoder to read data from.
53 | /// - Throws: An error if the decoding process fails.
54 | public init(from decoder: Decoder) throws {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
55 | let container = try decoder.container(keyedBy: CodingKeys.self)
56 | owner = try container.decodeIfPresent(String.self, forKey: .owner)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Formats/Media/Video.swift:43:16: warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | /// - Parameters:
42 | /// - id: The ID of the YouTube video.
43 | case youtube(YouTubeID)
| `- warning: use of protocol 'YouTubeID' as a type must be written 'any YouTubeID'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[147/169] Compiling SyndiKit CustomDecoderSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[148/169] Compiling SyndiKit DateFormatterDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[149/169] Compiling SyndiKit DecodableFeed.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[150/169] Compiling SyndiKit DecoderSetup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[151/169] Compiling SyndiKit DecoderSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[152/169] Compiling SyndiKit Decoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[153/169] Compiling SyndiKit DecodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[154/169] Compiling SyndiKit JSONDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[155/169] Compiling SyndiKit SynDecoder+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[156/169] Compiling SyndiKit SynDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[157/169] Compiling SyndiKit TypeDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[158/169] Compiling SyndiKit XMLDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:68:62: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
66 |
67 | @Sendable
68 | internal static func decodeDateHandlingEmpty(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
69 | let container = try decoder.singleValueContainer()
70 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:94:57: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
92 |
93 | @Sendable
94 | internal static func decodeDateOptional(from decoder: Decoder) throws -> Date? {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
95 | let container = try decoder.singleValueContainer()
96 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DateFormatterDecoder.swift:117:38: warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
115 |
116 | @Sendable
117 | internal func decode(from decoder: Decoder) throws -> Date {
| `- warning: use of protocol 'Decoder' as a type must be written 'any Decoder'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | let container = try decoder.singleValueContainer()
119 | let dateStr = try container.decode(String.self)
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodableFeed.swift:46:71: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | }
45 |
46 | internal static func anyDecoding(using decoder: any TypeDecoder) -> AnyDecoding {
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
47 | Self.decoding(using: decoder)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:41:25: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
39 | }
40 |
41 | internal let decoder: TypeDecoder
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:43:58: warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
41 | internal let decoder: TypeDecoder
42 |
43 | internal init(for _: DecodingType.Type, using decoder: TypeDecoder) {
| `- warning: use of protocol 'TypeDecoder' as a type must be written 'any TypeDecoder'; this will be an error in a future Swift language mode [#ExistentialAny]
44 | self.decoder = decoder
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/Decoding.swift:47:50: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
45 | }
46 |
47 | internal func decodeFeed(data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | try decode(data: data)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/DecodingError.swift:58:16: warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
56 |
57 | internal static func dataCorrupted(
58 | codingKey: CodingKey,
| `- warning: use of protocol 'CodingKey' as a type must be written 'any CodingKey'; this will be an error in a future Swift language mode [#ExistentialAny]
59 | debugDescription: String
60 | ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:117:30: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
115 | internal static func decodeFeed(
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
118 | ) throws -> Feedable {
119 | var errors = [String: DecodingError]()
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:118:15: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | _ data: Data,
117 | with decodings: [String: AnyDecoding]
118 | ) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | var errors = [String: DecodingError]()
120 | for (label, decoding) in decodings {
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:74:41: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
72 | jsonDecoder: JSONDecoder
73 | ) -> [DecoderSource: [String: any AnyDecoding]] {
74 | types.map { type -> (DecoderSource, AnyDecoding) in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
75 | let source = type.source
76 | let decoder = Self.createDecoder(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder+Helpers.swift:83:45: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
81 | return (source.source, type.anyDecoding(using: decoder))
82 | }
83 | .reduce(into: [DecoderSource: [(String, AnyDecoding)]]()) { dict, pair in
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
84 | let (source, decoding) = pair
85 | dict[source, default: []].append((type(of: decoding).label, decoding))
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:50:37: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
48 | @available(macOS 13.0, *)
49 | public final class SynDecoder: Sendable {
50 | private static let defaultTypes: [DecodableFeed.Type] = [
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
51 | RSSFeed.self,
52 | AtomFeed.self,
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:58:23: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
56 | private let defaultJSONDecoderSetup: @Sendable (JSONDecoder) -> Void
57 | private let defaultXMLDecoderSetup: @Sendable (XMLCoder.XMLDecoder) -> Void
58 | private let types: [DecodableFeed.Type]
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
59 |
60 | private let defaultXMLDecoder: XMLDecoder
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:64:51: warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
62 | private let defaultJSONDecoder: JSONDecoder
63 |
64 | private let decodings: [DecoderSource: [String: AnyDecoding]]
| `- warning: use of protocol 'AnyDecoding' as a type must be written 'any AnyDecoding'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:67:13: warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
65 |
66 | internal init(
67 | types: [DecodableFeed.Type]? = nil,
| `- warning: use of protocol 'DecodableFeed' as a type must be written 'any DecodableFeed'; this will be an error in a future Swift language mode [#ExistentialAny]
68 | defaultJSONDecoderSetup: (@Sendable (JSONDecoder) -> Void)? = nil,
69 | defaultXMLDecoderSetup: (@Sendable (XMLCoder.XMLDecoder) -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/SyndiKit/Decoding/SynDecoder.swift:118:46: warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
116 | /// print(feed.title) // Prints "Empower Apps"
117 | /// ```
118 | public func decode(_ data: Data) throws -> Feedable {
| `- warning: use of protocol 'Feedable' as a type must be written 'any Feedable'; this will be an error in a future Swift language mode [#ExistentialAny]
119 | let firstByte = try Self.getFirstByte(from: data)
120 | let source = try Self.getSource(from: firstByte)
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[159/169] Compiling SyndiKit OPML+Body.swift
[160/169] Compiling SyndiKit OPML+Head.swift
[161/169] Compiling SyndiKit OPML+Outline.swift
[162/169] Compiling SyndiKit OPML.swift
[163/169] Compiling SyndiKit OutlineType.swift
[164/169] Compiling SyndiKit SyndicationUpdate.swift
[165/169] Compiling SyndiKit SyndicationUpdateFrequency.swift
[166/169] Compiling SyndiKit SyndicationUpdatePeriod.swift
[167/169] Compiling SyndiKit KeyedDecodingContainerProtocol.swift
[168/169] Compiling SyndiKit StringProtocol.swift
[169/169] Compiling SyndiKit URL.swift
Build complete! (7.92s)
Build complete.
{
"dependencies" : [
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0-alpha.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/XMLCoder"
}
],
"manifest_display_name" : "SyndiKit",
"name" : "SyndiKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SyndiKit",
"targets" : [
"SyndiKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SyndiKitTests",
"module_type" : "SwiftTarget",
"name" : "SyndiKitTests",
"path" : "Tests/SyndiKitTests",
"sources" : [
"BlogTests.swift",
"Content.Directories.swift",
"Content.ResultDictionary.swift",
"DecodingErrorTests.swift",
"Extensions/FileManager.swift",
"Extensions/JSONFeed.swift",
"Extensions/Sequence.swift",
"Extensions/SiteCollection.swift",
"Extensions/String.swift",
"Extensions/URL.swift",
"OPMLTests.swift",
"RSSCoded.Durations.swift",
"RSSCodedTests.swift",
"RSSGUIDTests.swift",
"RSSItemCategoryTests.swift",
"UTF8EncodedURLTests.swift",
"WordPressElementsTests.swift",
"WordpressTests.swift",
"XMLStringIntTests.swift"
],
"target_dependencies" : [
"SyndiKit"
],
"type" : "test"
},
{
"c99name" : "SyndiKit",
"module_type" : "SwiftTarget",
"name" : "SyndiKit",
"path" : "Sources/SyndiKit",
"product_dependencies" : [
"XMLCoder"
],
"product_memberships" : [
"SyndiKit"
],
"sources" : [
"Character.swift",
"Collection.swift",
"Common/Author.swift",
"Common/EntryCategory.swift",
"Common/Entryable.swift",
"Common/Feedable.swift",
"Common/Link.swift",
"Common/Primitives/CData.swift",
"Common/Primitives/ListString.swift",
"Common/Primitives/UTF8EncodedURL.swift",
"Common/Primitives/XMLStringInt.swift",
"Decoding/AnyDecoding.swift",
"Decoding/CustomDecoderSetup.swift",
"Decoding/DateFormatterDecoder.swift",
"Decoding/DecodableFeed.swift",
"Decoding/DecoderSetup.swift",
"Decoding/DecoderSource.swift",
"Decoding/Decoding.swift",
"Decoding/DecodingError.swift",
"Decoding/JSONDecoder.swift",
"Decoding/SynDecoder+Helpers.swift",
"Decoding/SynDecoder.swift",
"Decoding/TypeDecoder.swift",
"Decoding/XMLDecoder.swift",
"Dictionary.swift",
"Formats/Blogs/CategoryDescriptor.swift",
"Formats/Blogs/CategoryLanguage.swift",
"Formats/Blogs/LanguageContentResult.swift",
"Formats/Blogs/ProcessedBlogsResult.swift",
"Formats/Blogs/Site.swift",
"Formats/Blogs/SiteCategory.swift",
"Formats/Blogs/SiteCategoryType.swift",
"Formats/Blogs/SiteCollection.swift",
"Formats/Blogs/SiteCollectionDirectory.swift",
"Formats/Blogs/SiteCollectionProcessor.swift",
"Formats/Blogs/SiteDirectory.swift",
"Formats/Blogs/SiteDirectoryBuilder.swift",
"Formats/Blogs/SiteLanguage.swift",
"Formats/Blogs/SiteLanguageCategory+Site.swift",
"Formats/Blogs/SiteLanguageCategory.swift",
"Formats/Blogs/SiteLanguageContent.swift",
"Formats/Blogs/SiteLanguageType.swift",
"Formats/Feeds/Atom/AtomCategory.swift",
"Formats/Feeds/Atom/AtomEntry.swift",
"Formats/Feeds/Atom/AtomFeed.swift",
"Formats/Feeds/Atom/AtomMedia.swift",
"Formats/Feeds/Atom/AtomMediaGroup.swift",
"Formats/Feeds/JSONFeed/JSONFeed.swift",
"Formats/Feeds/JSONFeed/JSONItem.swift",
"Formats/Feeds/RSS/Enclosure.swift",
"Formats/Feeds/RSS/EntryID.swift",
"Formats/Feeds/RSS/Properties/BasicProperties.swift",
"Formats/Feeds/RSS/Properties/ITunesProperties.swift",
"Formats/Feeds/RSS/Properties/MediaProperties.swift",
"Formats/Feeds/RSS/Properties/PodcastProperties.swift",
"Formats/Feeds/RSS/Properties/WordPressProperties.swift",
"Formats/Feeds/RSS/RSSChannel.swift",
"Formats/Feeds/RSS/RSSFeed.swift",
"Formats/Feeds/RSS/RSSImage.swift",
"Formats/Feeds/RSS/RSSItem+Init.swift",
"Formats/Feeds/RSS/RSSItem+InternalInit.swift",
"Formats/Feeds/RSS/RSSItem.swift",
"Formats/Feeds/RSS/RSSItemCategory.swift",
"Formats/Media/MediaContent.swift",
"Formats/Media/Podcast/PodcastChapters+MimeType.swift",
"Formats/Media/Podcast/PodcastChapters.swift",
"Formats/Media/Podcast/PodcastEpisode.swift",
"Formats/Media/Podcast/PodcastFunding.swift",
"Formats/Media/Podcast/PodcastLocation+GeoURI.swift",
"Formats/Media/Podcast/PodcastLocation+OsmQuery.swift",
"Formats/Media/Podcast/PodcastLocation.swift",
"Formats/Media/Podcast/PodcastLocked.swift",
"Formats/Media/Podcast/PodcastPerson+Role.swift",
"Formats/Media/Podcast/PodcastPerson.swift",
"Formats/Media/Podcast/PodcastSeason.swift",
"Formats/Media/Podcast/PodcastSoundbite.swift",
"Formats/Media/Podcast/PodcastTranscript+MimeType.swift",
"Formats/Media/Podcast/PodcastTranscript.swift",
"Formats/Media/Video.swift",
"Formats/Media/Wordpress/Entryable+WordPressPost.swift",
"Formats/Media/Wordpress/WPCategory.swift",
"Formats/Media/Wordpress/WPPostMeta.swift",
"Formats/Media/Wordpress/WPTag.swift",
"Formats/Media/Wordpress/WordPressElements.swift",
"Formats/Media/Wordpress/WordPressError.swift",
"Formats/Media/Wordpress/WordPressPost+BasicProperties.swift",
"Formats/Media/Wordpress/WordPressPost+CategoryProperties.swift",
"Formats/Media/Wordpress/WordPressPost+DateProperties.swift",
"Formats/Media/Wordpress/WordPressPost+Hashable.swift",
"Formats/Media/Wordpress/WordPressPost+Init.swift",
"Formats/Media/Wordpress/WordPressPost+MetaProperties.swift",
"Formats/Media/Wordpress/WordPressPost+ProcessedData.swift",
"Formats/Media/Wordpress/WordPressPost+ProcessedFields.swift",
"Formats/Media/Wordpress/WordPressPost+Processor.swift",
"Formats/Media/Wordpress/WordPressPost+ValidatedFields.swift",
"Formats/Media/Wordpress/WordPressPost+Validator.swift",
"Formats/Media/Wordpress/WordPressPost.swift",
"Formats/Media/YouTube/YouTubeID.swift",
"Formats/Media/iTunes/iTunesDuration.swift",
"Formats/Media/iTunes/iTunesEpisode.swift",
"Formats/Media/iTunes/iTunesImage.swift",
"Formats/Media/iTunes/iTunesOwner.swift",
"Formats/OPML/OPML+Body.swift",
"Formats/OPML/OPML+Head.swift",
"Formats/OPML/OPML+Outline.swift",
"Formats/OPML/OPML.swift",
"Formats/OPML/OutlineType.swift",
"Formats/SyndicationUpdate/SyndicationUpdate.swift",
"Formats/SyndicationUpdate/SyndicationUpdateFrequency.swift",
"Formats/SyndicationUpdate/SyndicationUpdatePeriod.swift",
"KeyedDecodingContainerProtocol.swift",
"StringProtocol.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/brightdigit/syndikit/main
Repository: brightdigit/SyndiKit
Swift version used: 6.2
Target: SyndiKit
Extracting symbol information for 'SyndiKit'...
Finished extracting symbol information for 'SyndiKit'. (1.88s)
Building documentation for 'SyndiKit'...
warning: 'String' doesn't exist at '/SyndiKit/XMLStringInt'
--> ../Common/Primitives/XMLStringInt.swift:36:36-36:42
34 | #endif
35 |
36 + /// XML Element which contains a ``String`` parsable into a ``Integer``.
37 | public struct XMLStringInt: Codable, ExpressibleByIntegerLiteral, Sendable {
38 | public typealias IntegerLiteralType = Int
warning: 'Integer' doesn't exist at '/SyndiKit/XMLStringInt'
--> ../Common/Primitives/XMLStringInt.swift:36:63-36:70
34 | #endif
35 |
36 + /// XML Element which contains a ``String`` parsable into a ``Integer``.
| ╰─suggestion: Replace 'Integer' with 'IntegerLiteralType'
37 | public struct XMLStringInt: Codable, ExpressibleByIntegerLiteral, Sendable {
38 | public typealias IntegerLiteralType = Int
warning: 'Int' doesn't exist at '/SyndiKit/XMLStringInt/value'
--> ../Common/Primitives/XMLStringInt.swift:40:24-40:27
38 | public typealias IntegerLiteralType = Int
39 |
40 + /// The underlying ``Int`` value.
41 | public let value: Int
42 |
warning: 'RSSDecoder' doesn't exist at '/SyndiKit/SynDecoder/init()'
--> ../Decoding/SynDecoder.swift:97:32-97:42
95 | }
96 |
97 + /// Creates an instance of ``RSSDecoder``
98 | public convenience init() {
99 | self.init(types: nil, defaultJSONDecoderSetup: nil, defaultXMLDecoderSetup: nil)
warning: 'Category' doesn't exist at '/SyndiKit/CategoryDescriptor'
--> ../Formats/Blogs/CategoryDescriptor.swift:37:18-37:26
35 | /// - Important: The ``title`` and ``description`` properties are read-only.
36 | ///
37 + /// - SeeAlso: ``Category``
38 | /// - SeeAlso: ``EntryCategory``
39 | public struct CategoryDescriptor: Sendable {
warning: 'SiteCategoryBuilder' doesn't exist at '/SyndiKit/SiteCategory'
--> ../Formats/Blogs/SiteCategory.swift:40:26-40:45
38 | ///
39 | /// - Important: This struct should not be used directly.
40 + /// Instead, use the ``SiteCategoryBuilder`` to create instances of ``SiteCategory``.
41 | ///
42 | /// - SeeAlso: ``SiteCategoryType``
warning: 'SiteCategoryBuilder' doesn't exist at '/SyndiKit/SiteCategory'
--> ../Formats/Blogs/SiteCategory.swift:45:18-45:37
43 | /// - SeeAlso: ``CategoryDescriptor``
44 | /// - SeeAlso: ``CategoryLanguage``
45 + /// - SeeAlso: ``SiteCategoryBuilder``
46 | /// - SeeAlso: ``EntryCategory``
47 | public struct SiteCategory: Sendable {
warning: 'struct' doesn't exist at '/SyndiKit/SiteLanguageCategory/Site'
--> ../Formats/Blogs/SiteLanguageCategory+Site.swift:39:11-39:17
37 |
38 | extension SiteLanguageCategory {
39 + /// A ``struct`` representing a site.
40 | public struct Site: Codable, Sendable {
41 | /// The title of the site.
warning: 'Codable' doesn't exist at '/SyndiKit/SiteLanguageCategory'
--> ../Formats/Blogs/SiteLanguageCategory.swift:33:43-33:50
31 | /// A struct representing a category of site languages.
32 | ///
33 + /// - Note: This struct conforms to the ``Codable`` protocol.
34 | ///
35 | /// - Important: All properties of this struct are read-only.
warning: 'Codable' doesn't exist at '/SyndiKit/SiteLanguageContent'
--> ../Formats/Blogs/SiteLanguageContent.swift:33:43-33:50
31 | /// A struct representing the content of a site in a specific language.
32 | ///
33 + /// - Note: This struct conforms to the ``Codable`` protocol.
34 | ///
35 | /// - Important: All properties of this struct are read-only.
warning: 'Codable' doesn't exist at '/SyndiKit/AtomCategory'
--> ../Formats/Feeds/Atom/AtomCategory.swift:33:43-33:50
31 | /// A struct representing an Atom category.
32 | ///
33 + /// - Note: This struct conforms to the ``Codable`` and ``EntryCategory`` protocols.
34 | ///
35 | /// - SeeAlso: ``EntryCategory``
warning: 'DecodableFeed' doesn't exist at '/SyndiKit/JSONFeed'
--> ../Formats/Feeds/JSONFeed/JSONFeed.swift:41:43-41:56
39 | /// A struct representing a JSON feed.
40 | ///
41 + /// - Note: This struct conforms to the ``DecodableFeed`` protocol.
| ╰─suggestion: Replace 'DecodableFeed' with 'Decodable-Implementations'
42 | ///
43 | /// - SeeAlso: ``DecodableFeed``
warning: 'DecodableFeed' doesn't exist at '/SyndiKit/JSONFeed'
--> ../Formats/Feeds/JSONFeed/JSONFeed.swift:43:18-43:31
41 | /// - Note: This struct conforms to the ``DecodableFeed`` protocol.
42 | ///
43 + /// - SeeAlso: ``DecodableFeed``
| ╰─suggestion: Replace 'DecodableFeed' with 'Decodable-Implementations'
44 | /// - SeeAlso: ``EntryCategory``
45 | public struct JSONFeed: Sendable {
warning: 'Codable' doesn't exist at '/SyndiKit/EntryID'
--> ../Formats/Feeds/RSS/EntryID.swift:41:9-41:16
39 | ///
40 | /// - Note: This enum conforms to
41 + /// ``Codable``, ``Equatable``, and ``LosslessStringConvertible``.
42 | public enum EntryID: Codable, Equatable, LosslessStringConvertible, Sendable {
43 | /// An identifier in URL format.
warning: 'Equatable' doesn't exist at '/SyndiKit/EntryID'
--> ../Formats/Feeds/RSS/EntryID.swift:41:22-41:31
39 | ///
40 | /// - Note: This enum conforms to
41 + /// ``Codable``, ``Equatable``, and ``LosslessStringConvertible``.
| ╰─suggestion: Replace 'Equatable' with 'Equatable-Implementations'
42 | public enum EntryID: Codable, Equatable, LosslessStringConvertible, Sendable {
43 | /// An identifier in URL format.
warning: 'LosslessStringConvertible' doesn't exist at '/SyndiKit/EntryID'
--> ../Formats/Feeds/RSS/EntryID.swift:41:41-41:66
39 | ///
40 | /// - Note: This enum conforms to
41 + /// ``Codable``, ``Equatable``, and ``LosslessStringConvertible``.
42 | public enum EntryID: Codable, Equatable, LosslessStringConvertible, Sendable {
43 | /// An identifier in URL format.
warning: 'nil' doesn't exist at '/SyndiKit/EntryID/init(_:)'
--> ../Formats/Feeds/RSS/EntryID.swift:82:54-82:57
80 | ///
81 | /// - Parameter description: The string representation of the entry identifier.
82 + /// - Note: This initializer will never return a ``nil`` instance.
83 | /// To avoid the ``Optional`` result, use `init(string:)` instead.
84 | public init?(_ description: String) {
warning: 'Optional' doesn't exist at '/SyndiKit/EntryID/init(_:)'
--> ../Formats/Feeds/RSS/EntryID.swift:83:24-83:32
81 | /// - Parameter description: The string representation of the entry identifier.
82 | /// - Note: This initializer will never return a ``nil`` instance.
83 + /// To avoid the ``Optional`` result, use `init(string:)` instead.
84 | public init?(_ description: String) {
85 | self.init(string: description)
warning: 'Optional' doesn't exist at '/SyndiKit/EntryID/init(string:)'
--> ../Formats/Feeds/RSS/EntryID.swift:91:73-91:81
89 | ///
90 | /// - Parameter string: The string representation of the entry identifier.
91 + /// - Note: Use this initializer instead of `init(_:)` to avoid the ``Optional`` result.
92 | public init(string: String) {
93 | if let url = URL(strict: string) {
warning: 'Codable' doesn't exist at '/SyndiKit/RSSChannel'
--> ../Formats/Feeds/RSS/RSSChannel.swift:41:43-41:50
39 | /// A struct representing information about the channel (metadata) and its contents.
40 | ///
41 + /// - Note: This struct conforms to the ``Codable`` protocol.
42 | ///
43 | /// - Remark: The ``CodingKeys`` enum is used to specify the coding keys for the struct.
warning: 'CodingKeys' doesn't exist at '/SyndiKit/RSSChannel'
--> ../Formats/Feeds/RSS/RSSChannel.swift:43:21-43:31
41 | /// - Note: This struct conforms to the ``Codable`` protocol.
42 | ///
43 + /// - Remark: The ``CodingKeys`` enum is used to specify the coding keys for the struct.
44 | ///
45 | /// - SeeAlso: ``RSSItem``
warning: 'WordPressElements.Category' doesn't exist at '/SyndiKit/RSSChannel'
--> ../Formats/Feeds/RSS/RSSChannel.swift:48:18-48:44
46 | /// - SeeAlso: ``RSSImage``
47 | /// - SeeAlso: ``Author``
48 + /// - SeeAlso: ``WordPressElements.Category``
49 | /// - SeeAlso: ``WordPressElements.Tag``
50 | /// - SeeAlso: ``iTunesOwner``
warning: 'WordPressElements.Tag' doesn't exist at '/SyndiKit/RSSChannel'
--> ../Formats/Feeds/RSS/RSSChannel.swift:49:18-49:39
47 | /// - SeeAlso: ``Author``
48 | /// - SeeAlso: ``WordPressElements.Category``
49 + /// - SeeAlso: ``WordPressElements.Tag``
50 | /// - SeeAlso: ``iTunesOwner``
51 | /// - SeeAlso: ``PodcastLocked``
warning: 'alt' doesn't exist at '/SyndiKit/RSSImage/title'
--> ../Formats/Feeds/RSS/RSSImage.swift:45:29-45:32
43 | /// The title or description of the image.
44 | ///
45 + /// This is used in the ``alt`` attribute of the HTML `<img>` tag
46 | /// when the channel is rendered in HTML.
47 | public let title: String
warning: 'Codable' doesn't exist at '/SyndiKit/RSSItemCategory'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:33:35-33:42
31 | /// A struct representing a category for an RSS item.
32 | ///
33 + /// This struct conforms to the ``Codable`` and ``EntryCategory`` protocols.
34 | ///
35 | /// - Note: The ``CodingKeys`` enum is used to specify the coding keys for the struct.
warning: 'CodingKeys' doesn't exist at '/SyndiKit/RSSItemCategory'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:35:19-35:29
33 | /// This struct conforms to the ``Codable`` and ``EntryCategory`` protocols.
34 | ///
35 + /// - Note: The ``CodingKeys`` enum is used to specify the coding keys for the struct.
36 | ///
37 | /// - SeeAlso: ``EntryCategory``
warning: 'public' doesn't exist at '/SyndiKit/RSSItemCategory'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:39:32-39:38
37 | /// - SeeAlso: ``EntryCategory``
38 | ///
39 + /// - Remark: This struct is ``public`` to allow access from other modules.
40 | ///
41 | /// - Warning: Do not modify the ``CodingKeys`` enum.
warning: 'CodingKeys' doesn't exist at '/SyndiKit/RSSItemCategory'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:41:36-41:46
39 | /// - Remark: This struct is ``public`` to allow access from other modules.
40 | ///
41 + /// - Warning: Do not modify the ``CodingKeys`` enum.
42 | ///
43 | /// - Version: 1.0
warning: 'nil' doesn't exist at '/SyndiKit/RSSItemCategory/init(value:domain:nicename:)'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:72:68-72:71
70 | /// - Parameters:
71 | /// - value: The value of the category.
72 + /// - domain: The domain of the category. Default value is ``nil``.
73 | /// - nicename: The nicename of the category. Default value is ``nil``.
74 | ///
warning: 'nil' doesn't exist at '/SyndiKit/RSSItemCategory/init(value:domain:nicename:)'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:73:72-73:75
71 | /// - value: The value of the category.
72 | /// - domain: The domain of the category. Default value is ``nil``.
73 + /// - nicename: The nicename of the category. Default value is ``nil``.
74 | ///
75 | /// - Returns: A new instance of ``RSSItemCategory``.
warning: 'true' doesn't exist at '/SyndiKit/RSSItemCategory/==(_:_:)'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:118:22-118:26
116 | /// - rhs: The right-hand side ``RSSItemCategory`` instance.
117 | ///
118 + /// - Returns: ``true`` if the instances are equal, otherwise ``false``.
119 | /// - SeeAlso: ``EntryCategory``
120 | public static func == (lhs: RSSItemCategory, rhs: RSSItemCategory) -> Bool {
warning: 'false' doesn't exist at '/SyndiKit/RSSItemCategory/==(_:_:)'
--> ../Formats/Feeds/RSS/RSSItemCategory.swift:118:69-118:74
116 | /// - rhs: The right-hand side ``RSSItemCategory`` instance.
117 | ///
118 + /// - Returns: ``true`` if the instances are equal, otherwise ``false``.
119 | /// - SeeAlso: ``EntryCategory``
120 | public static func == (lhs: RSSItemCategory, rhs: RSSItemCategory) -> Bool {
warning: 'struct' doesn't exist at '/SyndiKit/PodcastLocation/GeoURI'
--> ../Formats/Media/Podcast/PodcastLocation+GeoURI.swift:37:11-37:17
35 |
36 | extension PodcastLocation {
37 + /// A ``struct`` representing a geographic URI for a podcast location.
38 | public struct GeoURI: Codable, Equatable, LosslessStringConvertible, Sendable {
39 | /// The latitude coordinate.
warning: 'DecodingError' doesn't exist at '/SyndiKit/PodcastLocation/GeoURI/init(singleValue:)'
--> ../Formats/Media/Podcast/PodcastLocation+GeoURI.swift:95:23-95:36
93 | ///
94 | /// - Parameter singleValue: The single value string representing the geographic URI.
95 + /// - Throws: A ``DecodingError`` if the single value string is invalid.
96 | public init(singleValue: String) throws {
97 | let pathComponents = try Self.pathComponents(from: singleValue)
warning: 'DecodingError' doesn't exist at '/SyndiKit/PodcastLocation/GeoURI/init(from:)'
--> ../Formats/Media/Podcast/PodcastLocation+GeoURI.swift:141:23-141:36
139 | ///
140 | /// - Parameter decoder: The decoder to read data from.
141 + /// - Throws: A ``DecodingError`` if the decoding process fails.
142 | public init(from decoder: Decoder) throws {
143 | let container = try decoder.singleValueContainer()
warning: 'true' doesn't exist at '/SyndiKit/WordPressElements/PostMeta/==(_:_:)'
--> ../Formats/Media/Wordpress/WPPostMeta.swift:76:22-76:26
74 | /// - rhs: The right-hand side ``PostMeta`` instance.
75 | ///
76 + /// - Returns: ``true`` if the two instances are equal, ``false`` otherwise.
77 | /// - SeeAlso: ``EntryCategory``
78 | public static func == (
warning: 'false' doesn't exist at '/SyndiKit/WordPressElements/PostMeta/==(_:_:)'
--> ../Formats/Media/Wordpress/WPPostMeta.swift:76:63-76:68
74 | /// - rhs: The right-hand side ``PostMeta`` instance.
75 | ///
76 + /// - Returns: ``true`` if the two instances are equal, ``false`` otherwise.
77 | /// - SeeAlso: ``EntryCategory``
78 | public static func == (
warning: 'YouTubeIDProperties' doesn't exist at '/SyndiKit/YouTubeID'
--> ../Formats/Media/YouTube/YouTubeID.swift:79:18-79:37
77 | /// - Note: This protocol is public.
78 | ///
79 + /// - SeeAlso: ``YouTubeIDProperties``
80 | ///
81 | /// - Important: This protocol is specific to YouTube.
warning: 'nil' doesn't exist at '/SyndiKit/iTunesDuration/init(_:)'
--> ../Formats/Media/iTunes/iTunesDuration.swift:74:74-74:77
72 | ///
73 | /// - Parameter description: The description string representing the duration.
74 + /// - Returns: A new instance if the description is valid, otherwise ``nil``.
75 | public init?(_ description: String) {
76 | guard let value = Self.timeInterval(description) else {
warning: 'Codable' doesn't exist at '/SyndiKit/iTunesOwner'
--> ../Formats/Media/iTunes/iTunesOwner.swift:42:43-42:50
40 | /// A struct representing the owner of an iTunes account.
41 | ///
42 + /// - Note: This struct conforms to the ``Codable`` protocol.
43 | ///
44 | /// - Warning: Do not modify the ``CodingKeys`` enum.
warning: 'CodingKeys' doesn't exist at '/SyndiKit/iTunesOwner'
--> ../Formats/Media/iTunes/iTunesOwner.swift:44:36-44:46
42 | /// - Note: This struct conforms to the ``Codable`` protocol.
43 | ///
44 + /// - Warning: Do not modify the ``CodingKeys`` enum.
45 | ///
46 | /// - SeeAlso: ``CodingKeys``
warning: 'CodingKeys' doesn't exist at '/SyndiKit/iTunesOwner'
--> ../Formats/Media/iTunes/iTunesOwner.swift:46:18-46:28
44 | /// - Warning: Do not modify the ``CodingKeys`` enum.
45 | ///
46 + /// - SeeAlso: ``CodingKeys``
47 | ///
48 | /// - Remark: The ``email`` property is optional.
Finished building documentation for 'SyndiKit' (0.64s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/brightdigit/syndikit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/brightdigit/XMLCoder
Updated https://github.com/brightdigit/XMLCoder (0.45s)
[1/2160] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.84s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3577] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.16s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.85s)
Computing version for https://github.com/brightdigit/XMLCoder
Computed https://github.com/brightdigit/XMLCoder at 1.0.0-alpha.1 (0.63s)
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.5
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
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-49B95AFC49DCD68C.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Emitting module SymbolKit
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit SemanticVersion.swift
[40/57] Compiling SymbolKit AccessControl.swift
[41/57] Compiling SymbolKit Availability.swift
[42/57] Compiling SymbolKit AvailabilityItem.swift
[43/57] Compiling SymbolKit Domain.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.32s)
Building for debugging...
[0/1] Write swift-version-49B95AFC49DCD68C.txt
Build of target: 'SyndiKit' complete! (0.26s)
2138
12 /Users/admin/builder/spi-builder-workspace/.docs/brightdigit/syndikit/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/brightdigit/syndikit/main
File count: 2138
Doc size: 12.0MB
Preparing doc bundle ...
Uploading prod-brightdigit-syndikit-main-50bd1339.zip to s3://spi-docs-inbox/prod-brightdigit-syndikit-main-50bd1339.zip
Copying... [12%]
Copying... [21%]
Copying... [31%]
Copying... [40%]
Copying... [52%]
Copying... [62%]
Copying... [71%]
Copying... [81%]
Copying... [90%]
Copying... [100%]
Done.