The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shout with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/shout.git
Reference: 0.5.7
Cloned https://github.com/jakeheis/shout.git into spi-builder-workspace
SUCCESS checkout https://github.com/jakeheis/shout.git at 0.5.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket (0.35s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.52 (0.27s)
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: couldn't find pc file for libssh2
Building for debugging...
[1/4] Compiling Socket SocketProtocols.swift
[2/4] Compiling Socket SocketUtils.swift
[3/4] Emitting module Socket
[4/4] Compiling Socket Socket.swift
[7/17] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[8/18] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[9/18] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[10/18] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[11/18] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[12/18] Compiling Shout FileAttributes.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[13/18] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[14/18] Compiling Shout Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[15/18] Compiling Shout Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[16/18] Compiling Shout FileType.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[17/18] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
[18/18] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
         ^
/host/spi-builder-workspace/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
#include <libssh2.h>
         ^
/host/spi-builder-workspace/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
import CSSH
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1