> Thanks for the heads up, Geoff. Just curious: if I make a mistake on one of 
> my Macs and pull new source code and try to build but haven’t updated Xcode 
> to a new enough version yet, what error message will I see?

The error message will mention the keyword “unsafe” in a .swift file.

Short example:

> /Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:64:23:
>  error: expected '{' after 'if' condition
>             if unsafe iv.size() == 0 {

Full example:

Failed frontend command:
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend
 -frontend -c -primary-file 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift 
/Users/runner/webkit/Source/WebCore/PAL/pal/pal.swift 
/Users/runner/webkit/WebKitBuild/Release/DerivedSources/WebCore/rdar150228472.swift
 /Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/RegexpHelper.swift 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/UnsafeOverlays.swift 
-emit-dependencies-path 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.d
 -emit-const-values-path 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.swiftconstvalues
 -emit-reference-dependencies-path 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.swiftdeps
 -serialize-diagnostics-path 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.dia
 -target arm64-apple-macos15.5 -Xllvm -aarch64-use-tbi -enable-objc-interop 
-stack-check -cxx-interoperability-mode\=default -sdk 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk
 -I /Users/runner/webkit/WebKitBuild/Release -F 
/Users/runner/webkit/WebKitBuild/Release -F 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/PrivateFrameworks
 -F 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/System/Library/Frameworks
 -no-color-diagnostics -g -debug-info-format\=dwarf -dwarf-version\=5 
-module-cache-path 
/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Werror 
ExistentialAny -Werror StrictMemorySafety -Werror ForeignReferenceType -Werror 
ExistentialAny -Werror StrictMemorySafety -Werror ForeignReferenceType 
-swift-version 6 -enforce-exclusivity\=checked -O -library-level spi 
-serialize-debugging-options -const-gather-protocols-file 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/PAL_const_extract_protocols.json
 -enable-upcoming-feature ExistentialAny -enable-upcoming-feature 
InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility 
-enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor 
-validate-clang-modules-once -clang-build-session-file 
/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
 -Xcc -working-directory -Xcc /Users/runner/webkit/Source/WebCore/PAL 
-resource-dir 
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift
 -file-compilation-dir /Users/runner/webkit/Source/WebCore/PAL -Xcc -std\=c++2b 
-Xcc -ivfsstatcache -Xcc 
/Users/runner/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/macosx15.5-24F74-a403186ba963133a54a0e0cacd566b0b.sdkstatcache
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/swift-overrides.hmap
 -Xcc -iquote -Xcc 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/PAL-generated-files.hmap
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/PAL-own-target-headers.hmap
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/PAL-all-non-framework-target-headers.hmap
 -Xcc -ivfsoverlay -Xcc 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL-23bf7226a2e7c85a66641f4d13163ad5-VFS/all-product-headers.yaml
 -Xcc -iquote -Xcc 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/PAL-project-headers.hmap
 -Xcc -I/Users/runner/webkit/WebKitBuild/Release/include -Xcc 
-I/Users/runner/webkit/WebKitBuild/Release/usr/local/include -Xcc -isystem -Xcc 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/local/include
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/DerivedSources-normal/arm64
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/DerivedSources/arm64
 -Xcc 
-I/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/DerivedSources 
-Xcc -DNDEBUG -no-verify-emitted-module-interface -module-name pal 
-frontend-parseable-output -disable-clang-spi -target-sdk-version 15.5 
-target-sdk-name macosx15.5 -external-plugin-path 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server
 -external-plugin-path 
/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server
 -in-process-plugin-server-path 
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib
 -plugin-path 
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins
 -plugin-path 
/Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins
 -o 
/Users/runner/webkit/WebKitBuild/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.o
 -index-unit-output-path 
/PAL.build/Release/PAL.build/Objects-normal/arm64/CryptoKitShim.o 
-track-system-dependencies
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:64:23: 
error: expected '{' after 'if' condition
            if unsafe iv.size() == 0 {
                      ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:58: 
error: consecutive statements on a line must be separated by ';'
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                         ^
                                                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:36: 
error: consecutive statements on a line must be separated by ';'
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                   ^
                                   ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:36:
 error: consecutive statements on a line must be separated by ';'
            let result = try unsafe AES.KeyWrap.unwrap(
                                   ^
                                   ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:160:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe ctx.update(data: data)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:172:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe digest(data, t: Insecure.SHA1.self)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:178:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe digest(data, t: SHA256.self)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:184:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe digest(data, t: SHA384.self)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:190:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe digest(data, t: SHA512.self)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:195:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe hasher.update(data: data)
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:200:15:
 error: consecutive statements on a line must be separated by ';'
        unsafe Self.digest(data, t).copyToVectorUInt8()
              ^
              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:206:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe digest(data, SHA256.self)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:208:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe digest(data, SHA384.self)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:210:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe digest(data, SHA512.self)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:212:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe digest(data, Insecure.SHA1.self)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:316:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p256(try P256.Signing.PublicKey(span: data))))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:318:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p384(try P384.Signing.PublicKey(span: data))))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:320:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p521(try P521.Signing.PublicKey(span: data))))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:356:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(publicKey: .p256(try 
P256.Signing.PublicKey(spanCompressed: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:358:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(publicKey: .p384(try 
P384.Signing.PublicKey(spanCompressed: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:360:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(publicKey: .p521(try 
P521.Signing.PublicKey(spanCompressed: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:376:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(privateKey: .p256(try 
P256.Signing.PrivateKey(span: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:378:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(privateKey: .p384(try 
P384.Signing.PrivateKey(span: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:380:41:
 error: consecutive statements on a line must be separated by ';'
                returnValue.key = unsafe ECKey(privateKey: .p521(try 
P521.Signing.PrivateKey(span: data)))
                                        ^
                                        ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:425:31:
 error: consecutive statements on a line must be separated by ';'
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                              ^
                              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:429:31:
 error: consecutive statements on a line must be separated by ';'
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                              ^
                              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:433:31:
 error: consecutive statements on a line must be separated by ';'
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                              ^
                              ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:460:27:
 error: consecutive statements on a line must be separated by ';'
                    unsafe cryptoKey.isValidSignature(
                          ^
                          ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:467:27:
 error: consecutive statements on a line must be separated by ';'
                    unsafe cryptoKey.isValidSignature(
                          ^
                          ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:474:27:
 error: consecutive statements on a line must be separated by ';'
                    unsafe cryptoKey.isValidSignature(
                          ^
                          ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:607:23:
 error: expected '{' after 'if' condition
            if unsafe privateKey.size() != 32 {
                      ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:612:48:
 error: consecutive statements on a line must be separated by ';'
                returnValue.result = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey
                                               ^
                                               ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:635:23:
 error: expected '{' after 'if' condition
            if unsafe privateKey.size() != 32 {
                      ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:640:48:
 error: consecutive statements on a line must be separated by ';'
                returnValue.result = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey
                                               ^
                                               ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:50:
 error: consecutive statements on a line must be separated by ';'
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                 ^
                                                 ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:51:
 error: consecutive statements on a line must be separated by ';'
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                  ^
                                                  ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:50:
 error: consecutive statements on a line must be separated by ';'
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                 ^
                                                 ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:51:
 error: consecutive statements on a line must be separated by ';'
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                  ^
                                                  ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:52:
 error: consecutive statements on a line must be separated by ';'
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                   ^
                                                   ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:707:48:
 error: consecutive statements on a line must be separated by ';'
                returnValue.result = try unsafe 
privateKeyImported.signature(span: data)
                                               ^
                                               ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:51:
 error: consecutive statements on a line must be separated by ';'
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                  ^
                                                  ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:732:27:
 error: consecutive statements on a line must be separated by ';'
                    unsafe publicKeyImported.isValidSignature(signature: 
signature, data: data)
                          ^
                          ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:52:
 error: consecutive statements on a line must be separated by ';'
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                   ^
                                                   ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:755:48:
 error: consecutive statements on a line must be separated by ';'
                returnValue.result = try unsafe 
privateKeyImported.sharedSecretFromKeyAgreement(pubSpan: publicKey)
                                               ^
                                               ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:783:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe 
CryptoKit.HMAC<Insecure.SHA1>.authenticationCode(data: data, key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:785:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA256>.authenticationCode(data: data, 
key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:787:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA384>.authenticationCode(data: data, 
key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:789:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA512>.authenticationCode(data: data, 
key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:811:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<Insecure.SHA1>
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:818:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA256>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:820:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA384>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:822:26:
 error: consecutive statements on a line must be separated by ';'
            return unsafe CryptoKit.HMAC<SHA512>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                         ^
                         ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:867:23:
 error: consecutive statements on a line must be separated by ';'
                unsafe CryptoKit.HKDF<Insecure.SHA1>
                      ^
                      ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:881:23:
 error: consecutive statements on a line must be separated by ';'
                unsafe CryptoKit.HKDF<SHA256>
                      ^
                      ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:895:23:
 error: consecutive statements on a line must be separated by ';'
                unsafe CryptoKit.HKDF<SHA384>
                      ^
                      ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:909:23:
 error: consecutive statements on a line must be separated by ';'
                unsafe CryptoKit.HKDF<SHA512>
                      ^
                      ;
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:64:16: 
error: cannot find 'unsafe' in scope
            if unsafe iv.size() == 0 {
               ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:52: 
error: cannot find 'unsafe' in scope
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:67: 
warning: result of call to 'seal(_:key:iv:ad:)' is unused
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                                  ^   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:59: 
error: call can throw but is not marked with 'try'
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                          
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:59: 
note: did you mean to use 'try'?
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                          ^
                                                          try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:59: 
note: did you mean to handle error as optional value?
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                          ^
                                                          try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:68:59: 
note: did you mean to disable error propagation?
            let sealedBox: AES.GCM.SealedBox = try unsafe AES.GCM.seal(message, 
key: key, iv: iv, ad: ad)
                                                          ^
                                                          try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:30: 
error: cannot find 'unsafe' in scope
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                             ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:49: 
warning: result of call to 'wrap(_:using:)' is unused
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                                ^   ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:37: 
error: call can throw but is not marked with 'try'
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:37: 
note: did you mean to use 'try'?
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                    ^
                                    try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:37: 
note: did you mean to handle error as optional value?
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                    ^
                                    try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:97:37: 
note: did you mean to disable error propagation?
            let result = try unsafe AES.KeyWrap.wrap(keyToWrap, using: using)
                                    ^
                                    try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:30:
 error: cannot find 'unsafe' in scope
            let result = try unsafe AES.KeyWrap.unwrap(
                             ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:49:
 warning: result of call to 'unwrap(_:using:)' is unused
            let result = try unsafe AES.KeyWrap.unwrap(
                                                ^     ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:37:
 error: call can throw but is not marked with 'try'
            let result = try unsafe AES.KeyWrap.unwrap(
                                    ^~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:37:
 note: did you mean to use 'try'?
            let result = try unsafe AES.KeyWrap.unwrap(
                                    ^
                                    try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:37:
 note: did you mean to handle error as optional value?
            let result = try unsafe AES.KeyWrap.unwrap(
                                    ^
                                    try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:109:37:
 note: did you mean to disable error propagation?
            let result = try unsafe AES.KeyWrap.unwrap(
                                    ^
                                    try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:160:9: 
error: cannot find 'unsafe' in scope
        unsafe ctx.update(data: data)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:172:9: 
error: cannot find 'unsafe' in scope
        unsafe digest(data, t: Insecure.SHA1.self)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:172:16:
 warning: result of call to 'digest(_:t:)' is unused
        unsafe digest(data, t: Insecure.SHA1.self)
               ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:178:9: 
error: cannot find 'unsafe' in scope
        unsafe digest(data, t: SHA256.self)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:178:16:
 warning: result of call to 'digest(_:t:)' is unused
        unsafe digest(data, t: SHA256.self)
               ^     ~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:184:9: 
error: cannot find 'unsafe' in scope
        unsafe digest(data, t: SHA384.self)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:184:16:
 warning: result of call to 'digest(_:t:)' is unused
        unsafe digest(data, t: SHA384.self)
               ^     ~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:190:9: 
error: cannot find 'unsafe' in scope
        unsafe digest(data, t: SHA512.self)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:190:16:
 warning: result of call to 'digest(_:t:)' is unused
        unsafe digest(data, t: SHA512.self)
               ^     ~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:195:9: 
error: cannot find 'unsafe' in scope
        unsafe hasher.update(data: data)
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:200:9: 
error: cannot find 'unsafe' in scope
        unsafe Self.digest(data, t).copyToVectorUInt8()
        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:200:37:
 warning: result of call to 'copyToVectorUInt8()' is unused
        unsafe Self.digest(data, t).copyToVectorUInt8()
                                    ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:206:20:
 error: cannot find 'unsafe' in scope
            return unsafe digest(data, SHA256.self)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:206:27:
 warning: result of call to 'digest' is unused
            return unsafe digest(data, SHA256.self)
                          ^     ~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:208:20:
 error: cannot find 'unsafe' in scope
            return unsafe digest(data, SHA384.self)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:208:27:
 warning: result of call to 'digest' is unused
            return unsafe digest(data, SHA384.self)
                          ^     ~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:210:20:
 error: cannot find 'unsafe' in scope
            return unsafe digest(data, SHA512.self)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:210:27:
 warning: result of call to 'digest' is unused
            return unsafe digest(data, SHA512.self)
                          ^     ~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:212:20:
 error: cannot find 'unsafe' in scope
            return unsafe digest(data, Insecure.SHA1.self)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:212:27:
 warning: result of call to 'digest' is unused
            return unsafe digest(data, Insecure.SHA1.self)
                          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:316:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p256(try P256.Signing.PublicKey(span: data))))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:316:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p256(try P256.Signing.PublicKey(span: data))))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:318:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p384(try P384.Signing.PublicKey(span: data))))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:318:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p384(try P384.Signing.PublicKey(span: data))))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:320:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p521(try P521.Signing.PublicKey(span: data))))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:320:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(internalKey: 
.publicKey(.p521(try P521.Signing.PublicKey(span: data))))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:323:11:
 warning: 'catch' block is unreachable because no errors are thrown in 'do' 
block
        } catch {
          ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:356:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(publicKey: .p256(try 
P256.Signing.PublicKey(spanCompressed: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:356:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(publicKey: .p256(try 
P256.Signing.PublicKey(spanCompressed: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:358:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(publicKey: .p384(try 
P384.Signing.PublicKey(spanCompressed: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:358:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(publicKey: .p384(try 
P384.Signing.PublicKey(spanCompressed: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:360:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(publicKey: .p521(try 
P521.Signing.PublicKey(spanCompressed: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:360:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(publicKey: .p521(try 
P521.Signing.PublicKey(spanCompressed: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:363:11:
 warning: 'catch' block is unreachable because no errors are thrown in 'do' 
block
        } catch {
          ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:376:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(privateKey: .p256(try 
P256.Signing.PrivateKey(span: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:376:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(privateKey: .p256(try 
P256.Signing.PrivateKey(span: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:378:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(privateKey: .p384(try 
P384.Signing.PrivateKey(span: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:378:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(privateKey: .p384(try 
P384.Signing.PrivateKey(span: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:380:35:
 error: cannot find 'unsafe' in scope
                returnValue.key = unsafe ECKey(privateKey: .p521(try 
P521.Signing.PrivateKey(span: data)))
                                  ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:380:42:
 warning: result of 'ECKey' initializer is unused
                returnValue.key = unsafe ECKey(privateKey: .p521(try 
P521.Signing.PrivateKey(span: data)))
                                         ^    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:383:11:
 warning: 'catch' block is unreachable because no errors are thrown in 'do' 
block
        } catch {
          ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:425:25:
 error: cannot find 'unsafe' in scope
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:426:40:
 warning: result of call to 'copyToVectorUInt8()' is unused
                    .rawRepresentation.copyToVectorUInt8()
                                       ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:429:25:
 error: cannot find 'unsafe' in scope
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:430:40:
 warning: result of call to 'copyToVectorUInt8()' is unused
                    .rawRepresentation.copyToVectorUInt8()
                                       ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:433:25:
 error: cannot find 'unsafe' in scope
                    try unsafe cryptoKey.signature(for: Digest.digest(message, 
hashFunction: hashFunction))
                        ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:434:40:
 warning: result of call to 'copyToVectorUInt8()' is unused
                    .rawRepresentation.copyToVectorUInt8()
                                       ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:460:21:
 error: cannot find 'unsafe' in scope
                    unsafe cryptoKey.isValidSignature(
                    ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:464:24:
 error: cannot infer contextual base in reference to member 'Success'
                    ? .Success : .FailedToVerify
                      ~^~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:467:21:
 error: cannot find 'unsafe' in scope
                    unsafe cryptoKey.isValidSignature(
                    ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:471:24:
 error: cannot infer contextual base in reference to member 'Success'
                    ? .Success : .FailedToVerify
                      ~^~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:474:21:
 error: cannot find 'unsafe' in scope
                    unsafe cryptoKey.isValidSignature(
                    ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:478:24:
 error: cannot infer contextual base in reference to member 'Success'
                    ? .Success : .FailedToVerify
                      ~^~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:607:16:
 error: cannot find 'unsafe' in scope
            if unsafe privateKey.size() != 32 {
               ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:612:42:
 error: cannot find 'unsafe' in scope
                returnValue.result = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey
                                         ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:613:40:
 warning: result of call to 'copyToVectorUInt8()' is unused
                    .rawRepresentation.copyToVectorUInt8()
                                       ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:635:16:
 error: cannot find 'unsafe' in scope
            if unsafe privateKey.size() != 32 {
               ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:640:42:
 error: cannot find 'unsafe' in scope
                returnValue.result = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey
                                         ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:641:40:
 warning: result of call to 'copyToVectorUInt8()' is unused
                    .rawRepresentation.copyToVectorUInt8()
                                       ^                ~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:659:16:
 error: cannot find 'unsafe' in scope
            if unsafe (privateKey.size() != 32 || publicKey.size() != 32) {
               ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:44:
 error: cannot find 'unsafe' in scope
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                           ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:109:
 warning: expression of type 'Data' is unused
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:45:
 error: cannot find 'unsafe' in scope
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                            ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:98:
 warning: expression of type 'Data' is unused
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:51:
 error: call can throw but is not marked with 'try'
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:51:
 note: did you mean to use 'try'?
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:51:
 note: did you mean to handle error as optional value?
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:664:51:
 note: did you mean to disable error propagation?
                let derivedPublicKey = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:52:
 error: call can throw but is not marked with 'try'
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:52:
 note: did you mean to use 'try'?
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:52:
 note: did you mean to handle error as optional value?
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:665:52:
 note: did you mean to disable error propagation?
                let importedPublicKey = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:683:16:
 error: cannot find 'unsafe' in scope
            if unsafe (privateKey.size() != 32 || publicKey.size() != 32) {
               ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:44:
 error: cannot find 'unsafe' in scope
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                           ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:114:
 warning: expression of type 'Data' is unused
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:45:
 error: cannot find 'unsafe' in scope
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                            ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:103:
 warning: expression of type 'Data' is unused
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:51:
 error: call can throw but is not marked with 'try'
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:51:
 note: did you mean to use 'try'?
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:51:
 note: did you mean to handle error as optional value?
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:688:51:
 note: did you mean to disable error propagation?
                let derivedPublicKey = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey).publicKey.rawRepresentation
                                                  ^
                                                  try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:52:
 error: call can throw but is not marked with 'try'
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:52:
 note: did you mean to use 'try'?
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:52:
 note: did you mean to handle error as optional value?
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:689:52:
 note: did you mean to disable error propagation?
                let importedPublicKey = try unsafe 
Curve25519.KeyAgreement.PublicKey(span: publicKey).rawRepresentation
                                                   ^
                                                   try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:46:
 error: cannot find 'unsafe' in scope
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                             ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:72:
 warning: result of 'Curve25519.Signing.PrivateKey' initializer is unused
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                                       ^        
 ~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:707:42:
 error: cannot find 'unsafe' in scope
                returnValue.result = try unsafe 
privateKeyImported.signature(span: data)
                                         ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:53:
 error: call can throw but is not marked with 'try'
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                    
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:53:
 note: did you mean to use 'try'?
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                    ^
                                                    try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:53:
 note: did you mean to handle error as optional value?
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                    ^
                                                    try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:706:53:
 note: did you mean to disable error propagation?
                let privateKeyImported = try unsafe 
Curve25519.Signing.PrivateKey(span: privateKey)
                                                    ^
                                                    try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:45:
 error: cannot find 'unsafe' in scope
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                            ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:71:
 warning: result of 'Curve25519.Signing.PublicKey' initializer is unused
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                                      ^        
~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:732:21:
 error: cannot find 'unsafe' in scope
                    unsafe publicKeyImported.isValidSignature(signature: 
signature, data: data)
                    ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:733:24:
 error: cannot infer contextual base in reference to member 'Success'
                    ? .Success : .FailedToVerify
                      ~^~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:52:
 error: call can throw but is not marked with 'try'
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:52:
 note: did you mean to use 'try'?
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                   ^
                                                   try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:52:
 note: did you mean to handle error as optional value?
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                   ^
                                                   try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:730:52:
 note: did you mean to disable error propagation?
                let publicKeyImported = try unsafe 
Curve25519.Signing.PublicKey(span: publicKey)
                                                   ^
                                                   try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:46:
 error: cannot find 'unsafe' in scope
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                             ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:77:
 warning: result of 'Curve25519.KeyAgreement.PrivateKey' initializer is unused
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                                            ^   
      ~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:755:42:
 error: cannot find 'unsafe' in scope
                returnValue.result = try unsafe 
privateKeyImported.sharedSecretFromKeyAgreement(pubSpan: publicKey)
                                         ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:53:
 error: call can throw but is not marked with 'try'
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                    
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:53:
 note: did you mean to use 'try'?
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                    ^
                                                    try 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:53:
 note: did you mean to handle error as optional value?
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                    ^
                                                    try? 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:754:53:
 note: did you mean to disable error propagation?
                let privateKeyImported = try unsafe 
Curve25519.KeyAgreement.PrivateKey(span: privateKey)
                                                    ^
                                                    try! 
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:783:20:
 error: cannot find 'unsafe' in scope
            return unsafe 
CryptoKit.HMAC<Insecure.SHA1>.authenticationCode(data: data, key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:783:57:
 warning: result of call to 'authenticationCode(data:key:)' is unused
            return unsafe 
CryptoKit.HMAC<Insecure.SHA1>.authenticationCode(data: data, key: key)
                                                        ^                 
~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:785:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA256>.authenticationCode(data: data, 
key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:785:50:
 warning: result of call to 'authenticationCode(data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA256>.authenticationCode(data: data, 
key: key)
                                                 ^                 
~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:787:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA384>.authenticationCode(data: data, 
key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:787:50:
 warning: result of call to 'authenticationCode(data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA384>.authenticationCode(data: data, 
key: key)
                                                 ^                 
~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:789:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA512>.authenticationCode(data: data, 
key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:789:50:
 warning: result of call to 'authenticationCode(data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA512>.authenticationCode(data: data, 
key: key)
                                                 ^                 
~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:811:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<Insecure.SHA1>
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:812:18:
 warning: result of call to 'isValidAuthenticationCode(mac:data:key:)' is unused
                .isValidAuthenticationCode(
                 ^                        ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:818:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA256>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:818:50:
 warning: result of call to 'isValidAuthenticationCode(mac:data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA256>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                                                 ^                        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:820:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA384>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:820:50:
 warning: result of call to 'isValidAuthenticationCode(mac:data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA384>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                                                 ^                        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:822:20:
 error: cannot find 'unsafe' in scope
            return unsafe CryptoKit.HMAC<SHA512>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                   ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:822:50:
 warning: result of call to 'isValidAuthenticationCode(mac:data:key:)' is unused
            return unsafe CryptoKit.HMAC<SHA512>.isValidAuthenticationCode(mac: 
mac, data: data, key: key)
                                                 ^                        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:867:17:
 error: cannot find 'unsafe' in scope
                unsafe CryptoKit.HKDF<Insecure.SHA1>
                ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:868:18:
 warning: result of call to 
'deriveKey(inputKeyMaterial:salt:info:outputByteCount:)' is unused
                .deriveKey(
                 ^        ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:881:17:
 error: cannot find 'unsafe' in scope
                unsafe CryptoKit.HKDF<SHA256>
                ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:882:18:
 warning: result of call to 
'deriveKey(inputKeyMaterial:salt:info:outputByteCount:)' is unused
                .deriveKey(
                 ^        ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:895:17:
 error: cannot find 'unsafe' in scope
                unsafe CryptoKit.HKDF<SHA384>
                ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:896:18:
 warning: result of call to 
'deriveKey(inputKeyMaterial:salt:info:outputByteCount:)' is unused
                .deriveKey(
                 ^        ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:909:17:
 error: cannot find 'unsafe' in scope
                unsafe CryptoKit.HKDF<SHA512>
                ^~~~~~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:910:18:
 warning: result of call to 
'deriveKey(inputKeyMaterial:salt:info:outputByteCount:)' is unused
                .deriveKey(
                 ^        ~
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:25:8: 
warning: public import of 'Foundation' was not used in public declarations or 
inlinable code
public import Foundation
~~~~~~~^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:614:39:
 error: instance method 'size()' is not available due to missing import of 
defining module 'Vector'
                if returnValue.result.size() != 32 {
                                      ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:29:1: 
note: add import of module 'Vector'

^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:642:39:
 error: instance method 'size()' is not available due to missing import of 
defining module 'Vector'
                if returnValue.result.size() != 32 {
                                      ^
/Users/runner/webkit/Source/WebCore/PAL/pal/PALSwift/CryptoKitShim.swift:29:1: 
note: add import of module 'Vector'

^
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
<unknown>:0: warning: unknown warning group: 'StrictMemorySafety'
<unknown>:0: warning: unknown warning group: 'ForeignReferenceType'
note: Disabling previews because SWIFT_VERSION is set and 
SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Derived Sources' from 
project 'WebCore')
note: Disabling previews because SWIFT_VERSION is set and 
SWIFT_OPTIMIZATION_LEVEL=-O, expected -Onone (in target 'Unlock Keychain' from 
project 'WebKit')
** BUILD FAILED **

Thanks,
Geoff
_______________________________________________
webkit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to