The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shout, reference master (9612c1), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 00:07:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/shout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jakeheis/shout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9612c13 Merge pull request #55 from SimplyKyra/add-connection-timeout
Cloned https://github.com/jakeheis/shout.git
Revision (git rev-parse @):
9612c13375599cfecf892d49e2d53d0143c04bc1
SUCCESS checkout https://github.com/jakeheis/shout.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jakeheis/shout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/7] Compiling Socket Socket.swift
[5/7] Compiling Socket SocketProtocols.swift
[6/7] Emitting module Socket
[7/7] Compiling Socket SocketUtils.swift
[8/18] 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/Sources/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/19] 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/Sources/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)
[10/19] 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/Sources/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/19] 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/Sources/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/19] Compiling Shout FileAttributes.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/Sources/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/19] 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/Sources/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/19] 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/Sources/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/19] 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/Sources/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
[16/19] Compiling Shout FileType.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/Sources/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/19] 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/Sources/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
[18/19] 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/Sources/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
[19/19] 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/Sources/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
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (1.06s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (1.55s)
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
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
warning: you may be able to install libssh2 using your system-packager:
    brew install libssh2 openssl
BUILD FAILURE 6.2 macosSpm