Build Information
Successful build of ExtendedAttributes, reference master (1f8c0f
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:26:22 UTC.
Swift 6 data race errors: 0
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amosavian/ExtendedAttributes.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amosavian/ExtendedAttributes
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1f8c0fe Updated travis,yml
Cloned https://github.com/amosavian/ExtendedAttributes.git
Revision (git rev-parse @):
1f8c0fe3c9f46249fa4bb46e00c1f808ea607ca0
SUCCESS checkout https://github.com/amosavian/ExtendedAttributes.git at master
========================================
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": "extendedattributes",
"name": "ExtendedAttributes",
"url": "https://github.com/amosavian/ExtendedAttributes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ExtendedAttributes",
"dependencies": [
]
}
]
}
Fetching https://github.com/amosavian/ExtendedAttributes.git
[1/44] Fetching extendedattributes
Fetched https://github.com/amosavian/ExtendedAttributes.git from cache (0.68s)
Creating working copy for https://github.com/amosavian/ExtendedAttributes.git
Working copy of https://github.com/amosavian/ExtendedAttributes.git resolved at master (1f8c0fe)
warning: '.resolve-product-dependencies': dependency 'extendedattributes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/amosavian/ExtendedAttributes.git
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling ExtendedAttributes ExtendedAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedAttributes/ExtendedAttributes.swift:37:61: warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
35 | // Retrieve attribute:
36 | if length > 0 {
37 | let result = getxattr(fileSystemPath, name, &data, length, 0, 0)
| `- warning: forming 'UnsafeMutableRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
38 | guard result >= 0 else { throw URL.posixError(errno) }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtendedAttributes/ExtendedAttributes.swift:61:44: warning: forming 'UnsafeRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
59 | var data = Data(data)
60 | let result = withUnsafeFileSystemRepresentation { fileSystemPath in
61 | setxattr(fileSystemPath, name, &data, data.count, 0, 0)
| `- warning: forming 'UnsafeRawPointer' to a variable of type 'Data'; this is likely incorrect because 'Data' may contain an object reference.
62 | }
63 | guard result >= 0 else { throw URL.posixError(errno) }
[4/4] Emitting module ExtendedAttributes
Build complete! (5.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ExtendedAttributes",
"name" : "ExtendedAttributes",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ExtendedAttributes",
"targets" : [
"ExtendedAttributes"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExtendedAttributesTests",
"module_type" : "SwiftTarget",
"name" : "ExtendedAttributesTests",
"path" : "Tests/ExtendedAttributesTests",
"sources" : [
"ExtendedAttributesTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ExtendedAttributes"
],
"type" : "test"
},
{
"c99name" : "ExtendedAttributes",
"module_type" : "SwiftTarget",
"name" : "ExtendedAttributes",
"path" : "Sources/ExtendedAttributes",
"product_memberships" : [
"ExtendedAttributes"
],
"sources" : [
"ExtendedAttributes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.