The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MushafImad, reference main (830731), with Swift 6.1 for Wasm on 18 Mar 2026 10:25:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibo2001/MushafImad.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/ibo2001/MushafImad
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 830731b feat: add eye-tracking-assisted reading progress (#22) (#53)
Updating files:  84% (7820/9244)
Updating files:  85% (7858/9244)
Updating files:  86% (7950/9244)
Updating files:  87% (8043/9244)
Updating files:  88% (8135/9244)
Updating files:  89% (8228/9244)
Updating files:  90% (8320/9244)
Updating files:  91% (8413/9244)
Updating files:  92% (8505/9244)
Updating files:  93% (8597/9244)
Updating files:  94% (8690/9244)
Updating files:  95% (8782/9244)
Updating files:  96% (8875/9244)
Updating files:  97% (8967/9244)
Updating files:  98% (9060/9244)
Updating files:  99% (9152/9244)
Updating files: 100% (9244/9244)
Updating files: 100% (9244/9244), done.
Cloned https://github.com/ibo2001/MushafImad.git
Revision (git rev-parse @):
830731b98f32556d07aa96c4981333f8c9762bbd
SUCCESS checkout https://github.com/ibo2001/MushafImad.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ibo2001/MushafImad.git
https://github.com/ibo2001/MushafImad.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "realm-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.49.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/realm-swift.git"
    }
  ],
  "manifest_display_name" : "MushafImad",
  "name" : "MushafImad",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "MushafImad",
      "targets" : [
        "MushafImad"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MushafImadTests",
      "module_type" : "SwiftTarget",
      "name" : "MushafImadTests",
      "path" : "Tests",
      "sources" : [
        "MushafImadSPMTests/ChaptersDataCacheTests.swift",
        "MushafImadSPMTests/FallbackGazeEstimatorTests.swift",
        "MushafImadSPMTests/GazeToVerseMapperTests.swift",
        "MushafImadSPMTests/LRUCacheTests.swift",
        "MushafImadSPMTests/MushafImadSPMTests.swift",
        "MushafImadSPMTests/QuranPlayerCoordinatorTests.swift",
        "MushafImadSPMTests/ReadingProgressTrackerTests.swift",
        "MushafImadSPMTests/TafseerTests.swift",
        "MushafImadSPMTests/TimingManagerTests.swift"
      ],
      "target_dependencies" : [
        "MushafImad"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MushafImad",
      "module_type" : "SwiftTarget",
      "name" : "MushafImad",
      "path" : "Sources/MushafImad",
      "product_dependencies" : [
        "RealmSwift"
      ],
      "product_memberships" : [
        "MushafImad"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/SurahName.otf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_1.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_10.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_106.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_112.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_118.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_159.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_256.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_31.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_32.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_5.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_51.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_53.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_60.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_62.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_67.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_74.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_78.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/ayah_timing/read_9.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/Al-QuranAlKareem Regular.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/HafsSmart_08.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/Kitab-Bold.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/Kitab-Regular.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/QuranNumbers.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/QuranTitles.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/UthmanTN1 Ver20.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/UthmanTN1B Ver20.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/fonts/UthmanicHafs1 Ver17.ttf",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/Res/quran.realm",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/Resources/reciters_manifest.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/MushafImad/quran-images",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AudioPlayer/Services/AudioSessionManager.swift",
        "AudioPlayer/Services/AyahTimingService.swift",
        "AudioPlayer/Services/BackgroundPlaybackHelper.swift",
        "AudioPlayer/Services/ItqanAPIClient.swift",
        "AudioPlayer/Services/ItqanModels.swift",
        "AudioPlayer/Services/ItqanTimingProvider.swift",
        "AudioPlayer/Services/LockScreenMetadataManager.swift",
        "AudioPlayer/Services/Mp3QuranTimingProvider.swift",
        "AudioPlayer/Services/QuranPlayerCoordinator.swift",
        "AudioPlayer/Services/ReciterDataProvider.swift",
        "AudioPlayer/Services/ReciterService.swift",
        "AudioPlayer/Services/TimingManager.swift",
        "AudioPlayer/Services/VerseTimingProvider.swift",
        "AudioPlayer/ViewModels/QuranPlayerViewModel.swift",
        "AudioPlayer/Views/MenuBarPlayerView.swift",
        "AudioPlayer/Views/QuranPlayer.swift",
        "AudioPlayer/Views/ReciterPickerView.swift",
        "Components/FloatingToastView.swift",
        "Components/HizbProgressPie.swift",
        "Components/HizbProgressView.swift",
        "Components/LoadingView.swift",
        "Components/SheetHeader.swift",
        "Components/TafseerView.swift",
        "Core/Extensions/Bundle+Mushaf.swift",
        "Core/Extensions/Color+Extension.swift",
        "Core/Extensions/Double+Extension.swift",
        "Core/Extensions/Fonts+Extension.swift",
        "Core/Extensions/Int+Extension.swift",
        "Core/Extensions/Object+Extension.swift",
        "Core/Extensions/PlatformImage+Extension.swift",
        "Core/Extensions/RoundedCorner+Shape.swift",
        "Core/Extensions/SafeAreaTabBar+Extension.swift",
        "Core/Extensions/UIColor+Extension.swift",
        "Core/Models/Chapter.swift",
        "Core/Models/ChapterGroup.swift",
        "Core/Models/ChapterHeader.swift",
        "Core/Models/HizbDisplayInfo.swift",
        "Core/Models/HizbQuarterProgress.swift",
        "Core/Models/MyReadsModels.swift",
        "Core/Models/Page.swift",
        "Core/Models/PageHeader.swift",
        "Core/Models/Part.swift",
        "Core/Models/Quarter.swift",
        "Core/Models/QuranSection.swift",
        "Core/Models/ReadingSession.swift",
        "Core/Models/ReciterTiming.swift",
        "Core/Models/TafseerEntry.swift",
        "Core/Models/Verse.swift",
        "Core/Models/VerseHighlight.swift",
        "Core/Models/VerseMarker.swift",
        "Core/Models/VerseTiming.swift",
        "Core/Services/AppLogger.swift",
        "Core/Services/ChaptersDataCache.swift",
        "Core/Services/FontRegistrar.swift",
        "Core/Services/LRUCache.swift",
        "Core/Services/MushafAssetConfiguration.swift",
        "Core/Services/QuranDataCacheService.swift",
        "Core/Services/RealmService.swift",
        "Core/Services/TafseerService.swift",
        "Core/Services/ToastManager.swift",
        "Core/ViewModels/TafseerViewModel.swift",
        "EyeTracking/EyeTrackingCoordinator.swift",
        "EyeTracking/EyeTrackingOverlayView.swift",
        "EyeTracking/EyeTrackingService.swift",
        "EyeTracking/EyeTrackingSettingsView.swift",
        "EyeTracking/FallbackGazeEstimator.swift",
        "EyeTracking/GazeToVerseMapper.swift",
        "EyeTracking/ReadingProgressTracker.swift",
        "Mushaf-Search/MushafSearch.swift",
        "MushafTextView.swift",
        "MushafView.swift",
        "PageContainer.swift",
        "PageFooterView.swift",
        "PageHeaderView.swift",
        "PlayerViewUI.swift",
        "QuranLineImageView.swift",
        "QuranPageView.swift",
        "ScrollViewIntrospector.swift",
        "Services/MushafView+ViewModel.swift",
        "TiltScrollManager.swift",
        "TiltSettingsView.swift",
        "VerseFasel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/realm/realm-swift.git
[1/131719] Fetching realm-swift
Fetched https://github.com/realm/realm-swift.git from cache (19.01s)
Computing version for https://github.com/realm/realm-swift.git
Computed https://github.com/realm/realm-swift.git at 10.54.6 (21.68s)
Fetching https://github.com/realm/realm-core.git
[1/252508] Fetching realm-core
Fetched https://github.com/realm/realm-core.git from cache (35.15s)
Computing version for https://github.com/realm/realm-core.git
Computed https://github.com/realm/realm-core.git at 14.14.0 (36.02s)
Creating working copy for https://github.com/realm/realm-swift.git
Working copy of https://github.com/realm/realm-swift.git resolved at 10.54.6
Creating working copy for https://github.com/realm/realm-core.git
Working copy of https://github.com/realm/realm-core.git resolved at 14.14.0
Building for debugging...
[0/331] Write sources
[1/331] Compiling mathlimits.cc
[2/331] Write swift-version-24593BA9C3E375BF.txt
[3/331] Compiling Bid bid128_to_int64.c
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2region.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2region.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[4/331] Compiling s2geometry s2region.cc
[4/331] Compiling s2geometry s2polygon.cc
[4/331] Compiling s2geometry s2loop.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.cc:11:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/331] Compiling mathutil.cc
[4/331] Compiling s2geometry s2pointregion.cc
[4/331] Compiling s2geometry s2polyline.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2r2rect.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2r2rect.h:7:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/331] Compiling s2geometry s2r2rect.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygonbuilder.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2polygonbuilder.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2.h:27:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
[4/331] Compiling s2geometry s2polygonbuilder.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/327] Copying PrivacyInfo.xcprivacy
[0/327] Copying reciters_manifest.json
[0/327] Write sources
[0/327] Copying UthmanTN1 Ver20.ttf
[0/327] Copying UthmanTN1B Ver20.ttf
[0/327] Copying QuranNumbers.ttf
[0/327] Copying UthmanicHafs1 Ver17.ttf
[0/327] Copying QuranTitles.ttf
[0/327] Copying Kitab-Regular.ttf
[0/327] Copying Kitab-Bold.ttf
[0/327] Copying Al-QuranAlKareem Regular.ttf
[0/327] Copying HafsSmart_08.ttf
[0/327] Copying read_9.json
[0/327] Copying read_74.json
[0/327] Copying read_78.json
[1/327] Copying read_67.json
[1/327] Copying read_60.json
[1/327] Copying read_62.json
[1/327] Copying read_53.json
[1/327] Copying read_51.json
[22/327] Copying quran.realm
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.cc:11:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/util/math/mathutil.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[23/328] Compiling mathutil.cc
[23/328] Compiling s2geometry s2polygon.cc
[23/328] Compiling s2geometry s2loop.cc
[23/328] Compiling s2geometry s2r2rect.cc
[23/328] Compiling s2geometry s2polyline.cc
[23/328] Compiling s2geometry s2polygonbuilder.cc
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2pointregion.cc:3:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/s2pointregion.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/external/s2/base/logging.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/logger.hpp:23:
/host/spi-builder-workspace/.build/checkouts/realm-core/src/realm/util/thread.hpp:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
[23/328] Compiling s2geometry s2pointregion.cc
[23/328] Compiling s2geometry s2region.cc
BUILD FAILURE 6.1 wasm