-
Notifications
You must be signed in to change notification settings - Fork 9
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
"Invalid argument(s): Provided content does not align with expectations" #15
Comments
I'm seeing this also, was OK for me yesterday though. |
After doing some research, I think that this is due to a bug of the |
@axel-op Thank you for your research. Do you have a plan downgrade to stable version of SDK? |
As I understand, it was necessary to switch to the beta version when null-safety was on the beta version. Now pub analyse package on stable SDK version (like this Analysed with Pana 0.15.4, Flutter 2.0.3, Dart 2.12.2.) |
Oh that's right! I guess I can switch to the stable channel again then. Thank you 😊 |
@dkrutskikh I've pushed ed94c03. Can you run your last failing jobs again, and close this issue if it is solved? |
@axel-op Thank you. Your fix works well for me. I close this issue. |
Yep thanks |
Last five days dart-package-analyzer crashes on every run.
https://github.com/dart-code-checker/dart-code-metrics/runs/2168640802
2021-03-22T17:54:25.2056965Z ##[group]Running pana
2021-03-22T17:54:25.5128260Z {"logName":"pana","level":"INFO","message":"Running
/flutter/bin/cache/dart-sdk/bin/dart --version
..."}2021-03-22T17:54:25.5715632Z {"logName":"pana","level":"INFO","message":"Running
flutter --no-version-check --version --machine
..."}2021-03-22T17:54:26.3455792Z {"logName":"pana","level":"INFO","message":"Running
/flutter/bin/cache/dart-sdk/bin/pub upgrade --verbosity io --no-precompile
..."}2021-03-22T17:54:29.9193345Z {"logName":"pana","level":"INFO","message":"Analyzing package..."}
2021-03-22T17:54:29.9696760Z {"logName":"pana","level":"INFO","message":"Running
/flutter/bin/cache/dart-sdk/bin/dartanalyzer --options /github/workspace/pana_analysis_options_1616435669958881.g.yaml --format machine bin lib
..."}2021-03-22T17:54:42.7434141Z {"level":"SHOUT","message":"Problem analyzing /github/workspace","error":"Invalid argument(s): Provided content does not align with expectations.\n
No dart files found at: /github/workspace/lib
","stackTrace":"#0 parseCodeProblem (package:pana/src/code_problem.dart:52:5)\n#1 PackageContext.staticAnalysis. (package:pana/src/package_context.dart:121:23)\n#2 MappedIterator.moveNext (dart:_internal/iterable.dart:390:20)\n#3 WhereIterator.moveNext (dart:_internal/iterable.dart:436:22)\n#4 SetMixin.addAll (dart:collection/set.dart:57:23)\n#5 new LinkedHashSet.of (dart:collection/linked_hash_set.dart:111:27)\n#6 Iterable.toSet (dart:core/iterable.dart:376:21)\n#7 PackageContext.staticAnalysis (package:pana/src/package_context.dart:123:12)\n\n#8 PackageAnalyzer._inspect (package:pana/src/package_analyzer.dart:147:27)\n\n#9 main (file:///root/.pub-cache/hosted/pub.dartlang.org/pana-0.15.4/bin/pana.dart:163:19)\n\n"}2021-03-22T17:54:42.8798897Z ##[endgroup]
2021-03-22T17:54:42.8803460Z ##[error]Pana exited with code 1
The text was updated successfully, but these errors were encountered: