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 Admob-SwiftUI, reference 1.0.1 (fa0b89), with Swift 6.0 for Linux on 29 Nov 2024 18:32:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Admob-SwiftUI.git
Reference: 1.0.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/0xWDG/Admob-SwiftUI
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at fa0b89f Small improvements and Ad library update
Cloned https://github.com/0xWDG/Admob-SwiftUI.git
Revision (git rev-parse @):
fa0b89f6dc2ba140780cf6d67a1aaa1f18d9ab38
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/Admob-SwiftUI.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/Admob-SwiftUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/googleads/swift-package-manager-google-mobile-ads.git
[1/227] Fetching swift-package-manager-google-mobile-ads
Fetched https://github.com/googleads/swift-package-manager-google-mobile-ads.git from cache (0.19s)
Computing version for https://github.com/googleads/swift-package-manager-google-mobile-ads.git
Computed https://github.com/googleads/swift-package-manager-google-mobile-ads.git at 11.12.0 (0.48s)
Fetching https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
[1/56] Fetching swift-package-manager-google-user-messaging-platform
Fetched https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git from cache (0.64s)
Computing version for https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
Computed https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git at 2.7.0 (0.50s)
Creating working copy for https://github.com/googleads/swift-package-manager-google-mobile-ads.git
Working copy of https://github.com/googleads/swift-package-manager-google-mobile-ads.git resolved at 11.12.0
Creating working copy for https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
Working copy of https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git resolved at 2.7.0
[1369/8113480] Downloading https://dl.google.com/googleadmobadssdk/174c3d7fc6c1b4eb/googlemobileadsios-spm-11.12.0.zip
[74358/8290670] Downloading https://dl.google.com/googleadmobadssdk/174c3d7fc6c1b4eb/googlemobileadsios-spm-11.12.0.zip, https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
Downloading binary artifact https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip
[2719530/8113480] Downloading https://dl.google.com/googleadmobadssdk/174c3d7fc6c1b4eb/googlemobileadsios-spm-11.12.0.zip
Downloaded https://dl.google.com/googleadmobadssdk/bd2f30ebe527900b/googleusermessagingplatformios-spm-2.7.0.zip (0.26s)
Downloading binary artifact https://dl.google.com/googleadmobadssdk/174c3d7fc6c1b4eb/googlemobileadsios-spm-11.12.0.zip
Downloaded https://dl.google.com/googleadmobadssdk/174c3d7fc6c1b4eb/googlemobileadsios-spm-11.12.0.zip (0.97s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Admob-SwiftUI/PrivacyInfo.xcprivacy
Building for debugging...
[0/4] Write sources
[2/4] Compiling UserMessagingPlatformTarget placeholder.m
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Emitting module GoogleMobileAdsTarget
[6/6] Compiling GoogleMobileAdsTarget placeholder.swift
[8/15] Compiling Admob_SwiftUI BannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[9/16] Compiling Admob_SwiftUI InternalBannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[10/16] Compiling Admob_SwiftUI BannerViewController.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[11/16] Compiling Admob_SwiftUI View+addAdPadding.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[12/16] Compiling Admob_SwiftUI AdView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[13/16] Compiling Admob_SwiftUI AdHelper.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module Admob_SwiftUI
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[15/16] Compiling Admob_SwiftUI AdConsentView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
[16/16] Compiling Admob_SwiftUI AdConsent.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
 9 |
10 | import Foundation
11 | import GoogleMobileAds
   |        `- error: no such module 'GoogleMobileAds'
12 | import UserMessagingPlatform
13 |
BUILD FAILURE 6.0 linux