This repository was archived by the owner on Dec 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The build blocker is tracked in google/dart-neats#60 |
Hey @devoncarew, If I have $ pub run build_runner build --delete-conflicting-outputs
Precompiling executable... (9.5s)
Precompiled build_runner:build_runner.
[INFO] Generating build script completed, took 294ms
[INFO] Reading cached asset graph completed, took 69ms
[INFO] Checking for updates since last build completed, took 548ms
[WARNING] analyzer|lib/src/error/dart2js_verifier.dart was not found in the asset graph, incremental builds will not work.
This probably means you don't have your dependencies specified fully in your pubspec.yaml.
[WARNING] Invalidating asset graph due to build script update!
[INFO] Cleaning up outputs from previous builds. completed, took 4ms
[INFO] Generating build script completed, took 55ms
[INFO] Creating build script snapshot... completed, took 9.7s
[INFO] Building new asset graph completed, took 583ms
[INFO] Checking for unexpected pre-existing outputs. completed, took 1ms
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[SEVERE] shelf_router_generator:shelf_router on benchmark/bench.dart:
Bad state: Unexpected diagnostics:
/Users/brettmorgan/homebrew/Cellar/dart/2.9.2/libexec/lib/core/uri.dart:3259:39 - Expected an identifier.
[WARNING] No actions completed for 15.0s, waiting on:
- shelf_router_generator:shelf_router on bin/server_cloud_run.dart
- shelf_router_generator:shelf_router on bin/server_dev.dart
- shelf_router_generator:shelf_router on bin/server.dart
- shelf_router_generator:shelf_router on test/shelf_cors_test.dart
- shelf_router_generator:shelf_router on test/analysis_server_test.dart
.. and 11 more
[WARNING] No actions completed for 15.1s, waiting on:
- shelf_router_generator:shelf_router on bin/server_cloud_run.dart
- shelf_router_generator:shelf_router on bin/server_dev.dart
- shelf_router_generator:shelf_router on bin/server.dart
- shelf_router_generator:shelf_router on test/shelf_cors_test.dart
- shelf_router_generator:shelf_router on test/analysis_server_test.dart
.. and 11 more
[INFO] 41.2s elapsed, 1/17 actions completed.^C% |
Turns out, `analyzer` version 0.39.17 is happy with Dart 2.10-beta per #583
I believe you're unblocked for the moment? Your question is how to resolve this in the future? For now, you'll need to either pin analyzer here or build_runner; see dart-lang/build#2763. |
Thanks for the context @devoncarew, I'm pinning TBR: @johnpryan |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.