The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NSString_RemoveEmoji with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/woxtu/NSString-RemoveEmoji.git
Reference: 1.5.0
Cloned https://github.com/woxtu/NSString-RemoveEmoji.git into spi-builder-workspace
SUCCESS checkout https://github.com/woxtu/NSString-RemoveEmoji.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
99803d4b97f3: Already exists
5e1b2fb8357f: Already exists
4f4fb700ef54: Already exists
f1c7a4392f9e: Already exists
9efea71765ed: Already exists
fb7dea7fb088: Already exists
124f96eb3fc2: Pulling fs layer
124f96eb3fc2: Verifying Checksum
124f96eb3fc2: Download complete
124f96eb3fc2: Pull complete
Digest: sha256:c9de9b81fe76e6276d4917ad8029a956492389dc9f5ee4a314ba4e445da236a2
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Compiling NSString_RemoveEmoji CodePointSet.swift
[2/3] Emitting module NSString_RemoveEmoji
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:31:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~
    
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:43:6: error: Objective-C interoperability is disabled
    @objc(stringByRemovingEmoji)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    
[3/3] Compiling NSString_RemoveEmoji NSString+RemoveEmoji.swift
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:31:6: error: Objective-C interoperability is disabled
    @objc
    ~^~~~
    
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:43:6: error: Objective-C interoperability is disabled
    @objc(stringByRemovingEmoji)
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
    
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:37:22: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
                stop.assign(repeating: true, count: 1)
                     ^
/host/spi-builder-workspace/Sources/NSString_RemoveEmoji/NSString+RemoveEmoji.swift:37:22: note: use 'update(repeating:count:)' instead
                stop.assign(repeating: true, count: 1)
                     ^~~~~~
                     update
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1