Skip to content

fix: Route file writing through FileSystem #4290

fix: Route file writing through FileSystem

fix: Route file writing through FileSystem #4290

Triggered via pull request September 23, 2024 19:47
Status Failure
Total duration 2m 52s
Artifacts

device-tests-android.yml

on: pull_request
Matrix: android
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
build: src/Sentry/GlobalSessionManager.cs#L58
Operator '!' cannot be applied to operand of type 'DirectoryInfo'
build: src/Sentry/ISentryJsonSerializable.cs#L31
Possible null reference argument for parameter 'utf8Json' in 'Utf8JsonWriter.Utf8JsonWriter(Stream utf8Json, JsonWriterOptions options = default(JsonWriterOptions))'.
build: src/Sentry/Http/HttpTransportBase.cs#L389
Operator '!' cannot be applied to operand of type 'DirectoryInfo'
build: src/Sentry/Http/HttpTransportBase.cs#L404
Possible null reference argument for parameter 'stream' in 'void Envelope.Serialize(Stream stream, IDiagnosticLogger? logger)'.
build: src/Sentry/Http/HttpTransportBase.cs#L454
Operator '!' cannot be applied to operand of type 'DirectoryInfo'
build: src/Sentry/Http/HttpTransportBase.cs#L474
Possible null reference argument for parameter 'stream' in 'Task Envelope.SerializeAsync(Stream stream, IDiagnosticLogger? logger, CancellationToken cancellationToken = default(CancellationToken))'.
build: src/Sentry/Internal/DebugStackTrace.cs#L531
Possible null reference argument for parameter 'peStream' in 'PEReader.PEReader(Stream peStream)'.
build: src/Sentry/Internal/Json.cs#L20
Possible null reference argument for parameter 'utf8Json' in 'JsonDocument JsonDocument.Parse(Stream utf8Json, JsonDocumentOptions options = default(JsonDocumentOptions))'.
build: src/Sentry/Internal/InstallationIdHelper.cs#L63
Operator '!' cannot be applied to operand of type 'DirectoryInfo'
build: src/Sentry/Internal/InstallationIdHelper.cs#L82
Cannot implicitly convert type 'bool?' to 'bool'. An explicit conversion exists (are you missing a cast?)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7981
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8127
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7891
Unknown return type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.GetFrameMetricsCollector ()'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L7981
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SentryAndroidOptions.SetFrameMetricsCollector (io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.
build: src/Sentry.Bindings.Android/obj/Release/net7.0-android/api.xml#L8127
Unknown parameter type 'io.sentry.android.core.internal.util.SentryFrameMetricsCollector' for member 'Sentry.JavaSdk.Android.Core.SpanFrameMetricsCollector.SpanFrameMetricsCollector (Sentry.JavaSdk.Android.Core.SentryAndroidOptions, io.sentry.android.core.internal.util.SentryFrameMetricsCollector)'.