Skip to content

refactor: Use the pubspec_parse package for parsing #1601

refactor: Use the pubspec_parse package for parsing

refactor: Use the pubspec_parse package for parsing #1601

Triggered via pull request November 19, 2024 16:04
Status Failure
Total duration 3m 37s
Artifacts

validate.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 11 warnings, and 1 notice
The name 'PubSpec' isn't a class.: packages/melos/test/commands/analyze_test.dart#L283
Try correcting the name to match an existing class. See https://dart.dev/diagnostics/creation_with_non_type to learn more about this problem.
The function 'SdkReference' isn't defined.: packages/melos/test/commands/analyze_test.dart#L286
Try importing the library that defines 'SdkReference', correcting the name to the name of an existing function, or defining a function named 'SdkReference'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The function 'PubSpec' isn't defined.: packages/melos/test/commands/analyze_test.dart#L293
Try importing the library that defines 'PubSpec', correcting the name to the name of an existing function, or defining a function named 'PubSpec'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The function 'HostedReference' isn't defined.: packages/melos/test/commands/analyze_test.dart#L296
Try importing the library that defines 'HostedReference', correcting the name to the name of an existing function, or defining a function named 'HostedReference'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The name 'PubSpec' isn't a class.: packages/melos/test/commands/analyze_test.dart#L327
Try correcting the name to match an existing class. See https://dart.dev/diagnostics/creation_with_non_type to learn more about this problem.
The function 'SdkReference' isn't defined.: packages/melos/test/commands/analyze_test.dart#L330
Try importing the library that defines 'SdkReference', correcting the name to the name of an existing function, or defining a function named 'SdkReference'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
The name 'PubSpec' isn't a class.: packages/melos/test/commands/analyze_test.dart#L353
Try correcting the name to match an existing class. See https://dart.dev/diagnostics/creation_with_non_type to learn more about this problem.
Target of URI doesn't exist: 'package:pubspec/pubspec.dart'.: packages/melos/test/common/intellij_project_test.dart#L6
Try creating the file referenced by the URI, or try using a URI for a file that does exist. See https://dart.dev/diagnostics/uri_does_not_exist to learn more about this problem.
The name 'PubSpec' isn't a class.: packages/melos/test/common/intellij_project_test.dart#L69
Try correcting the name to match an existing class. See https://dart.dev/diagnostics/creation_with_non_type to learn more about this problem.
The function 'SdkReference' isn't defined.: packages/melos/test/common/intellij_project_test.dart#L72
Try importing the library that defines 'SdkReference', correcting the name to the name of an existing function, or defining a function named 'SdkReference'. See https://dart.dev/diagnostics/undefined_function to learn more about this problem.
test_linux
313 tests passed, 2 failed, 3 skipped.
test_linux
Process completed with exit code 1.
test_macos
313 tests passed, 2 failed, 3 skipped.
test_macos
Process completed with exit code 1.
test_windows
305 tests passed, 11 failed, 2 skipped.
melos_flutter_deps_check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
dart_version
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
analyze
The following actions uses node12 which is deprecated and will be forced to run on node16: invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
analyze
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, invertase/github-action-dart-analyzer@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
format
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_linux
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_macos
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_windows
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
The imported package 'pubspec' isn't a dependency of the importing package.: packages/melos/test/common/intellij_project_test.dart#L6
Try adding a dependency for 'pubspec' in the 'pubspec.yaml' file. See https://dart.dev/diagnostics/depend_on_referenced_packages to learn more about this problem.