Build Information
Failed to build Shout with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/Einstore/Shout.git
Reference: 0.5.1
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/Einstore/Shout
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at 04fc627 Upload data and string
Cloned https://github.com/Einstore/Shout.git
Revision (git rev-parse @):
04fc627d6d320a5acaf1308d7a501040df7615a2
SUCCESS checkout https://github.com/Einstore/Shout.git at 0.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/Einstore/Shout.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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 (0.33s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.33s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.39s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.46 (1.10s)
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.46
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: 'spi-builder-workspace': dependency 'cssh' is not used by any target
warning: you may be able to install libssh2 using your system-packager:
apt-get install libssh2-1-dev
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Socket SocketProtocols.swift
[5/7] Compiling Socket SocketUtils.swift
[6/7] Compiling Socket Socket.swift
[7/7] Emitting module Socket
[9/17] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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)
[10/18] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/18] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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 SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/.build/checkouts/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: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: 'spi-builder-workspace': dependency 'cssh' is not used by any target
warning: you may be able to install libssh2 using your system-packager:
apt-get install libssh2-1-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout ReadWrite.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout SFTP.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout FilePermissions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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/11] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "shim.h"
^
/host/spi-builder-workspace/.build/checkouts/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