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 GzipSwift 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 --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.43.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1024jp/GzipSwift.git
Reference: main
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/1024jp/GzipSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e0f4117 Update codeql.yml
Cloned https://github.com/1024jp/GzipSwift.git
Revision (git rev-parse @):
e0f41175a8b3fa051fccebc89629e6e1dee42026
SUCCESS checkout https://github.com/1024jp/GzipSwift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/1024jp/GzipSwift.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 --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/3] Write sources
[1/3] Compiling system-zlib anchor.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module Gzip
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:118: error: consecutive declarations on a line must be separated by ';'
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                                                                                                                     ^
                                                                                                                     ;
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:118: error: expected declaration
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                                                                                                                     ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:150:1: note: in extension of 'Data'
extension Data {
^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:73: error: consecutive declarations on a line must be separated by ';'
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                                                                        ^
                                                                        ;
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:73: error: expected declaration
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                                                                        ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:150:1: note: in extension of 'Data'
extension Data {
^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:17: error: expected '{' in body of function declaration
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:17: error: expected '{' in body of function declaration
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                ^
[5/5] Compiling Gzip Data+Gzip.swift
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:118: error: consecutive declarations on a line must be separated by ';'
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                                                                                                                     ^
                                                                                                                     ;
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:118: error: expected declaration
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                                                                                                                     ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:150:1: note: in extension of 'Data'
extension Data {
^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:73: error: consecutive declarations on a line must be separated by ';'
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                                                                        ^
                                                                        ;
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:73: error: expected declaration
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                                                                        ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:150:1: note: in extension of 'Data'
extension Data {
^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:173:17: error: expected '{' in body of function declaration
    public func gzipped(level: CompressionLevel = .defaultCompression, wBits: Int32 = Gzip.maxWindowBits + 16) throws(GzipError) -> Data {
                ^
/host/spi-builder-workspace/Sources/Gzip/Data+Gzip.swift:244:17: error: expected '{' in body of function declaration
    public func gunzipped(wBits: Int32 = Gzip.maxWindowBits + 32) throws(GzipError) -> Data {
                ^
error: fatalError
BUILD FAILURE 5.10 linux