Build Information
Successful build of Shout with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Einstore/Shout.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Einstore/Shout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 63a51f9 comments amended
Cloned https://github.com/Einstore/Shout.git
Revision (git rev-parse @):
63a51f99aa034b469f718a19b4cfa79d12055293
SUCCESS checkout https://github.com/Einstore/Shout.git at master
Fetching https://github.com/IBM-Swift/BlueSocket from cache
Fetching https://github.com/jakeheis/CSSH from cache
Fetched https://github.com/jakeheis/CSSH (0.36s)
Fetched https://github.com/IBM-Swift/BlueSocket (0.37s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (1.06s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.46 (0.12s)
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.46
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "shout",
"name": "Shout",
"url": "https://github.com/Einstore/Shout.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Shout",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/IBM-Swift/BlueSocket",
"version": "1.0.200",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
},
{
"identity": "cssh",
"name": "CSSH",
"url": "https://github.com/jakeheis/CSSH",
"version": "1.0.3",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSSH",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Einstore/Shout.git from cache
Fetched https://github.com/Einstore/Shout.git (0.36s)
Fetching https://github.com/jakeheis/CSSH from cache
Fetching https://github.com/IBM-Swift/BlueSocket from cache
Fetched https://github.com/jakeheis/CSSH (0.36s)
Fetched https://github.com/IBM-Swift/BlueSocket (0.41s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.05s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.12s)
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
Creating working copy for https://github.com/Einstore/Shout.git
Working copy of https://github.com/Einstore/Shout.git resolved at master
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: '.resolve-product-dependencies': dependency 'shout' is not used by any target
Found 2 product dependencies
- Socket
- CSSH
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling Socket SocketUtils.swift
[2/4] Emitting module Socket
[3/4] Compiling Socket Socket.swift
[4/4] Compiling Socket SocketProtocols.swift
[5/13] Compiling Shout SSHAuthMethod.swift
[6/14] Compiling Shout ReadWrite.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/ReadWrite.swift:22:37: warning: initialization of 'UnsafeBufferPointer<Int8>' results in a dangling buffer pointer
let data = Data(buffer: UnsafeBufferPointer(start: &buffer, count: result))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/ReadWrite.swift:22:64: note: implicit argument conversion from '[Int8]' to 'UnsafePointer<Int8>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
let data = Data(buffer: UnsafeBufferPointer(start: &buffer, count: result))
^~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/ReadWrite.swift:22:64: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
let data = Data(buffer: UnsafeBufferPointer(start: &buffer, count: result))
^
[7/14] Compiling Shout SSHError.swift
[8/14] Compiling Shout SFTP.swift
[9/14] Compiling Shout FilePermissions.swift
[10/14] Compiling Shout Agent.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:55: warning: initialization of 'UnsafeMutablePointer<UnsafeMutablePointer<libssh2_agent_publickey>?>' results in a dangling pointer
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:86: note: implicit argument conversion from 'UnsafeMutablePointer<libssh2_agent_publickey>?' to 'UnsafePointer<UnsafeMutablePointer<libssh2_agent_publickey>?>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:86: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^
[11/14] Compiling Shout Channel.swift
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:55: warning: initialization of 'UnsafeMutablePointer<UnsafeMutablePointer<libssh2_agent_publickey>?>' results in a dangling pointer
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:86: note: implicit argument conversion from 'UnsafeMutablePointer<libssh2_agent_publickey>?' to 'UnsafePointer<UnsafeMutablePointer<libssh2_agent_publickey>?>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:50:86: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
let code = libssh2_agent_get_identity(cAgent, UnsafeMutablePointer(mutating: &publicKeyOptional), last?.cIdentity)
^
[12/14] Emitting module Shout
[13/14] Compiling Shout SSH.swift
[14/14] Compiling Shout Session.swift
Build complete! (17.09s)
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: 'spi-builder-workspace': dependency 'cssh' is not used by any target
warning: prohibited flag(s): -R/opt/homebrew/opt/openssl@3/lib
Build complete.
Done.