Skip to content

Caching remote config to disk #448

Caching remote config to disk

Caching remote config to disk #448

GitHub Actions / Test Results failed Dec 10, 2024 in 0s

Xcode test results

Build Summary

Compile RemoteConfigFetcherTests.swift (arm64)
warning: No-usage: Initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it
error: Swift Compiler Error: Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
error: Swift Compiler Error: Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body

embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:111:13: warning: initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it
        let headers = try XCTUnwrap(request.allHTTPHeaderFields)
        ~~~~^~~~~~~
        _
embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:149:25: error: contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
        fetcher.fetch { payload in
                        ^
                               ,<#arg#> 
embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift:167:25: error: contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body
        fetcher.fetch { payload in
                        ^
                               ,<#arg#> 

Compile RemoteConfigPayloadTests.swift (arm64)
Compile SessionIdentifierTests.swift (arm64)
Compile UUID+WithoutHyphenTests.swift (arm64)
Compile LogTypeDeclarationTests.swift (arm64)
Compile EmbraceConfigInternalTests (arm64)

Annotations

Check failure on line 111 in embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

warning

Initialization of immutable value 'headers' was never used; consider replacing with assignment to '_' or removing it

Check failure on line 149 in embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body

Check failure on line 167 in embrace-apple-sdk/Tests/EmbraceConfigInternalTests/EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift

See this annotation in the file changed.

@github-actions github-actions / Test Results

error

Contextual closure type '(RemoteConfigPayload?, Data?) -> Void' expects 2 arguments, but 1 was used in closure body