The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PermissionsKit, reference 11.0.1 (7fd4d6), with Swift 6.1 for Wasm on 29 May 2025 18:13:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sparrowcode/PermissionsKit.git
Reference: 11.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/sparrowcode/PermissionsKit
 * tag               11.0.1     -> FETCH_HEAD
HEAD is now at 7fd4d6c Merge pull request #352 from EchoLunar/EchoLunar-patch-1
Cloned https://github.com/sparrowcode/PermissionsKit.git
Revision (git rev-parse @):
7fd4d6c4f90b8389dad1432a57a8d773d887fa26
SUCCESS checkout https://github.com/sparrowcode/PermissionsKit.git at 11.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sparrowcode/PermissionsKit.git
https://github.com/sparrowcode/PermissionsKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "PermissionsKit",
  "name" : "PermissionsKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CameraPermission",
      "targets" : [
        "CameraPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PhotoLibraryPermission",
      "targets" : [
        "PhotoLibraryPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NotificationPermission",
      "targets" : [
        "NotificationPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MicrophonePermission",
      "targets" : [
        "MicrophonePermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CalendarPermission",
      "targets" : [
        "CalendarPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ContactsPermission",
      "targets" : [
        "ContactsPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RemindersPermission",
      "targets" : [
        "RemindersPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SpeechRecognizerPermission",
      "targets" : [
        "SpeechRecognizerPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "LocationPermission",
      "targets" : [
        "LocationPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MotionPermission",
      "targets" : [
        "MotionPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MediaLibraryPermission",
      "targets" : [
        "MediaLibraryPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BluetoothPermission",
      "targets" : [
        "BluetoothPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TrackingPermission",
      "targets" : [
        "TrackingPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FaceIDPermission",
      "targets" : [
        "FaceIDPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SiriPermission",
      "targets" : [
        "SiriPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HealthPermission",
      "targets" : [
        "HealthPermission"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TrackingPermission",
      "module_type" : "SwiftTarget",
      "name" : "TrackingPermission",
      "path" : "Sources/TrackingPermission",
      "product_memberships" : [
        "TrackingPermission"
      ],
      "sources" : [
        "TrackingPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpeechRecognizerPermission",
      "module_type" : "SwiftTarget",
      "name" : "SpeechRecognizerPermission",
      "path" : "Sources/SpeechRecognizerPermission",
      "product_memberships" : [
        "SpeechRecognizerPermission"
      ],
      "sources" : [
        "SpeechPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SiriPermission",
      "module_type" : "SwiftTarget",
      "name" : "SiriPermission",
      "path" : "Sources/SiriPermission",
      "product_memberships" : [
        "SiriPermission"
      ],
      "sources" : [
        "SiriPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RemindersPermission",
      "module_type" : "SwiftTarget",
      "name" : "RemindersPermission",
      "path" : "Sources/RemindersPermission",
      "product_memberships" : [
        "RemindersPermission"
      ],
      "sources" : [
        "RemindersPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PhotoLibraryPermission",
      "module_type" : "SwiftTarget",
      "name" : "PhotoLibraryPermission",
      "path" : "Sources/PhotoLibraryPermission",
      "product_memberships" : [
        "PhotoLibraryPermission"
      ],
      "sources" : [
        "PhotoLibraryPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PermissionsKit",
      "module_type" : "SwiftTarget",
      "name" : "PermissionsKit",
      "path" : "Sources/PermissionsKit",
      "product_memberships" : [
        "CameraPermission",
        "PhotoLibraryPermission",
        "NotificationPermission",
        "MicrophonePermission",
        "CalendarPermission",
        "ContactsPermission",
        "RemindersPermission",
        "SpeechRecognizerPermission",
        "LocationPermission",
        "MotionPermission",
        "MediaLibraryPermission",
        "BluetoothPermission",
        "TrackingPermission",
        "FaceIDPermission",
        "SiriPermission",
        "HealthPermission"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ar.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ar"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/en.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "en"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/es.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "es"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fa.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fa"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fr.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "fr"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/it.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "it"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/nl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "nl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pl.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pl"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pt.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "pt"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ru.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ru"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/uk.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "uk"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh_Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh_hans"
            }
          }
        }
      ],
      "sources" : [
        "Data/Text.swift",
        "Permission.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NotificationPermission",
      "module_type" : "SwiftTarget",
      "name" : "NotificationPermission",
      "path" : "Sources/NotificationPermission",
      "product_memberships" : [
        "NotificationPermission"
      ],
      "sources" : [
        "NotificationPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MotionPermission",
      "module_type" : "SwiftTarget",
      "name" : "MotionPermission",
      "path" : "Sources/MotionPermission",
      "product_memberships" : [
        "MotionPermission"
      ],
      "sources" : [
        "MotionPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MicrophonePermission",
      "module_type" : "SwiftTarget",
      "name" : "MicrophonePermission",
      "path" : "Sources/MicrophonePermission",
      "product_memberships" : [
        "MicrophonePermission"
      ],
      "sources" : [
        "MicrophonePermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MediaLibraryPermission",
      "module_type" : "SwiftTarget",
      "name" : "MediaLibraryPermission",
      "path" : "Sources/MediaLibraryPermission",
      "product_memberships" : [
        "MediaLibraryPermission"
      ],
      "sources" : [
        "MediaLibraryPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LocationPermission",
      "module_type" : "SwiftTarget",
      "name" : "LocationPermission",
      "path" : "Sources/LocationPermission",
      "product_memberships" : [
        "LocationPermission"
      ],
      "sources" : [
        "Handlers/LocationAlwaysHandler.swift",
        "Handlers/LocationWhenInUseHandler.swift",
        "LocationAccuracy.swift",
        "LocationPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HealthPermission",
      "module_type" : "SwiftTarget",
      "name" : "HealthPermission",
      "path" : "Sources/HealthPermission",
      "product_memberships" : [
        "HealthPermission"
      ],
      "sources" : [
        "HealthPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FaceIDPermission",
      "module_type" : "SwiftTarget",
      "name" : "FaceIDPermission",
      "path" : "Sources/FaceIDPermission",
      "product_memberships" : [
        "FaceIDPermission"
      ],
      "sources" : [
        "FaceIDPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ContactsPermission",
      "module_type" : "SwiftTarget",
      "name" : "ContactsPermission",
      "path" : "Sources/ContactsPermission",
      "product_memberships" : [
        "ContactsPermission"
      ],
      "sources" : [
        "ContactsPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CameraPermission",
      "module_type" : "SwiftTarget",
      "name" : "CameraPermission",
      "path" : "Sources/CameraPermission",
      "product_memberships" : [
        "CameraPermission"
      ],
      "sources" : [
        "CameraPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CalendarPermission",
      "module_type" : "SwiftTarget",
      "name" : "CalendarPermission",
      "path" : "Sources/CalendarPermission",
      "product_memberships" : [
        "CalendarPermission"
      ],
      "sources" : [
        "CalendarPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BluetoothPermission",
      "module_type" : "SwiftTarget",
      "name" : "BluetoothPermission",
      "path" : "Sources/BluetoothPermission",
      "product_memberships" : [
        "BluetoothPermission"
      ],
      "sources" : [
        "BluetoothHandler.swift",
        "BluetoothPermission.swift"
      ],
      "target_dependencies" : [
        "PermissionsKit"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/33] Write sources
[0/33] Copying Localizable.strings
[0/33] Write sources
[0/33] Copying Localizable.strings
[31/33] Copying Info.plist
[32/33] Write swift-version-24593BA9C3E375BF.txt
[34/37] Compiling PermissionsKit resource_bundle_accessor.swift
[35/37] Compiling PermissionsKit Permission.swift
[36/37] Emitting module PermissionsKit
[37/37] Compiling PermissionsKit Text.swift
[39/54] Compiling RemindersPermission RemindersPermission.swift
[40/54] Emitting module MotionPermission
[41/54] Compiling MotionPermission MotionPermission.swift
[42/54] Emitting module SiriPermission
[43/54] Compiling SiriPermission SiriPermission.swift
[44/56] Compiling SpeechRecognizerPermission SpeechPermission.swift
[45/56] Emitting module SpeechRecognizerPermission
[46/56] Emitting module RemindersPermission
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/56] Emitting module NotificationPermission
/host/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:27:8: error: no such module 'UserNotifications'
25 |
26 | #if PERMISSIONSKIT_NOTIFICATION
27 | import UserNotifications
   |        `- error: no such module 'UserNotifications'
28 |
29 | public extension Permission {
[48/56] Compiling NotificationPermission NotificationPermission.swift
/host/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:27:8: error: no such module 'UserNotifications'
25 |
26 | #if PERMISSIONSKIT_NOTIFICATION
27 | import UserNotifications
   |        `- error: no such module 'UserNotifications'
28 |
29 | public extension Permission {
[49/57] Emitting module MicrophonePermission
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling PermissionsKit resource_bundle_accessor.swift
[3/5] Compiling PermissionsKit Text.swift
[4/5] Emitting module PermissionsKit
[5/5] Compiling PermissionsKit Permission.swift
[7/22] Compiling SpeechRecognizerPermission SpeechPermission.swift
[8/22] Compiling PhotoLibraryPermission PhotoLibraryPermission.swift
/host/spi-builder-workspace/Sources/PhotoLibraryPermission/PhotoLibraryPermission.swift:27:8: error: no such module 'Photos'
25 |
26 | #if PERMISSIONSKIT_PHOTOLIBRARY
27 | import Photos
   |        `- error: no such module 'Photos'
28 |
29 | public extension Permission {
[9/22] Compiling RemindersPermission RemindersPermission.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] Emitting module TrackingPermission
/host/spi-builder-workspace/Sources/TrackingPermission/TrackingPermission.swift:27:8: error: no such module 'AppTrackingTransparency'
25 |
26 | #if PERMISSIONSKIT_TRACKING
27 | import AppTrackingTransparency
   |        `- error: no such module 'AppTrackingTransparency'
28 |
29 | @available(iOS 14, tvOS 14, *)
[11/22] Compiling TrackingPermission TrackingPermission.swift
/host/spi-builder-workspace/Sources/TrackingPermission/TrackingPermission.swift:27:8: error: no such module 'AppTrackingTransparency'
25 |
26 | #if PERMISSIONSKIT_TRACKING
27 | import AppTrackingTransparency
   |        `- error: no such module 'AppTrackingTransparency'
28 |
29 | @available(iOS 14, tvOS 14, *)
[12/22] Emitting module MotionPermission
[13/22] Compiling MotionPermission MotionPermission.swift
[14/23] Emitting module SpeechRecognizerPermission
[15/24] Emitting module RemindersPermission
[16/24] Compiling NotificationPermission NotificationPermission.swift
/host/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:27:8: error: no such module 'UserNotifications'
25 |
26 | #if PERMISSIONSKIT_NOTIFICATION
27 | import UserNotifications
   |        `- error: no such module 'UserNotifications'
28 |
29 | public extension Permission {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/24] Emitting module NotificationPermission
/host/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:27:8: error: no such module 'UserNotifications'
25 |
26 | #if PERMISSIONSKIT_NOTIFICATION
27 | import UserNotifications
   |        `- error: no such module 'UserNotifications'
28 |
29 | public extension Permission {
[18/25] Emitting module MicrophonePermission
[19/25] Compiling MicrophonePermission MicrophonePermission.swift
[20/25] Emitting module SiriPermission
BUILD FAILURE 6.1 wasm