Skip to content

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

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) #291

Triggered via pull request January 20, 2025 19:14
Status Failure
Total duration 10m 50s
Artifacts 6

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
8m 18s
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane
Build and Test UI Tests iPadOS  /  Test using xcodebuild or run fastlane
8m 28s
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane
Build and Test UI Tests visionOS  /  Test using xcodebuild or run fastlane
9m 46s
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane
Upload Coverage Report  /  ...  /  Create and upload coverage report
48s
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Fit to window
Zoom out
Zoom in

Annotations

1 error and 90 warnings
Upload Coverage Report / Create and upload coverage report / Create and upload coverage report
Codecov: Failed to properly upload: The process '/Users/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
Build and Test Swift Package iOS (Debug, SpeziOnboarding-iOS.xcresult, SpeziOnboarding-iOS.xcresult) / 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 (Debug, SpeziOnboarding-iOS.xcresult, SpeziOnboarding-iOS.xcresult) / 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 (Debug, SpeziOnboarding-iOS.xcresult, SpeziOnboarding-iOS.xcresult) / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; 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: <unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.UIKitAttributes, AttributeScopes.UIKitAttributes.FontAttribute>'; 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'; 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: @__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/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocument+ExportConfiguration.swift#L129
stored property 'fontSettings' of 'Sendable'-conforming struct 'ExportConfiguration' has non-sendable type 'ConsentDocument.ExportConfiguration.FontSettings'; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / 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 macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / 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 macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L54
static property 'defaultSystemDefaultFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocument+ExportConfiguration.swift#L129
stored property 'fontSettings' of 'Sendable'-conforming struct 'ExportConfiguration' has non-sendable type 'ConsentDocument.ExportConfiguration.FontSettings'; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Debug, SpeziOnboarding-macOS.xcresult, SpeziOnboarding-macOS.... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L43
static property 'defaultExportFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ConsentDocument+ExportConfiguration.swift#L129
stored property 'fontSettings' of 'Sendable'-conforming struct 'ExportConfiguration' has non-sendable type 'ConsentDocument.ExportConfiguration.FontSettings'; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: <unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.AppKitAttributes, AttributeScopes.AppKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
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'; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / 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 macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/ExportConfiguration+Defaults.swift#L54
static property 'defaultSystemDefaultFontSettings' is not concurrency-safe because non-'Sendable' type 'ConsentDocument.ExportConfiguration.FontSettings' may have shared mutable state; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
Build and Test Swift Package macOS (Release, SpeziOnboarding-macOS-Release.xcresult, SpeziOnboard... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/ConsentView/OnboardingConsentView+ShareSheet.swift#L59
main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Debug, SpeziOnboarding-visionOS.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'; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Debug, SpeziOnboarding-visionOS.xcresult, SpeziOnboarding-... / 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 visionOS (Debug, SpeziOnboarding-visionOS.xcresult, SpeziOnboarding-... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Debug, SpeziOnboarding-visionOS.xcresult, SpeziOnboarding-... / Test using xcodebuild or run fastlane: <unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.UIKitAttributes, AttributeScopes.UIKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Debug, SpeziOnboarding-visionOS.xcresult, SpeziOnboarding-... / 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 / 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 / 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 / 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 / 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#L85
'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#L87
'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/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L87
sending 'pdf' risks causing data races; this is an error in the Swift 6 language mode
Build and Test UI Tests iOS / Test using xcodebuild or run fastlane: <unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.UIKitAttributes, AttributeScopes.UIKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
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'; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingActionsView.swift#L41
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races
Build and Test UI Tests iPadOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingActionsView.swift#L47
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races
Build and Test UI Tests iPadOS / 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 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#L85
'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#L87
'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/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / Test using xcodebuild or run fastlane: <unknown>#L1
cannot form key path that captures non-sendable type 'KeyPath<AttributeScopes.UIKitAttributes, AttributeScopes.UIKitAttributes.FontAttribute>'; this is an error in the Swift 6 language mode
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'; this is an error in the Swift 6 language mode
Build and Test Swift Package visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / 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 visionOS (Release, SpeziOnboarding-visionOS-Release.xcresult, SpeziO... / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; 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'; this is an error in the Swift 6 language mode
Build and Test UI Tests visionOS / 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/OnboardingDataSource.swift#L44
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L85
'OnboardingConstraint' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L87
'store(consent:)' is deprecated: Storing consent documents without an identifier is deprecated.
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L86
non-sendable type 'PDFDocument' in asynchronous access to main actor-isolated property 'pdf' cannot cross actor boundary; this is an error in the Swift 6 language mode
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingDataSource.swift#L87
sending 'pdf' risks causing data races; this is an error in the Swift 6 language mode
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingActionsView.swift#L41
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races
Build and Test UI Tests visionOS / Test using xcodebuild or run fastlane: Sources/SpeziOnboarding/OnboardingActionsView.swift#L47
converting non-sendable function value to '@mainactor @sendable () async throws -> Void' may introduce data races

Artifacts

Produced during runtime
Name Size
SpeziOnboarding-iOS.xcresult
203 KB
SpeziOnboarding-macOS.xcresult
207 KB
SpeziOnboarding-visionOS.xcresult
202 KB
TestApp-iOS.xcresult
2.16 MB
TestApp-iPadOS.xcresult
2.24 MB
TestApp-visionOS.xcresult
1.67 MB