Skip to content

feat(flame_3d): Make shader api more useful #9408

feat(flame_3d): Make shader api more useful

feat(flame_3d): Make shader api more useful #9408

Triggered via pull request June 3, 2024 21:09
Status Failure
Total duration 5m 54s
Artifacts

cicd.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

24 errors, 6 warnings, and 17 notices
markdown-lint
Process completed with exit code 1.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/graphics/graphics_device.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/material/material.dart#L3
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L8
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/mesh/surface.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/shader/shader.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/shader/uniform_slot.dart#L2
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/texture/texture.dart#L5
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.
Missing concrete implementations of 'getter ProviderSubscription.closed' and 'getter ProviderSubscription.source'.: packages/flame_riverpod/lib/src/widget.dart#L235
Try implementing the missing methods, or make the class abstract. See https://dart.dev/diagnostics/non_abstract_class_inherits_abstract_member to learn more about this problem.
analyze-latest
Dart Analyzer detected problems, see the logs for more information.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/graphics/graphics_device.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/material/material.dart#L3
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L8
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/mesh/surface.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/shader/shader.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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/shader/uniform_slot.dart#L2
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.
Target of URI doesn't exist: 'package:flutter_gpu/gpu.dart'.: packages/flame_3d/lib/src/resources/texture/texture.dart#L5
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.
Missing concrete implementations of 'getter ProviderSubscription.closed' and 'getter ProviderSubscription.source'.: packages/flame_riverpod/lib/src/widget.dart#L235
Try implementing the missing methods, or make the class abstract. See https://dart.dev/diagnostics/non_abstract_class_inherits_abstract_member to learn more about this problem.
analyze
Dart Analyzer detected problems, see the logs for more information.
test
0 tests passed, 3 failed.
test
0 tests passed, 1 failed.
test
0 tests passed, 1 failed.
test
4 tests passed, 1 failed.
test
Process completed with exit code 1.
markdown-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
dcm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
analyze-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, invertase/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
analyze
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, invertase/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
'UnmodifiableFloat64ListView' is deprecated and shouldn't be used. Use Float64List.asUnmodifiableView() instead.: packages/flame/lib/src/game/notifying_vector2.dart#L189
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
The imported package 'vector_math' isn't a dependency of the importing package.: packages/flame_3d/lib/game.dart#L1
Try adding a dependency for 'vector_math' in the 'pubspec.yaml' file. See https://dart.dev/lints/depend_on_referenced_packages to learn more about this problem.
'UnmodifiableFloat32ListView' is deprecated and shouldn't be used. Use Float32List.asUnmodifiableView() instead.: packages/flame_3d/lib/src/game/notifying_quaternion.dart#L173
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
'UnmodifiableFloat32ListView' is deprecated and shouldn't be used. Use Float32List.asUnmodifiableView() instead.: packages/flame_3d/lib/src/game/notifying_vector3.dart#L210
Try replacing the use of the deprecated member with the replacement. See https://dart.dev/diagnostics/deprecated_member_use to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L20
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L26
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L91
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
The line length exceeds the 80-character limit.: packages/flame_3d/lib/src/resources/mesh/vertex.dart#L28
Try breaking the line across multiple lines. See https://dart.dev/lints/lines_longer_than_80_chars to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/shader/uniform_sampler.dart#L13
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/shader/uniform_value.dart#L60
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
The imported package 'vector_math' isn't a dependency of the importing package.: packages/flame_3d/lib/game.dart#L1
Try adding a dependency for 'vector_math' in the 'pubspec.yaml' file. See https://dart.dev/lints/depend_on_referenced_packages to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L20
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L26
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/material/spatial_material.dart#L91
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
The line length exceeds the 80-character limit.: packages/flame_3d/lib/src/resources/mesh/vertex.dart#L28
Try breaking the line across multiple lines. See https://dart.dev/lints/lines_longer_than_80_chars to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/shader/uniform_sampler.dart#L13
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.
Unnecessary use of a null check ('!').: packages/flame_3d/lib/src/resources/shader/uniform_value.dart#L60
Try removing the null check. See https://dart.dev/lints/unnecessary_null_checks to learn more about this problem.