The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ResourcePackage, reference master (681166), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 21:36:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1fr3dg/ResourcePackage.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/1fr3dg/ResourcePackage
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 681166f change travis to xcode9.2
Cloned https://github.com/1fr3dg/ResourcePackage.git
Revision (git rev-parse @):
681166fb6d1903b4af850bb4e34c4bd877a5ccc0
SUCCESS checkout https://github.com/1fr3dg/ResourcePackage.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/1fr3dg/ResourcePackage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[37 / 70]
[50 / 85] CryptoSwift
[51 / 85] CryptoSwift
[53 / 85] CryptoSwift
[61 / 88] SimpleEncrypter
[67 / 88] CryptoSwift
[71 / 88] TextFormater
[80 / 91] ResourcePackage
[86 / 91] ResourcePackage
[87 / 91] TextFormater
Build complete! (8.86 sec)
Fetching https://github.com/1Fr3dG/TextFormater
Fetching https://github.com/1Fr3dG/SimpleEncrypter
[1/184] Fetching simpleencrypter
[27/585] Fetching simpleencrypter, textformater
Fetched https://github.com/1Fr3dG/TextFormater (1.27s)
Fetched https://github.com/1Fr3dG/SimpleEncrypter (1.27s)
Computing version for https://github.com/1Fr3dG/SimpleEncrypter
Computed https://github.com/1Fr3dG/SimpleEncrypter at 1.4.1 (1.96s)
Fetching https://github.com/krzyzanowskim/CryptoSwift
[1/13439] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift (2.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 0.15.0 (4.74s)
Computing version for https://github.com/1Fr3dG/TextFormater
Computed https://github.com/1Fr3dG/TextFormater at 1.4.2 (0.74s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 0.15.0
Creating working copy for https://github.com/1Fr3dG/SimpleEncrypter
Working copy of https://github.com/1Fr3dG/SimpleEncrypter resolved at 1.4.1
Creating working copy for https://github.com/1Fr3dG/TextFormater
Working copy of https://github.com/1Fr3dG/TextFormater resolved at 1.4.2
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:87:42: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 85 |         let resourcelistRange: Range<Data.Index> = Int(resourcelistAddress) ..< Int(resourcelistEnd)
 86 |         let listdata = compressDeligate.decrypt(cypherDeligate.decrypt(resourcefile.subdata(in: resourcelistRange)))
 87 |         resourcelist = NSKeyedUnarchiver.unarchiveObject(with: listdata) as! [String : [Int]]
    |                                          `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 88 |
 89 |         guard resourcelist.count > 0 else {
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:123:40: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
121 |         let _info: [String: Any] = [ "Compressor" : compressDeligate.description,
122 |                                      "Encrypter" : cypherDeligate.description]
123 |         let infoData = NSKeyedArchiver.archivedData(withRootObject: _info)
    |                                        `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
124 |         resourcefile.append(infoData)
125 |
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:127:39: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
125 |
126 |         let _pkgShortName = URL(fileURLWithPath: resourcePackageFileName).lastPathComponent
127 |         let pkgName = NSKeyedArchiver.archivedData(withRootObject: _pkgShortName.data(using: .utf8)!)
    |                                       `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
128 |         let encodedName = cypherDeligate.encrypt(compressDeligate.encrypt(pkgName))
129 |         resourcefile.append(encodedName)
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:155:52: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
153 |         // 附加目录信息 - index
154 |         var resourcelistAddress = Int32(resourcefile.count)
155 |         resourcefile.append(encode(NSKeyedArchiver.archivedData(withRootObject: resourcelist)))
    |                                                    `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
156 |         var resourcelistEnd = Int32(resourcefile.count)
157 |         ResourcePackage._logger("  Package includes \(resourcelist.count) resources, index structure uses \((resourcelistEnd - resourcelistAddress)/1024)KB")
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:188:42: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
186 |             ResourcePackage._logger("Locating resource: [\(resourcePackageFileName)].[\(_key)]")
187 |             if let _range = resourcelist[_key] {
188 |                 return NSKeyedUnarchiver.unarchiveObject(with: decode(resourcefile.subdata(in: _range[0]..<_range[1]))) as! Data?
    |                                          `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
189 |             } else {
190 |                 return nil
/Users/admin/builder/spi-builder-workspace/Sources/ResourcePackage.swift:223:52: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
221 |
222 |         let _oldfiletail = resourcefile.count
223 |         resourcefile.append(encode(NSKeyedArchiver.archivedData(withRootObject: value)))
    |                                                    `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
224 |         let _newfiletail = resourcefile.count
225 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "textformater",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1Fr3dG/TextFormater"
    },
    {
      "identity" : "simpleencrypter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/1Fr3dG/SimpleEncrypter"
    }
  ],
  "manifest_display_name" : "ResourcePackage",
  "name" : "ResourcePackage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ResourcePackage",
      "targets" : [
        "ResourcePackage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResourcePackage",
      "module_type" : "SwiftTarget",
      "name" : "ResourcePackage",
      "path" : "Sources",
      "product_dependencies" : [
        "SimpleEncrypter",
        "TextFormater"
      ],
      "product_memberships" : [
        "ResourcePackage"
      ],
      "sources" : [
        "ResourcePackage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.