Build Information
Failed to build Shout with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/shout.git
Reference: 0.5.7
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/jakeheis/shout
* tag 0.5.7 -> FETCH_HEAD
HEAD is now at fbcae22 Merge pull request #53 from pelopina6/master
Cloned https://github.com/jakeheis/shout.git
Revision (git rev-parse @):
fbcae228bc68d5e2352f0790079995d27b610dbc
SUCCESS checkout https://github.com/jakeheis/shout.git at 0.5.7
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/jakeheis/shout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/7] Compiling Socket SocketProtocols.swift
[5/7] Compiling Socket SocketUtils.swift
[6/7] Emitting module Socket
[7/7] Compiling Socket Socket.swift
[8/18] Compiling Shout SSHError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[9/19] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[10/19] Compiling Shout FileType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[11/19] Compiling Shout ReadWrite.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[12/19] Compiling Shout SSH.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[13/19] Compiling Shout Agent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[14/19] Compiling Shout Channel.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[15/19] Compiling Shout Session.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/19] Emitting module Shout
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[17/19] Compiling Shout SFTP.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[18/19] Compiling Shout FileAttributes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[19/19] Compiling Shout FilePermissions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
error: fatalError
Fetching https://github.com/IBM-Swift/BlueSocket from cache
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.22s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.52 (0.37s)
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.52
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 openssl
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/12] Compiling Shout SSHError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[3/12] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[4/13] Compiling Shout SSH.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[5/13] Compiling Shout Agent.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[6/13] Compiling Shout Channel.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[7/13] Compiling Shout Session.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module Shout
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[9/13] Compiling Shout FileAttributes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[10/13] Compiling Shout FilePermissions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[11/13] Compiling Shout SFTP.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[12/13] Compiling Shout FileType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
[13/13] Compiling Shout ReadWrite.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
^
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build Objective-C module 'CSSH'
import CSSH
^
error: fatalError
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 openssl
BUILD FAILURE 5.10 macosSpm