The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZeplinPersistence, reference main (5e1167), with Swift 6.1 for Wasm on 14 Jan 2026 20:25:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Snapp-Mobile/ZeplinPersistence.git
Reference: main
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/Snapp-Mobile/ZeplinPersistence
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5e11674 small typo - breaks spi build for swift 6 and lower
Cloned https://github.com/Snapp-Mobile/ZeplinPersistence.git
Revision (git rev-parse @):
5e11674752408e4369849bbb7d53da29d9e33d73
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Snapp-Mobile/ZeplinPersistence.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Snapp-Mobile/ZeplinPersistence.git
https://github.com/Snapp-Mobile/ZeplinPersistence.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "fetcher",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/Fetcher"
    },
    {
      "identity" : "zeplinkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/ZeplinKit"
    },
    {
      "identity" : "swiftkeychainwrapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jrendel/SwiftKeychainWrapper"
    },
    {
      "identity" : "swiftformatlintplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git"
    }
  ],
  "manifest_display_name" : "ZeplinPersistence",
  "name" : "ZeplinPersistence",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ZeplinPersistence",
      "targets" : [
        "ZeplinPersistence"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZeplinPersistenceTests",
      "module_type" : "SwiftTarget",
      "name" : "ZeplinPersistenceTests",
      "path" : "Tests/ZeplinPersistenceTests",
      "sources" : [
        "ZeplinPersistenceTests.swift"
      ],
      "target_dependencies" : [
        "ZeplinPersistence"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZeplinPersistence",
      "module_type" : "SwiftTarget",
      "name" : "ZeplinPersistence",
      "path" : "Sources/ZeplinPersistence",
      "product_dependencies" : [
        "ZeplinKit",
        "Fetcher",
        "SwiftKeychainWrapper",
        "Lint"
      ],
      "product_memberships" : [
        "ZeplinPersistence"
      ],
      "sources" : [
        "AppTarget.swift",
        "NotificationRecord+CoreDataClass.swift",
        "PersistenceController.swift",
        "TokenRepository.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jrendel/SwiftKeychainWrapper
Fetching https://github.com/Snapp-Mobile/Fetcher
Fetching https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Fetching https://github.com/Snapp-Mobile/ZeplinKit
[1/229] Fetching fetcher
[86/710] Fetching fetcher, zeplinkit
[99/858] Fetching fetcher, zeplinkit, swiftformatlintplugin
[544/2524] Fetching fetcher, zeplinkit, swiftformatlintplugin, swiftkeychainwrapper
Fetched https://github.com/Snapp-Mobile/Fetcher from cache (0.67s)
Fetched https://github.com/Snapp-Mobile/ZeplinKit from cache (0.67s)
Fetched https://github.com/jrendel/SwiftKeychainWrapper from cache (0.67s)
Fetched https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git from cache (0.69s)
Computing version for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Computed https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git at 1.0.5 (1.28s)
Computing version for https://github.com/jrendel/SwiftKeychainWrapper
Computed https://github.com/jrendel/SwiftKeychainWrapper at 4.0.1 (2.28s)
Computing version for https://github.com/Snapp-Mobile/Fetcher
Computed https://github.com/Snapp-Mobile/Fetcher at 0.0.2 (0.70s)
Computing version for https://github.com/Snapp-Mobile/ZeplinKit
Computed https://github.com/Snapp-Mobile/ZeplinKit at 0.1.1 (0.65s)
Fetching https://github.com/marmelroy/Zip
[1/1996] Fetching zip
Fetched https://github.com/marmelroy/Zip from cache (0.49s)
Computing version for https://github.com/marmelroy/Zip
Computed https://github.com/marmelroy/Zip at 2.1.2 (1.12s)
Creating working copy for https://github.com/Snapp-Mobile/ZeplinKit
Working copy of https://github.com/Snapp-Mobile/ZeplinKit resolved at 0.1.1
Creating working copy for https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git
Working copy of https://github.com/Snapp-Mobile/SwiftFormatLintPlugin.git resolved at 1.0.5
Creating working copy for https://github.com/marmelroy/Zip
Working copy of https://github.com/marmelroy/Zip resolved at 2.1.2
Creating working copy for https://github.com/Snapp-Mobile/Fetcher
Working copy of https://github.com/Snapp-Mobile/Fetcher resolved at 0.0.2
Creating working copy for https://github.com/jrendel/SwiftKeychainWrapper
Working copy of https://github.com/jrendel/SwiftKeychainWrapper resolved at 4.0.1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ZeplinPersistence/Zeplin.xcdatamodeld
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
[2/35] Write sources
[2/35] Copying createComment.json
[2/35] Copying createNote.json
[2/35] Write sources
[8/35] Copying refreshToken.json
[8/35] Copying inviteMember.json
[8/35] Copying getToken.json
[8/35] Copying getSections.json
[8/35] Copying getScreens.json
[8/35] Copying getScreenVersions.json
[8/35] Copying getScreenVersion.json
[8/35] Copying getScreen.json
[8/35] Copying getProjectMembers.json
[8/35] Copying getProject.json
[8/35] Copying getNotifications.json
[8/35] Copying getNotes.json
[8/35] Copying getNote.json
[9/35] Copying getCurrentUser.json
[14/35] Copying flagNotificationsAsUnread.json
[18/35] Copying emptyResponse.json
[24/35] Copying tokenError.json
[24/35] Write sources
[24/35] Copying getData.json
[24/35] Copying refreshToken.json
[24/35] Copying error.json
[29/35] Copying empty.json
[30/35] Copying getProjects.json
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c:21:10: fatal error: 'zlib.h' file not found
   21 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[31/35] Compiling Minizip zip.c
In file included from /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/ioapi.c:17:
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/include/ioapi.h:36:10: fatal error: 'zlib.h' file not found
   36 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[31/35] Compiling Minizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/unzip.c:27:10: fatal error: 'zlib.h' file not found
   27 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[31/35] Compiling Minizip unzip.c
[31/35] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/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:bb5ef85e2f3936cf1d2ae6dee7e011cebd8377061043dcf9368e6726baaf85d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ZeplinPersistence/Zeplin.xcdatamodeld
[0/1] Planning build
[1/1] Compiling plugin FormatPlugin
[2/2] Compiling plugin LintPlugin
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/zip.c:21:10: fatal error: 'zlib.h' file not found
   21 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[2/6] Compiling Minizip zip.c
In file included from /host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/ioapi.c:17:
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/include/ioapi.h:36:10: fatal error: 'zlib.h' file not found
   36 | #include <zlib.h>
      |          ^~~~~~~~
[2/6] Compiling Minizip ioapi.c
/host/spi-builder-workspace/.build/checkouts/Zip/Zip/minizip/unzip.c:27:10: fatal error: 'zlib.h' file not found
   27 | #include <zlib.h>
      |          ^~~~~~~~
[2/6] Compiling Minizip unzip.c
[2/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm