Build Information
Failed to build Shout, reference master (63a51f
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 09:15:16 UTC.
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Einstore/Shout.git
Reference: master
Initialized empty Git repository in /Users/admin/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/jakeheis/CSSH
Fetching https://github.com/IBM-Swift/BlueSocket
[1/26] Fetching cssh
[27/2968] Fetching cssh, bluesocket
Fetched https://github.com/jakeheis/CSSH from cache (1.14s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (1.14s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.57s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.46 (2.46s)
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.46
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.3
========================================
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": "shout",
"name": "Shout",
"url": "https://github.com/Einstore/Shout.git",
"version": "unspecified",
"path": "/Users/admin/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/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/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSSH",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Einstore/Shout.git
[1/412] Fetching shout
Fetched https://github.com/Einstore/Shout.git from cache (0.75s)
Fetching https://github.com/jakeheis/CSSH from cache
Fetching https://github.com/IBM-Swift/BlueSocket from cache
Fetched https://github.com/jakeheis/CSSH from cache (0.57s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.57s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.02s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.52s)
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 (63a51f9)
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: 6.0
Building package at path: $PWD
https://github.com/Einstore/Shout.git
{
"dependencies" : [
{
"identity" : "bluesocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.46",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/BlueSocket"
},
{
"identity" : "cssh",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/CSSH"
}
],
"manifest_display_name" : "Shout",
"name" : "Shout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Shout",
"targets" : [
"Shout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShoutTests",
"module_type" : "SwiftTarget",
"name" : "ShoutTests",
"path" : "Tests/ShoutTests",
"sources" : [
"SFTPTests.swift",
"SSHTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Shout"
],
"type" : "test"
},
{
"c99name" : "Shout",
"module_type" : "SwiftTarget",
"name" : "Shout",
"path" : "Sources/Shout",
"product_dependencies" : [
"Socket"
],
"product_memberships" : [
"Shout"
],
"sources" : [
"Agent.swift",
"Channel.swift",
"FilePermissions.swift",
"ReadWrite.swift",
"SFTP.swift",
"SSH.swift",
"SSHAuthMethod.swift",
"SSHError.swift",
"Session.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling Socket SocketUtils.swift
[5/7] Compiling Socket SocketProtocols.swift
[6/7] Emitting module Socket
[7/7] Compiling Socket Socket.swift
[8/17] Compiling Shout SFTP.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[9/17] Compiling Shout FilePermissions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[10/17] Compiling Shout Channel.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[11/17] Compiling Shout ReadWrite.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[12/17] Compiling Shout SSH.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[13/17] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[14/17] Compiling Shout SSHError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[15/17] Compiling Shout Session.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/17] Emitting module Shout
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
[17/17] Compiling Shout Agent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
| `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/Users/admin/builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
6 | //
7 |
8 | import CSSH
| `- error: could not build Objective-C module 'CSSH'
9 |
10 | /// Direct bindings to libssh2_agent
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: 'spi-builder-workspace': dependency 'cssh' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install libssh2 using your system-packager:
brew install libssh2
BUILD FAILURE 6.0 macosSpm