Skip to content

dart:ffi changes break customer_testing #76129

Closed
@zanderso

Description

@zanderso
| 00:00 +5: loading /b/s/w/ir/tmp/t/flutter_customer_testing.flutter_cocoon.VWGXMQ/tests/repo_dashboard/test/infrastructure_test.dart
| ../../../../../k/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.4+3/lib/src/path_provider_windows_real.dart:126:25: Error: The getter 'addressOf' isn't defined for the class 'GUID'.
|  - 'GUID' is from 'package:win32/src/structs.dart' ('../../../../../k/.pub-cache/hosted/pub.dartlang.org/win32-1.7.4/lib/src/structs.dart').
| Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
|           knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
|            

The repo_dashboard package of cocoon depends on localstorage which depends on an umigrated version of path_provider which uses the deprecated dart:ffi APIs.

This is blocking engine -> framework rolls. See: #76110.

Attempting a Dart SDK revert here: flutter/engine#24436

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressionc: contributor-productivityTeam-specific productivity, code health, technical debt.dependency: dartDart team may need to help usengineflutter/engine repository. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions