The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shout with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jakeheis/shout.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/jakeheis/shout.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.35s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.52 (0.45s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Socket SocketUtils.swift
[5/7] Compiling Socket SocketProtocols.swift
[6/7] Emitting module Socket
[7/7] Compiling Socket Socket.swift
[9/19] 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
       ^
[10/20] 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
       ^
[11/20] 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)
[12/20] 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
       ^
[13/20] 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
       ^
[14/20] 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
       ^
[15/20] 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
       ^
[16/20] 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
       ^
[17/20] 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
       ^
[18/20] 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
       ^
[19/20] 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
       ^
[20/20] 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
       ^
error: fatalError
warning: couldn't find pc file for libssh2
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] 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
       ^
[3/12] 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
       ^
[4/13] 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)
[5/13] 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
       ^
[6/13] 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
       ^
[7/13] 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
       ^
[8/13] 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
       ^
[9/13] 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/13] 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
       ^
[11/13] 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
       ^
[12/13] 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
       ^
[13/13] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2