RESOLVED FIXED308839
REGRESSION(308337@main): Internal macOS engineering build broken with StrictMemorySafety error
https://bugs.webkit.org/show_bug.cgi?id=308839
Summary REGRESSION(308337@main): Internal macOS engineering build broken with StrictM...
Abrar Rahman Protyasha
Reported 2026-02-27 11:42:36 PST
/Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1357:34: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety] let blendWeightsBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1358:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer' bytes: weights, /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1357:41: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer' let blendWeightsBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1374:37: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety] let positionOffsetsBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1375:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer' bytes: positionOffsets, /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1374:44: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer' let positionOffsetsBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1413:81: warning: 'make(_:offset:occupiedLength:elementType:)' is deprecated: use make function with ElementType [#DeprecatedDeclaration] /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1430:89: warning: 'make(_:offset:occupiedLength:elementType:)' is deprecated: use make function with ElementType [#DeprecatedDeclaration] /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1406:38: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety] let adjacenciesMetalBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1407:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer' bytes: vertexAdjacencies, /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1406:45: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer' let adjacenciesMetalBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1423:46: error: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety] let adjacencyEndIndicesMetalBuffer = device.makeBuffer( /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1424:20: note: argument 'bytes' in call to instance method 'makeBuffer' has unsafe type 'UnsafeRawPointer' bytes: vertexAdjacencyEndIndices, /Source/WebKit/GPUProcess/graphics/Model/USDModel.swift:1423:53: note: reference to instance method 'makeBuffer(bytes:length:options:)' involves unsafe type 'UnsafeRawPointer' let adjacencyEndIndicesMetalBuffer = device.makeBuffer(
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-27 11:42:41 PST
Abrar Rahman Protyasha
Comment 2 2026-02-27 11:46:47 PST
EWS
Comment 3 2026-02-27 11:56:04 PST
Committed 308358@main (519ac545ddce): <https://commits.webkit.org/308358@main> Reviewed commits have been landed. Closing PR #59597 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.