Skip to content

Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #257

Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49)

Added algorithm for pagination to PDF export, allowing to export consent forms with more than 1 page (#49) #257

Triggered via pull request August 24, 2024 18:28
Status Failure
Total duration 10m 20s
Artifacts 4

build-and-test.yml

on: pull_request
Matrix: Build and Test Swift Package iOS
Matrix: Build and Test Swift Package macOS
Matrix: Build and Test Swift Package visionOS
Build and Test UI Tests iOS  /  Test using xcodebuild or run fastlane
1m 19s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iPadOS  /  Test using xcodebuild or run fastlane
9m 29s
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
10m 11s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Build and Test Swift Package iOS Latest  /  Test using xcodebuild or run fastlane
2m 6s
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Build and Test UI Tests iOS Latest  /  Test using xcodebuild or run fastlane
10m 9s
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

33 errors, 74 warnings, and 2 notices
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/SpeziOnboarding/SpeziOnboarding/Tests/UITests/.derivedData/Build/Products/Release-iphonesimulator/SpeziViews_SpeziViews.bundle: No such file or directory (in target 'TestApp' from project 'UITests')
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/SpeziOnboarding/SpeziOnboarding/Tests/UITests/.derivedData/Build/Products/Release-iphonesimulator/SpeziFoundation_SpeziFoundation.bundle: No such file or directory (in target 'TestApp' from project 'UITests')
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/SpeziOnboarding/SpeziOnboarding/Tests/UITests/.derivedData/Build/Products/Release-iphonesimulator/SpeziOnboarding_SpeziOnboarding.bundle: No such file or directory (in target 'TestApp' from project 'UITests')
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
error: /Users/githubaction/runner/_work/SpeziOnboarding/SpeziOnboarding/Tests/UITests/.derivedData/Build/Products/Release-iphonesimulator/SpeziViews_SpeziPersonalInfo.bundle: No such file or directory (in target 'TestApp' from project 'UITests')
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziOnboardingTests/SpeziOnboardingTests.swift#L116
testPDFExport, failed - Failed to load known_good_pdf_one_page_ios from resources.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Tests/SpeziOnboardingTests/SpeziOnboardingTests.swift#L116
testPDFExport, failed - Failed to load known_good_pdf_two_pages_ios from resources.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
testOnboardingConsentPDFExport on 'Clone 1 of Apple Vision Pro - TestAppUITests-Runner (48264)' (38.512 seconds)
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Process completed with exit code 65.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L55
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L57
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
sending 'self.onboardingDataSource' risks causing data races; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L55
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L57
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS Latest / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable; this is an error in the Swift 6 language mode
Build and Test Swift Package iOS (Release, SpeziOnboarding-iOS-Release.xcresult, SpeziOnboarding-... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test Swift Package iOS (Release, SpeziOnboarding-iOS-Release.xcresult, SpeziOnboarding-... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test Swift Package iOS (Release, SpeziOnboarding-iOS-Release.xcresult, SpeziOnboarding-... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test Swift Package visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test Swift Package visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test Swift Package visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L55
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L57
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L55
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L57
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
sending 'self.onboardingDataSource' risks causing data races; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane: @__swiftmacro_15SpeziOnboarding21ConsentDocumentExportC9cachedPDF18ObservationTrackedfMp_.swift#L1
stored property '_cachedPDF' of 'Sendable'-conforming class 'ConsentDocumentExport' is mutable; this is an error in the Swift 6 language mode
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingConsentView.swift#L121
passing argument of non-sendable type 'OnboardingDataSource' outside of main actor-isolated context may introduce data races
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L23
stored property 'asyncMarkdown' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type '() async -> Data'
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocumentExport.swift#L24
stored property 'exportConfiguration' of 'Sendable'-conforming class 'ConsentDocumentExport' has non-sendable type 'ConsentDocument.ExportConfiguration'
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane
testOnboardingConsentPDFExport on 'Clone 1 of iPad Pro 11-inch (M4) - TestAppUITests-Runner (93585)' (30.324 seconds)
Build and Test UI Tests iOS Latest / Test using xcodebuild or run fastlane
testOnboardingConsentPDFExport on 'Clone 1 of iPhone 15 Pro - TestAppUITests-Runner (65637)' (28.282 seconds)

Artifacts

Produced during runtime
Name Size
SpeziOnboarding-iOS-Latest.xcresult Expired
45.4 MB
TestApp-iOS-Latest.xcresult Expired
2.84 MB
TestApp-iPadOS.xcresult Expired
2.56 MB
TestApp-visionOS.xcresult Expired
114 MB