Skip to content

refactor: Add null-handling to multiple types #13515

refactor: Add null-handling to multiple types

refactor: Add null-handling to multiple types #13515

Triggered via pull request August 13, 2025 08:50
Status Success
Total duration 1h 20m 20s
Artifacts

build.yml

on: pull_request
Release Build of iOS Swift
3m 3s
Release Build of iOS Swift
Build with SPM
2m 45s
Build with SPM
Build SDK v9
58s
Build SDK v9
Check no UIKit linkage (DebugWithoutUIKit)
40s
Check no UIKit linkage (DebugWithoutUIKit)
Check no UIKit linkage (ReleaseWithoutUIKit)
57s
Check no UIKit linkage (ReleaseWithoutUIKit)
Check UIKit linkage (Debug)
51s
Check UIKit linkage (Debug)
Check UIKit linkage (Release)
1m 48s
Check UIKit linkage (Release)
Check compiling Async Safe Logs
56s
Check compiling Async Safe Logs
Matrix: build-sample
Fit to window
Zoom out
Zoom in

Annotations

1 error and 60 warnings
UITestDuplicatedSDK.testLoadIntegrations: UITestDuplicatedSDK#L1
/Users/runner/work/sentry-cocoa/sentry-cocoa/Tests/DuplicatedSDKTest/DuplicatedSDKTest/UITest.swift:9 - Failed to get matching snapshot: Timed out while fetching snapshot from testmanagerd..
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L142
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L121
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L78
implicit conversion from nullable pointer 'id<SentrySpan> _Nullable' to non-nullable pointer type 'id<SentrySpan> _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTracer.m#L709
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTracer.m#L650
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTracer.m#L591
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/SentryTracer.m#L181
implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (DebugWithoutUIKit): Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'NSDictionary<NSString *,id> * _Nullable __strong const' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'NSDictionary<NSString *,id> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'SentryId * _Nullable __strong const' to non-nullable pointer type 'SentryId * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryProfilerState.mm#L162
implicit conversion from nullable pointer 'NSNumber * _Nullable' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryProfilerState.mm#L162
implicit conversion from nullable pointer 'NSNumber * _Nullable __strong const' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryProfilerState.mm#L147
implicit conversion from nullable pointer 'NSNumber * _Nullable __strong const' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryProfilerState.mm#L32
implicit conversion from nullable pointer 'NSString * _Nullable __strong const' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Build SDK v9: Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L865
implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L830
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L709
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L650
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L591
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryTracer.m#L181
implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/SentryUIEventTrackerTransactionMode.m#L108
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Release): Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L865
implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L830
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L709
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L650
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L591
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryTracer.m#L181
implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/SentryUIEventTrackerTransactionMode.m#L108
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check UIKit linkage (Debug): Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'NSDictionary<NSString *,id> * _Nullable __strong const' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'NSDictionary<NSString *,id> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryContinuousProfiler.mm#L81
implicit conversion from nullable pointer 'SentryId * _Nullable __strong const' to non-nullable pointer type 'SentryId * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryProfilerState.mm#L162
implicit conversion from nullable pointer 'NSNumber * _Nullable' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryProfilerState.mm#L162
implicit conversion from nullable pointer 'NSNumber * _Nullable __strong const' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryProfilerState.mm#L147
implicit conversion from nullable pointer 'NSNumber * _Nullable __strong const' to non-nullable pointer type 'NSNumber * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryProfilerState.mm#L32
implicit conversion from nullable pointer 'NSString * _Nullable __strong const' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check compiling Async Safe Logs: Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L142
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L121
implicit conversion from nullable pointer 'NSString * _Nullable' to non-nullable pointer type 'NSString * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTraceContext.m#L78
implicit conversion from nullable pointer 'id<SentrySpan> _Nullable' to non-nullable pointer type 'id<SentrySpan> _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L53
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/Profiling/SentryTraceProfiler.mm#L39
implicit conversion from nullable pointer 'SentryProfiler * _Nullable __strong' to non-nullable pointer type 'SentryProfiler * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTracer.m#L709
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTracer.m#L650
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTracer.m#L591
implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/SentryTracer.m#L181
implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]
Check no UIKit linkage (ReleaseWithoutUIKit): Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m#L107
implicit conversion from nullable pointer 'NSData * _Nullable' to non-nullable pointer type 'NSData * _Nonnull' [-Wnullable-to-nonnull-conversion]