-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
verify-web-demos action is failing #897
Comments
It looks like there's a few other packages that have analyzer warnings:
|
It looks like this is still failing verifying form_app, which uses mockito: 2021-09-30T22:46:25.2814783Z SLVR: conflict: every version of flutter_test from sdk depends on test_api 0.4.2
2021-09-30T22:46:25.2815451Z SLVR: ! not test_api 0.4.2 is satisfied by test_api >=0.2.1 <0.4.0
2021-09-30T22:46:25.2816389Z SLVR: ! which is caused by "mockito >=4.0.0 <5.0.0-∞ requires test_api >=0.2.1 <0.4.0"
2021-09-30T22:46:25.2817306Z SLVR: ! thus: flutter_test from sdk is incompatible with mockito >=4.0.0 <5.0.0-∞
2021-09-30T22:46:25.2818209Z SLVR: ! mockito >=4.0.0 <5.0.0-∞ is satisfied by mockito ^4.1.1
2021-09-30T22:46:25.2818881Z SLVR: ! which is caused by "form_app depends on mockito ^4.1.1"
2021-09-30T22:46:25.2819472Z SLVR: ! thus: flutter_test from sdk is forbidden
2021-09-30T22:46:25.2820180Z SLVR: ! flutter_test any from sdk is satisfied by flutter_test any from sdk
2021-09-30T22:46:25.2820946Z SLVR: ! which is caused by "form_app depends on flutter_test any from sdk"
2021-09-30T22:46:25.2821556Z SLVR: ! thus: version solving failed
2021-09-30T22:46:25.2822145Z SLVR: Version solving took 0:00:01.444780 seconds.
2021-09-30T22:46:25.2822644Z | Tried 1 solutions.
2021-09-30T22:46:25.2823252Z FINE: Resolving dependencies finished (1.4s).
2021-09-30T22:46:25.2824356Z ERR : Because no versions of mockito match >4.1.1+1 <4.1.2 and mockito >=4.0.0 <=4.1.1 depends on test_api ^0.2.1, mockito >=4.0.0 <4.1.1+1 or >4.1.1+1 <4.1.2-∞ requires test_api ^0.2.1.
2021-09-30T22:46:25.2825701Z | And because mockito >=4.1.2 <=5.0.0-nullsafety.7 depends on test_api ^0.2.19-nullsafety, mockito >=4.0.0 <4.1.1+1 or >4.1.1+1 <5.0.0-∞ requires test_api ^0.2.1.
2021-09-30T22:46:25.2827289Z | And because mockito 4.1.1+1 depends on test_api >=0.2.1 <0.4.0 and every version of flutter_test from sdk depends on test_api 0.4.2, flutter_test from sdk is incompatible with mockito >=4.0.0 <=5.0.0-nullsafety.7.
2021-09-30T22:46:25.2828519Z | So, because form_app depends on both mockito ^4.1.1 and flutter_test any from sdk, version solving failed.
2021-09-30T22:46:25.2829259Z FINE: Exception type: SolveFailure
2021-09-30T22:46:25.2830077Z FINE: package:pub/src/solver/version_solver.dart 310:5 VersionSolver._resolveConflict
2021-09-30T22:46:25.2831082Z | package:pub/src/solver/version_solver.dart 131:27 VersionSolver._propagate
2021-09-30T22:46:25.2832013Z | package:pub/src/solver/version_solver.dart 95:11 VersionSolver.solve.<fn>
2021-09-30T22:46:25.2832783Z | ===== asynchronous gap ===========================
2021-09-30T22:46:25.2833348Z | dart:async Future.catchError
2021-09-30T22:46:25.2834228Z | package:pub/src/utils.dart 112:52 captureErrors.wrappedCallback
2021-09-30T22:46:25.2835116Z | package:stack_trace Chain.capture
2021-09-30T22:46:25.2835800Z | package:pub/src/utils.dart 125:11 captureErrors
2021-09-30T22:46:25.2836546Z | package:pub/src/command.dart 168:13 PubCommand.run
2021-09-30T22:46:25.2837540Z | package:args/command_runner.dart 209:27 CommandRunner.runCommand
2021-09-30T22:46:25.2838519Z | package:pub/src/command_runner.dart 166:24 PubCommandRunner.runCommand
2021-09-30T22:46:25.2839543Z | package:pub/src/command_runner.dart 151:20 PubCommandRunner.run
2021-09-30T22:46:25.2840317Z | /b/s/w/ir/cache/builder/sdk/third_party/pkg/pub/bin/pub.dart 11:48 main
2021-09-30T22:46:25.2841133Z ---- End log transcript ----
2021-09-30T22:46:25.2841848Z pub get failed (1; ---- End log transcript ----)
2021-09-30T22:46:25.2842726Z �[31m Failed! (1) – form_app – `flutter analyze --fatal-infos --fatal-warnings .`�[0m
2021-09-30T22:46:25.2843631Z �[31m22 of 24 (91.67%)�[0m
2021-09-30T22:46:25.2844083Z �[35m
2021-09-30T22:46:25.2844585Z _tool (13 of 13)�[0m
2021-09-30T22:46:25.2845258Z �[35m Running `flutter pub pub upgrade --no-precompile`�[0m
2021-09-30T22:46:25.2869166Z Resolving dependencies... |
This was referenced Oct 4, 2021
joshpeterson30489
added a commit
to joshpeterson30489/flutter_maps_firestore
that referenced
this issue
Sep 30, 2022
untitled-alvin
pushed a commit
to untitled-alvin/web
that referenced
this issue
Apr 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The filipino_cuisine sample doesn't pass static analysis with Flutter 2.5:
https://github.com/flutter/samples/pull/896/checks?check_run_id=3588652279
The text was updated successfully, but these errors were encountered: