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 pwa-template, reference master (854714), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 09:07:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swifweb/pwa-template.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swifweb/pwa-template
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 854714e 🚁 Upgrade to v3
Cloned https://github.com/swifweb/pwa-template.git
Revision (git rev-parse @):
854714e8471fb24b11b012cb6157e66b9f1c5f1d
SUCCESS checkout https://github.com/swifweb/pwa-template.git at master
Fetching https://github.com/swifweb/web
[1/6542] Fetching web
Fetched https://github.com/swifweb/web from cache (1.10s)
Computing version for https://github.com/swifweb/web
Computed https://github.com/swifweb/web at 1.0.0 (0.66s)
Fetching https://github.com/swiftwasm/JavaScriptKit
[1/21324] Fetching javascriptkit
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.46s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.17.0 (0.57s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.17.0
Creating working copy for https://github.com/swifweb/web
Working copy of https://github.com/swifweb/web resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "pwa-template",
      "name": "pwa-template",
      "url": "https://github.com/swifweb/pwa-template.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/pwa-template",
      "dependencies": [
        {
          "identity": "web",
          "name": "web",
          "url": "https://github.com/swifweb/web",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/web",
          "dependencies": [
            {
              "identity": "javascriptkit",
              "name": "JavaScriptKit",
              "url": "https://github.com/swiftwasm/JavaScriptKit",
              "version": "0.17.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JavaScriptKit",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swifweb/pwa-template.git
[1/110] Fetching pwa-template
Fetched https://github.com/swifweb/pwa-template.git from cache (0.74s)
Fetching https://github.com/swifweb/web from cache
Fetched https://github.com/swifweb/web from cache (0.44s)
Computing version for https://github.com/swifweb/web
Computed https://github.com/swifweb/web at 1.0.0 (0.02s)
Fetching https://github.com/swiftwasm/JavaScriptKit from cache
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (0.45s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.17.0 (0.02s)
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.17.0
Creating working copy for https://github.com/swifweb/web
Working copy of https://github.com/swifweb/web resolved at 1.0.0
Creating working copy for https://github.com/swifweb/pwa-template.git
Working copy of https://github.com/swifweb/pwa-template.git resolved at master (854714e)
Found 1 product dependencies
  - web
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swifweb/pwa-template.git
{
  "dependencies" : [
    {
      "identity" : "web",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-beta.2.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swifweb/web"
    }
  ],
  "manifest_display_name" : "pwa-template",
  "name" : "pwa-template",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "App",
      "targets" : [
        "App"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Service",
      "targets" : [
        "Service"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Service",
      "module_type" : "SwiftTarget",
      "name" : "Service",
      "path" : "Sources/Service",
      "product_dependencies" : [
        "ServiceWorker"
      ],
      "product_memberships" : [
        "Service"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Service/images",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Service.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AppTests",
      "module_type" : "SwiftTarget",
      "name" : "AppTests",
      "path" : "Tests/AppTests",
      "sources" : [
        "AppTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "App"
      ],
      "type" : "test"
    },
    {
      "c99name" : "App",
      "module_type" : "SwiftTarget",
      "name" : "App",
      "path" : "Sources/App",
      "product_dependencies" : [
        "Web"
      ],
      "product_memberships" : [
        "App"
      ],
      "sources" : [
        "App.swift",
        "Extensions/Fonts.swift",
        "Pages/HelloPage.swift",
        "Pages/IndexPage.swift",
        "Pages/NotFoundPage.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/42] Write sources
[7/42] Write Service-entitlement.plist
[8/42] Write App-entitlement.plist
[9/42] Write sources
[27/42] Copying Runtime
[28/42] Copying images
[29/42] Compiling _CJavaScriptBigIntSupport _CJavaScriptKit+I64.c
[30/42] Write swift-version--7754E27361AE5C74.txt
[31/42] Compiling _CJavaScriptKit _CJavaScriptKit.c
[33/63] Emitting module JavaScriptKit
[34/65] Compiling JavaScriptKit JSPromise.swift
[35/65] Compiling JavaScriptKit JSTimer.swift
[36/65] Compiling JavaScriptKit JSTypedArray.swift
[37/65] Compiling JavaScriptKit ConstructibleFromJSValue.swift
[38/65] Compiling JavaScriptKit ConvertibleToJSValue.swift
[39/65] Compiling JavaScriptKit JSValue.swift
[40/65] Compiling JavaScriptKit JSValueDecoder.swift
[41/65] Compiling JavaScriptKit Deprecated.swift
[42/65] Compiling JavaScriptKit Features.swift
[43/65] Compiling JavaScriptKit JSString.swift
[44/65] Compiling JavaScriptKit JSSymbol.swift
[45/65] Compiling JavaScriptKit JSFunction.swift
[46/65] Compiling JavaScriptKit JSObject.swift
[47/65] Compiling JavaScriptKit JSBigInt.swift
[48/65] Compiling JavaScriptKit JSClosure.swift
[49/65] Compiling JavaScriptKit JSThrowingFunction.swift
[50/65] Compiling JavaScriptKit JSBridgedType.swift
[51/65] Compiling JavaScriptKit JSArray.swift
[52/65] Compiling JavaScriptKit JSDate.swift
[53/65] Compiling JavaScriptKit JSError.swift
[54/65] Compiling JavaScriptKit XcodeSupport.swift
[55/65] Compiling JavaScriptKit resource_bundle_accessor.swift
[56/69] Compiling JavaScriptBigIntSupport XcodeSupport.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "_CJavaScriptKit+I64.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[57/69] Compiling JavaScriptBigIntSupport Int64+I64.swift
[58/69] Emitting module JavaScriptBigIntSupport
[59/69] Compiling JavaScriptBigIntSupport JSBigInt+I64.swift
[60/100] Compiling WebFoundation Storage.swift
[61/100] Compiling WebFoundation Storageable.swift
[62/100] Compiling WebFoundation URLConformable.swift
[63/103] Compiling WebFoundation AbortController.swift
[64/103] Compiling WebFoundation AbortSignal.swift
[65/103] Compiling WebFoundation AnyElement.swift
[66/103] Compiling WebFoundation ArrayBuffer.swift
[67/103] Compiling WebFoundation Array+Random.swift
[68/103] Compiling WebFoundation JSFunction+Optional.swift
[69/103] Compiling WebFoundation String+Random.swift
[70/103] Compiling WebFoundation Blob.swift
[71/103] Compiling WebFoundation BlobPropertyBag.swift
[72/103] Compiling WebFoundation BufferSource.swift
[73/103] Compiling WebFoundation Console.swift
[74/103] Compiling WebFoundation Size.swift
[75/103] Compiling WebFoundation AnyState.swift
[76/103] Compiling WebFoundation Copyable.swift
[77/103] Compiling WebFoundation InnerStateChangeable.swift
[78/103] Compiling WebFoundation State.swift
[79/103] Compiling WebFoundation Stateable.swift
[80/103] Emitting module WebFoundation
[81/103] Compiling WebFoundation File.swift
[82/103] Compiling WebFoundation FormData.swift
[83/103] Compiling WebFoundation JSClass.swift
[84/103] Compiling WebFoundation Dispatch.swift
[85/103] Compiling WebFoundation Dir.swift
[86/103] Compiling WebFoundation Exports.swift
[87/103] Compiling WebFoundation Array+Diff.swift
[88/103] Compiling WebFoundation URLSearchParams.swift
[89/103] Compiling WebFoundation URLValue.swift
[90/103] Compiling WebFoundation WebJSValue.swift
[91/103] Compiling WebFoundation JSValuable.swift
[92/103] Compiling WebFoundation Point.swift
[93/103] Compiling WebFoundation Rect.swift
[94/155] Emitting module ContentIndexAPI
[95/155] Compiling ContentIndexAPI ContentIndex.swift
[96/155] Emitting module PushAPI
[97/155] Compiling StreamsAPI StreamsAPI.swift
[98/155] Compiling StorageAPI StorageAPI.swift
[99/155] Compiling PushAPI PushManager.swift
[100/155] Compiling PushAPI PushEvent.swift
[101/155] Compiling LocationAPI Location.swift
[102/155] Emitting module LocationAPI
[103/155] Compiling PushAPI PushMessageData.swift
[104/155] Compiling PushAPI PushSubscription.swift
[105/157] Emitting module StreamsAPI
[106/157] Compiling StreamsAPI TransformStream.swift
[107/157] Compiling StreamsAPI ReadableStreamDefaultReader.swift
[108/157] Compiling StreamsAPI ReadableStreamBYOBReader.swift
[109/157] Compiling StorageAPI SessionStorage.swift
[110/157] Compiling StorageAPI LocalStorage.swift
[111/157] Emitting module StorageAPI
[112/157] Compiling Events AnimationEvent.swift
[113/157] Compiling Events ClipboardEvent.swift
[114/157] Compiling Events DragEvent.swift
[115/159] Compiling StreamsAPI PipeOptions.swift
[116/159] Compiling StreamsAPI ReadableStream.swift
[117/159] Compiling StreamsAPI WritableStream.swift
[118/159] Compiling StreamsAPI WritableStreamDefaultWriter.swift
[119/159] Compiling Events PushEvent.swift
[120/159] Compiling Events StorageEvent.swift
[121/159] Compiling Events TouchEvent.swift
[122/159] Compiling Events TransitionEvent.swift
[123/159] Compiling NotificationsAPI Notification+Action.swift
[124/159] Emitting module NotificationsAPI
[125/159] Compiling NotificationsAPI Notification.swift
[126/159] Compiling NotificationsAPI NotificationsAPI.swift
[127/159] Compiling Events HandledEventPhase.swift
[128/159] Compiling Events InputType.swift
[129/159] Compiling Events KeyboardEventLocation.swift
[130/159] Compiling Events WheelEventDeltaMode.swift
[131/159] Compiling Events Event.swift
[132/159] Compiling Events EventListener.swift
[133/159] Emitting module HistoryAPI
[134/159] Compiling Events TouchObject.swift
[135/159] Compiling Events PageTransitionEvent.swift
[136/159] Compiling Events ProgressEvent.swift
[137/172] Compiling Events UIEvent.swift
[138/172] Compiling Events WheelEvent.swift
[139/172] Compiling HistoryAPI History.swift
[140/172] Emitting module Events
[141/172] Compiling Events HashChangeEvent.swift
[142/172] Compiling Events InputEvent.swift
[143/172] Compiling Events KeyboardEvent.swift
[144/172] Compiling Events EventTarget.swift
[145/172] Compiling Events ExtendableEvent.swift
[146/172] Compiling Events FocusEvent.swift
[147/172] Compiling Events MouseEvent.swift
[148/172] Compiling Events Names.swift
[149/172] Compiling Events DataTransferObject.swift
[150/260] Compiling DOMEvents AnimationEndHandleable.swift
[151/260] Compiling DOMEvents AnimationIterationHandleable.swift
[152/261] Compiling FetchAPI RequestOptions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/web/Sources/FetchAPI/RequestOptions.swift:13:27: error: property 'jsValue' requires the types 'AnyHashable' and 'String' be equivalent
 11 | public class RequestOptions {
 12 |     public var jsValue: JSValue {
 13 |         var jsValue = [:].jsValue
    |                           `- error: property 'jsValue' requires the types 'AnyHashable' and 'String' be equivalent
 14 |         jsValue.method = method.rawValue.jsValue
 15 |         jsValue.headers = headers
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ConvertibleToJSValue.swift:101:1: note: where 'Key' = 'AnyHashable'
 99 | }
100 |
101 | extension Dictionary: ConvertibleToJSValue where Value: ConvertibleToJSValue, Key == String {
    | `- note: where 'Key' = 'AnyHashable'
102 |     public var jsValue: JSValue {
103 |         let object = objectConstructor.new()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/web/Sources/FetchAPI/RequestOptions.swift:13:27: error: type 'Any' cannot conform to 'ConvertibleToJSValue'
 11 | public class RequestOptions {
 12 |     public var jsValue: JSValue {
 13 |         var jsValue = [:].jsValue
    |                           |- error: type 'Any' cannot conform to 'ConvertibleToJSValue'
    |                           `- note: only concrete types such as structs, enums and classes can conform to protocols
 14 |         jsValue.method = method.rawValue.jsValue
 15 |         jsValue.headers = headers
/Users/admin/builder/spi-builder-workspace/.build/checkouts/JavaScriptKit/Sources/JavaScriptKit/ConvertibleToJSValue.swift:101:1: note: required by property 'jsValue' where 'Value' = 'Any'
 99 | }
100 |
101 | extension Dictionary: ConvertibleToJSValue where Value: ConvertibleToJSValue, Key == String {
    | `- note: required by property 'jsValue' where 'Value' = 'Any'
102 |     public var jsValue: JSValue {
103 |         let object = objectConstructor.new()
[153/261] Compiling DOMEvents AnimationStartHandleable.swift
[154/261] Compiling DOMEvents BlurHandleable.swift
[155/261] Emitting module FetchAPI
[156/261] Compiling FetchAPI Fetch.swift
[157/261] Compiling FetchAPI RequestRedirect.swift
[158/261] Compiling DOMEvents ClickHandleable.swift
[159/261] Compiling DOMEvents ContextMenuHandleable.swift
[160/261] Compiling FetchAPI ResponseType.swift
[161/261] Compiling FetchAPI Request.swift
[162/261] Compiling FetchAPI Headers.swift
[163/261] Emitting module ChannelMessagingAPI
[164/261] Compiling ChannelMessagingAPI MessagePort.swift
[165/261] Compiling ChannelMessagingAPI ChannelMessagingAPI.swift
[166/274] Compiling FetchAPI Response.swift
[167/274] Compiling DOMEvents FocusOutHandleable.swift
[168/274] Compiling DOMEvents FullScreenChangeHandleable.swift
[169/274] Compiling DOMEvents FullScreenErrorHandleable.swift
[170/274] Compiling DOMEvents KeyDownHandleable.swift
[171/274] Compiling DOMEvents KeyPressHandleable.swift
[172/274] Compiling DOMEvents KeyUpHandleable.swift
[173/274] Compiling DOMEvents MessageHandleable.swift
[174/274] Compiling DOMEvents MouseDownHandleable.swift
[175/274] Compiling DOMEvents MouseEnterHandleable.swift
[176/274] Compiling XMLHttpRequest ResponseType.swift
[177/274] Compiling XMLHttpRequest Response.swift
[178/274] Emitting module XMLHttpRequest
[179/274] Compiling XMLHttpRequest ReadyState.swift
BUILD FAILURE 6.0 macosSpm