The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build IceCream 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/caiyue1993/IceCream.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/caiyue1993/IceCream
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e6a89be use Music Mate as the updated live demo
Cloned https://github.com/caiyue1993/IceCream.git
Revision (git rev-parse @):
e6a89be5c7dfa3b42e58bfe5422d57c19c4d9e4d
SUCCESS checkout https://github.com/caiyue1993/IceCream.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/caiyue1993/IceCream.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/realm/realm-core
Fetching https://github.com/realm/realm-cocoa
[1/129130] Fetching realm-cocoa
[85227/364410] Fetching realm-cocoa, realm-core
Fetched https://github.com/realm/realm-core from cache (15.60s)
Fetched https://github.com/realm/realm-cocoa from cache (15.62s)
Computing version for https://github.com/realm/realm-cocoa
Computed https://github.com/realm/realm-cocoa at 4.1.1 (0.53s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.6 (0.46s)
Creating working copy for https://github.com/realm/realm-cocoa
Working copy of https://github.com/realm/realm-cocoa resolved at 4.1.1
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 5.23.6
Building for debugging...
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:62:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/demangle_nop.hpp:17:29: error: redefinition of 'demangle'
         inline std::string demangle( const char* symbol )
                            ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/demangle_cxxabi.hpp:22:29: note: previous definition is here
         inline std::string demangle( const char* symbol )
                            ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:71:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_win.hpp:19:17: error: redefinition of 'to_and_from_le'
         struct to_and_from_le
                ^
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_gcc.hpp:115:17: note: previous definition is here
         struct to_and_from_le
                ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:71:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_win.hpp:32:17: error: redefinition of 'to_and_from_be<1>'
         struct to_and_from_be< 1 >
                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_gcc.hpp:128:17: note: previous definition is here
         struct to_and_from_be< 1 >
                ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:71:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_win.hpp:46:17: error: redefinition of 'to_and_from_be<2>'
         struct to_and_from_be< 2 >
                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_gcc.hpp:142:17: note: previous definition is here
         struct to_and_from_be< 2 >
                ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:71:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_win.hpp:60:17: error: redefinition of 'to_and_from_be<4>'
         struct to_and_from_be< 4 >
                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_gcc.hpp:156:17: note: previous definition is here
         struct to_and_from_be< 4 >
                ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:71:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_win.hpp:83:17: error: redefinition of 'to_and_from_be<8>'
         struct to_and_from_be< 8 >
                ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/include/tao/pegtl/internal/endian_gcc.hpp:179:17: note: previous definition is here
         struct to_and_from_be< 8 >
                ^
While building module 'RealmCore' imported from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:
In file included from <module-includes>:159:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/external/pegtl/src/example/pegtl/double.hpp:7:10: fatal error: 'tao/pegtl.hpp' file not found
#include <tao/pegtl.hpp>
         ^~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/apple/external_commit_helper.cpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/ObjectStore/src/impl/external_commit_helper.hpp:22:10: fatal error: could not build module 'RealmCore'
#include <realm/util/features.h>
 ~~~~~~~~^
8 errors generated.
[0/55] Compiling external_commit_helper.cpp
[0/55] Write swift-version-24593BA9C3E375BF.txt
[0/55] Compiling list_notifier.cpp
[0/55] Compiling realm_coordinator.cpp
[0/55] Compiling object_notifier.cpp
[0/55] Compiling collection_notifications.cpp
[0/55] Compiling collection_notifier.cpp
[0/55] Compiling primitive_list_notifier.cpp
[0/1] Planning build
Building for debugging...
[0/55] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.m:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSwiftSupport.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/55] Compiling RLMSwiftSupport.m
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults_Private.hpp:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMResults_Private.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMResults.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMCollection.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/55] Compiling RLMResults.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSchema.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMSchema_Private.h:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMSchema.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/55] Compiling RLMSchema.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference_Private.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMThreadSafeReference.h:19:9:[1/55] Compiling RLMThreadSafeReference.mm
[1/55] Compiling RLMRealmUtil.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUpdateChecker.mm:21:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMRealm.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/55] Compiling RLMUpdateChecker.mm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.mm:19:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-cocoa/Realm/RLMUtil.hpp:19:
/host/spi-builder-workspace/.build/checkouts/realm-cocoa/include/Realm/RLMConstants.h:19:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/55] Compiling RLMUtil.mm
[1/55] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux