The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build WPSwift, reference 0.1.5 (998bf9), with Swift 5.8 for macOS (SPM) on 13 Aug 2024 15:39:37 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rocxteady/WPSwift.git
Reference: 0.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rocxteady/WPSwift
 * tag               0.1.5      -> FETCH_HEAD
HEAD is now at 998bf97 Create LICENSE
Cloned https://github.com/rocxteady/WPSwift.git
Revision (git rev-parse @):
998bf97ba352993b64fc3e6d062a4aac9ee2bb64
SUCCESS checkout https://github.com/rocxteady/WPSwift.git at 0.1.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/rocxteady/WPSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Copying Info.plist
[1/6] Copying Localizable.strings
[1/6] Copying Info.plist
[1/6] Copying Localizable.strings
[7/14] Compiling Resting resource_bundle_accessor.swift
[8/14] Compiling Resting RestingError.swift
[9/14] Compiling Resting Resting.swift
[10/14] Compiling Resting URLComponents+Helper.swift
[11/14] Compiling Resting DataWithURLResponse.swift
[12/14] Emitting module Resting
[13/14] Compiling Resting URLSession+Helper.swift
[14/14] Compiling Resting RequestConfiguration.swift
[15/38] Emitting module WPSwift
[16/40] Compiling WPSwift CategoriesRepository.swift
[17/40] Compiling WPSwift PostsRepository.swift
[18/40] Compiling WPSwift EmptyModel.swift
[19/40] Compiling WPSwift FeaturedMedia.swift
[20/40] Compiling WPSwift SimplePost.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:15:25: error: expected initial value after '='
        let urlString = if let route {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:15:24: error: consecutive statements on a line must be separated by ';'
        let urlString = if let route {
                       ^
                       ;
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:16:13: warning: expression of type 'String' is unused
            route
            ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:18:24: warning: result of call to 'initializeRoute()' is unused
            try String.initializeRoute()
                       ^              ~~
[21/40] Compiling WPSwift APIInfoRepository.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:15:25: error: expected initial value after '='
        let urlString = if let route {
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:15:24: error: consecutive statements on a line must be separated by ';'
        let urlString = if let route {
                       ^
                       ;
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:16:13: warning: expression of type 'String' is unused
            route
            ^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Repositories/APIInfoRepository.swift:18:24: warning: result of call to 'initializeRoute()' is unused
            try String.initializeRoute()
                       ^              ~~
[22/40] Compiling WPSwift Author.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:21:19: error: expected expression in assignment
        _author = if let author {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:26:26: error: expected expression in assignment
        _featuredMedia = if let featuredMedia {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:22:13: warning: expression of type '[Author]' is unused
            [author]
            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:24:13: error: 'nil' requires a contextual type
            nil
            ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:27:13: warning: expression of type '[FeaturedMedia]' is unused
            [featuredMedia]
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:29:13: error: 'nil' requires a contextual type
            nil
            ^
[23/40] Compiling WPSwift Category.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:21:19: error: expected expression in assignment
        _author = if let author {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:26:26: error: expected expression in assignment
        _featuredMedia = if let featuredMedia {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:22:13: warning: expression of type '[Author]' is unused
            [author]
            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:24:13: error: 'nil' requires a contextual type
            nil
            ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:27:13: warning: expression of type '[FeaturedMedia]' is unused
            [featuredMedia]
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:29:13: error: 'nil' requires a contextual type
            nil
            ^
[24/40] Compiling WPSwift EmbeddedContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:21:19: error: expected expression in assignment
        _author = if let author {
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:26:26: error: expected expression in assignment
        _featuredMedia = if let featuredMedia {
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:22:13: warning: expression of type '[Author]' is unused
            [author]
            ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:24:13: error: 'nil' requires a contextual type
            nil
            ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:27:13: warning: expression of type '[FeaturedMedia]' is unused
            [featuredMedia]
            ^~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/Models/EmbeddedContent.swift:29:13: error: 'nil' requires a contextual type
            nil
            ^
[25/40] Compiling WPSwift WPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:20:13: warning: string literal is unused
            "URL is malformed."
            ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:22:19: warning: expression of type 'String' is unused
            error.localizedDescription
            ~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:24:13: warning: string literal is unused
            "Unknown error."
            ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:19:17: warning: string literal is unused
                "/posts"
                ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:21:17: warning: string literal is unused
                "/posts/\(id)"
                ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:23:17: warning: string literal is unused
                "/search"
                ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:35:17: warning: string literal is unused
                "/categories"
                ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:37:17: warning: string literal is unused
                "/categoriy/\(id)"
                ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:26:5: error: missing return in getter expected to return 'String?'
    }
    ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:25:9: error: missing return in getter expected to return 'String'
        }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:39:9: error: missing return in getter expected to return 'String'
        }
        ^
[26/40] Compiling WPSwift WPClientConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:20:13: warning: string literal is unused
            "URL is malformed."
            ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:22:19: warning: expression of type 'String' is unused
            error.localizedDescription
            ~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:24:13: warning: string literal is unused
            "Unknown error."
            ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:19:17: warning: string literal is unused
                "/posts"
                ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:21:17: warning: string literal is unused
                "/posts/\(id)"
                ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:23:17: warning: string literal is unused
                "/search"
                ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:35:17: warning: string literal is unused
                "/categories"
                ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:37:17: warning: string literal is unused
                "/categoriy/\(id)"
                ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:26:5: error: missing return in getter expected to return 'String?'
    }
    ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:25:9: error: missing return in getter expected to return 'String'
        }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:39:9: error: missing return in getter expected to return 'String'
        }
        ^
[27/40] Compiling WPSwift WPEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:20:13: warning: string literal is unused
            "URL is malformed."
            ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:22:19: warning: expression of type 'String' is unused
            error.localizedDescription
            ~~~~~~^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:24:13: warning: string literal is unused
            "Unknown error."
            ^~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:19:17: warning: string literal is unused
                "/posts"
                ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:21:17: warning: string literal is unused
                "/posts/\(id)"
                ^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:23:17: warning: string literal is unused
                "/search"
                ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:35:17: warning: string literal is unused
                "/categories"
                ^~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:37:17: warning: string literal is unused
                "/categoriy/\(id)"
                ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPClient.swift:26:5: error: missing return in getter expected to return 'String?'
    }
    ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:25:9: error: missing return in getter expected to return 'String'
        }
        ^
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/API/WPEndpoint.swift:39:9: error: missing return in getter expected to return 'String'
        }
        ^
[28/40] Compiling WPSwift Localizable.swift
[29/40] Compiling WPSwift APIInfo.swift
[30/40] Compiling WPSwift AnyCodable.swift
[31/40] Compiling WPSwift WPSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:13:55: warning: expression of type 'String' is unused
            Localization.Configuration.Error.notSetup.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:15:52: warning: expression of type 'String' is unused
            Localization.Configuration.Error.route.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:17:56: warning: expression of type 'String' is unused
            Localization.Configuration.Error.namespace.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:19:5: error: missing return in getter expected to return 'String?'
    }
    ^
