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

Successful build of swift-zip-archive, reference main (16cfe4), with Swift 6.1 for Linux on 1 May 2025 01:58:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/swift-zip-archive.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/adam-fowler/swift-zip-archive
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 16cfe4a Use swift:6.1 (#11)
Cloned https://github.com/adam-fowler/swift-zip-archive.git
Revision (git rev-parse @):
16cfe4a2122c6a7c81a9d9443cbf6775847e20d5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/adam-fowler/swift-zip-archive.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/adam-fowler/swift-zip-archive.git
https://github.com/adam-fowler/swift-zip-archive.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "swift-zip-archive",
  "name" : "swift-zip-archive",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ZipArchive",
      "targets" : [
        "ZipArchive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZipArchiveTests",
      "module_type" : "SwiftTarget",
      "name" : "ZipArchiveTests",
      "path" : "Tests/ZipArchiveTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/encoding.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/encrypted.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/hello64.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/linux.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/macos.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/source.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/test.bin",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "EncryptionTests.swift",
        "FileDescriptor+remove.swift",
        "FileStorageTests.swift",
        "MemoryStorageTests.swift",
        "ZipArchiveReaderTests.swift",
        "ZipArchiveWriterTests.swift",
        "ZipCompressionTests.swift"
      ],
      "target_dependencies" : [
        "ZipArchive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZipArchive",
      "module_type" : "SwiftTarget",
      "name" : "ZipArchive",
      "path" : "Sources/ZipArchive",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "ZipArchive"
      ],
      "sources" : [
        "CryptKey.swift",
        "Date.swift",
        "DirectoryDescriptor.swift",
        "MemoryBuffer.swift",
        "System+directory.swift",
        "ZipArchiveReader+extract.swift",
        "ZipArchiveReader.swift",
        "ZipArchiveWriter+writeFolderContents.swift",
        "ZipArchiveWriter.swift",
        "ZipCompression.swift",
        "ZipFileStorage.swift",
        "ZipMemoryStorage.swift",
        "ZipStorage.swift",
        "ZipTypes.swift",
        "crc32.swift"
      ],
      "target_dependencies" : [
        "CZipZlib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CZipZlib",
      "module_type" : "ClangTarget",
      "name" : "CZipZlib",
      "path" : "Sources/CZipZlib",
      "product_memberships" : [
        "ZipArchive"
      ],
      "sources" : [
        "empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-system.git
[1/4367] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.83s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/5] Write sources
[2/5] Compiling CSystem shims.c
[3/5] Compiling CZipZlib empty.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/33] Emitting module SystemPackage
[7/36] Compiling SystemPackage MachPort.swift
[8/36] Compiling SystemPackage PlatformString.swift
[9/36] Compiling SystemPackage SystemString.swift
[10/36] Compiling SystemPackage Util+StringArray.swift
[11/36] Compiling SystemPackage Util.swift
[12/36] Compiling SystemPackage UtilConsumers.swift
[13/36] Compiling SystemPackage Errno.swift
[14/36] Compiling SystemPackage ErrnoWindows.swift
[15/36] Compiling SystemPackage FileDescriptor.swift
[16/36] Compiling SystemPackage FileHelpers.swift
[17/36] Compiling SystemPackage FilePathParsing.swift
[18/36] Compiling SystemPackage FilePathString.swift
[19/36] Compiling SystemPackage FilePathSyntax.swift
[20/36] Compiling SystemPackage FilePathTemp.swift
[21/36] Compiling SystemPackage Backcompat.swift
[22/36] Compiling SystemPackage CInterop.swift
[23/36] Compiling SystemPackage Constants.swift
[24/36] Compiling SystemPackage Exports.swift
[25/36] Compiling SystemPackage FilePathTempPosix.swift
[26/36] Compiling SystemPackage FilePathTempWindows.swift
[27/36] Compiling SystemPackage FilePathWindows.swift
[28/36] Compiling SystemPackage FilePermissions.swift
[29/36] Compiling SystemPackage FileOperations.swift
[30/36] Compiling SystemPackage FilePath.swift
[31/36] Compiling SystemPackage FilePathComponentView.swift
[32/36] Compiling SystemPackage FilePathComponents.swift
[33/36] Compiling SystemPackage Mocking.swift
[34/36] Compiling SystemPackage RawBuffer.swift
[35/36] Compiling SystemPackage Syscalls.swift
[36/36] Compiling SystemPackage WindowsSyscallAdapters.swift
[38/52] Compiling ZipArchive DirectoryDescriptor.swift
[39/52] Compiling ZipArchive MemoryBuffer.swift
[40/53] Compiling ZipArchive ZipFileStorage.swift
[41/53] Compiling ZipArchive ZipMemoryStorage.swift
[42/53] Compiling ZipArchive ZipStorage.swift
[43/53] Compiling ZipArchive ZipTypes.swift
[44/53] Compiling ZipArchive ZipArchiveWriter.swift
[45/53] Compiling ZipArchive ZipCompression.swift
[46/53] Compiling ZipArchive System+directory.swift
[47/53] Compiling ZipArchive ZipArchiveReader+extract.swift
[48/53] Compiling ZipArchive ZipArchiveReader.swift
[49/53] Compiling ZipArchive ZipArchiveWriter+writeFolderContents.swift
[50/53] Emitting module ZipArchive
[51/53] Compiling ZipArchive CryptKey.swift
[52/53] Compiling ZipArchive Date.swift
[53/53] Compiling ZipArchive crc32.swift
Build complete! (11.57s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "swift-zip-archive",
  "name" : "swift-zip-archive",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ZipArchive",
      "targets" : [
        "ZipArchive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ZipArchiveTests",
      "module_type" : "SwiftTarget",
      "name" : "ZipArchiveTests",
      "path" : "Tests/ZipArchiveTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/encoding.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/encrypted.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/hello64.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/linux.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/macos.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/source.zip",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ZipArchiveTests/resources/test.bin",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "EncryptionTests.swift",
        "FileDescriptor+remove.swift",
        "FileStorageTests.swift",
        "MemoryStorageTests.swift",
        "ZipArchiveReaderTests.swift",
        "ZipArchiveWriterTests.swift",
        "ZipCompressionTests.swift"
      ],
      "target_dependencies" : [
        "ZipArchive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ZipArchive",
      "module_type" : "SwiftTarget",
      "name" : "ZipArchive",
      "path" : "Sources/ZipArchive",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "ZipArchive"
      ],
      "sources" : [
        "CryptKey.swift",
        "Date.swift",
        "DirectoryDescriptor.swift",
        "MemoryBuffer.swift",
        "System+directory.swift",
        "ZipArchiveReader+extract.swift",
        "ZipArchiveReader.swift",
        "ZipArchiveWriter+writeFolderContents.swift",
        "ZipArchiveWriter.swift",
        "ZipCompression.swift",
        "ZipFileStorage.swift",
        "ZipMemoryStorage.swift",
        "ZipStorage.swift",
        "ZipTypes.swift",
        "crc32.swift"
      ],
      "target_dependencies" : [
        "CZipZlib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CZipZlib",
      "module_type" : "ClangTarget",
      "name" : "CZipZlib",
      "path" : "Sources/CZipZlib",
      "product_memberships" : [
        "ZipArchive"
      ],
      "sources" : [
        "empty.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.