Build Information
Failed to build Admob-SwiftUI with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/Admob-SwiftUI.git
Reference: 1.0.0
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.0 -> FETCH_HEAD
HEAD is now at c217cc6 Update README.md
Cloned https://github.com/0xWDG/Admob-SwiftUI.git
Revision (git rev-parse @):
c217cc602c1605fefceab23c99fa902086d535f6
SUCCESS checkout https://github.com/0xWDG/Admob-SwiftUI.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/0xWDG/Admob-SwiftUI.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/googleads/swift-package-manager-google-mobile-ads.git
[1/171] Fetching swift-package-manager-google-mobile-ads
Fetched https://github.com/googleads/swift-package-manager-google-mobile-ads.git (0.23s)
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 10.14.0 (0.40s)
Fetching https://github.com/google/GoogleAppMeasurement.git
Fetching https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git
[1/325] Fetching googleappmeasurement
[326/366] Fetching googleappmeasurement, swift-package-manager-google-user-messaging-platform
Fetched https://github.com/google/GoogleAppMeasurement.git (0.26s)
Fetched https://github.com/googleads/swift-package-manager-google-user-messaging-platform.git (0.26s)
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.2.0 (0.38s)
Computing version for https://github.com/google/GoogleAppMeasurement.git
Computed https://github.com/google/GoogleAppMeasurement.git at 10.21.0 (0.42s)
Fetching https://github.com/firebase/nanopb.git
Fetching https://github.com/google/GoogleUtilities.git
[1/8264] Fetching nanopb
[663/12357] Fetching nanopb, googleutilities
Fetched https://github.com/google/GoogleUtilities.git (0.36s)
[5868/8264] Fetching nanopb
Fetched https://github.com/firebase/nanopb.git (0.55s)
Computing version for https://github.com/firebase/nanopb.git
Computed https://github.com/firebase/nanopb.git at 2.30909.0 (0.39s)
Computing version for https://github.com/google/GoogleUtilities.git
Computed https://github.com/google/GoogleUtilities.git at 7.12.1 (0.44s)
Fetching https://github.com/google/promises.git
[1/2391] Fetching promises
Fetched https://github.com/google/promises.git (0.30s)
Computing version for https://github.com/google/promises.git
Computed https://github.com/google/promises.git at 2.4.0 (0.40s)
Creating working copy for https://github.com/google/GoogleAppMeasurement.git
Working copy of https://github.com/google/GoogleAppMeasurement.git resolved at 10.21.0
Creating working copy for https://github.com/google/GoogleUtilities.git
Working copy of https://github.com/google/GoogleUtilities.git resolved at 7.12.1
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 10.14.0
Creating working copy for https://github.com/firebase/nanopb.git
Working copy of https://github.com/firebase/nanopb.git resolved at 2.30909.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.2.0
Creating working copy for https://github.com/google/promises.git
Working copy of https://github.com/google/promises.git resolved at 2.4.0
Downloading binary artifact https://dl.google.com/googleadmobadssdk/4a6713c8d4ac7656/googlemobileadsios-spm-10.14.0.zip
Downloading binary artifact https://dl.google.com/googleadmobadssdk/e66f5330a14714bd/googleusermessagingplatformios-spm-2.2.0.zip
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurementIdentitySupport.zip
Downloading binary artifact https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip
[1369/8725049] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip
[416381/8890053] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/googleadmobadssdk/e66f5330a14714bd/googleusermessagingplatformios-spm-2.2.0.zip
[719581/18713920] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/googleadmobadssdk/e66f5330a14714bd/googleusermessagingplatformios-spm-2.2.0.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip
Downloaded https://dl.google.com/googleadmobadssdk/e66f5330a14714bd/googleusermessagingplatformios-spm-2.2.0.zip (1.29s)
[1133490/18548916] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip
[1247792/18602199] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurementIdentitySupport.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurementIdentitySupport.zip (1.34s)
[1523716/18548916] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip
[9536739/26492957] Downloading https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip, https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip, https://dl.google.com/googleadmobadssdk/4a6713c8d4ac7656/googlemobileadsios-spm-10.14.0.zip
Downloaded https://dl.google.com/firebase/ios/swiftpm/10.20.0/GoogleAppMeasurementOnDeviceConversion.zip (2.59s)
Downloaded https://dl.google.com/googleadmobadssdk/4a6713c8d4ac7656/googlemobileadsios-spm-10.14.0.zip (2.78s)
Downloaded https://dl.google.com/firebase/ios/swiftpm/10.21.0/GoogleAppMeasurement.zip (2.78s)
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/1] Compiling GoogleMobileAdsTarget placeholder.m
[2/9] Compiling Admob_SwiftUI BannerViewController.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[3/9] Compiling Admob_SwiftUI View+addAdPadding.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[4/9] Compiling Admob_SwiftUI BannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Admob_SwiftUI
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[6/9] Compiling Admob_SwiftUI AdConsent.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[7/9] Compiling Admob_SwiftUI AdHelper.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[8/9] Compiling Admob_SwiftUI AdConsentView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[9/9] Compiling Admob_SwiftUI AdView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
error: fatalError
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
[0/1] Planning build
Building for debugging...
[1/8] Compiling Admob_SwiftUI AdView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[2/8] Compiling Admob_SwiftUI View+addAdPadding.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[3/8] Compiling Admob_SwiftUI AdHelper.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[4/8] Compiling Admob_SwiftUI BannerViewController.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[5/8] Compiling Admob_SwiftUI AdConsentView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[6/8] Compiling Admob_SwiftUI BannerView.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module Admob_SwiftUI
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
[8/8] Compiling Admob_SwiftUI AdConsent.swift
/host/spi-builder-workspace/Sources/Admob-SwiftUI/AdConsent.swift:11:8: error: no such module 'GoogleMobileAds'
import GoogleMobileAds
^
error: fatalError
BUILD FAILURE 5.9 linux