[32/40] Compiling WPSwift resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:13:55: warning: expression of type 'String' is unused
            Localization.Configuration.Error.notSetup.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:15:52: warning: expression of type 'String' is unused
            Localization.Configuration.Error.route.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:17:56: warning: expression of type 'String' is unused
            Localization.Configuration.Error.namespace.localized
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WPSwift/WPSwift.swift:19:5: error: missing return in getter expected to return 'String?'
    }
    ^
[33/40] Compiling WPSwift RestClient+Configuration.swift
[34/40] Compiling WPSwift URL+Configuration.swift
[35/40] Compiling WPSwift DateFormatter+Default.swift
[36/40] Compiling WPSwift Params.swift
[37/40] Compiling WPSwift Post.swift
[38/40] Compiling WPSwift JSONDecoder+Utils.swift
[39/40] Compiling WPSwift JSONEncoder+Utils.swift
[40/40] Compiling WPSwift String+DecodedHTML.swift
Fetching https://github.com/rocxteady/Resting.git
[1/266] Fetching resting
Fetched https://github.com/rocxteady/Resting.git (1.23s)
Computing version for https://github.com/rocxteady/Resting.git
Computed https://github.com/rocxteady/Resting.git at 0.0.9 (0.54s)
Creating working copy for https://github.com/rocxteady/Resting.git
Working copy of https://github.com/rocxteady/Resting.git resolved at 0.0.9
BUILD FAILURE 5.8 macosSpm