Skip to content

Instantly share code, notes, and snippets.

@jonahwilliams
Created March 26, 2019 04:50
Show Gist options
  • Select an option

  • Save jonahwilliams/1b75e9b9a928a3630c49abe5727b5937 to your computer and use it in GitHub Desktop.

Select an option

Save jonahwilliams/1b75e9b9a928a3630c49abe5727b5937 to your computer and use it in GitHub Desktop.
kernel failure using build_runner
[SEVERE] _builders|ddc on web/main.flutter_dartdevc.module (cached):
Error compiling dartdevc module:web_integration|web/main.ddc.js
We're sorry, you've found a bug in our compiler.
You can report this bug at:
https://github.com/dart-lang/sdk/issues/labels/area-dev-compiler
Please include the information below in your report, along with
any other information that may help us track it down. Thanks!
-------------------- %< --------------------
dartdevc -k arguments: --dart-sdk-summary=/Users/jonahwilliams/Documents/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
--modules=amd -o web/main.ddc.js --source-map -s packages/meta/meta.ddc.dill=packages/meta/meta -s
packages/typed_data/typed_buffers.ddc.dill=packages/typed_data/typed_buffers -s
packages/flutter/src/foundation/annotations.ddc.dill=packages/flutter/src/foundation/annotations -s
packages/flutter/foundation.ddc.dill=packages/flutter/foundation -s packages/web_integration/main.ddc.dill=packages/web_integration/main
--packages file:///var/folders/sq/vd7vtp0j60ld19wt58vg7n5c00c4f_/T/kernel_builder_0xsG9u/.packages --module-name web/main web/main.dart
dart --version: 2.2.1-dev.2.0.flutter-None (Fri Mar 22 02:50:43 2019 +0000) on "macos_x64"
Crash when compiling org-dartlang-app:/web/main.dart,
at character offset null:
RangeError (index): Index out of range: no indices are valid: 0
#0 Uint8List.[] (dart:typed_data/runtime/lib/typed_data_patch.dart:2188:7)
#1 BinaryBuilder.readByte (package:kernel/binary/ast_from_binary.dart:95:27)
#2 BinaryBuilder.readUint32 (package:kernel/binary/ast_from_binary.dart:115:13)
#3 BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:435:17)
#4 ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:383:10)
#5 ProcessedOptions.loadInputSummaries.<anonymous closure> (package:front_end/src/base/processed_options.dart:349:35)
#6 MappedListIterable.elementAt (dart:_internal/iterable.dart:414:29)
#7 ListIterable.toList (dart:_internal/iterable.dart:219:19)
#8 ProcessedOptions.loadInputSummaries (package:front_end/src/base/processed_options.dart:349:67)
<asynchronous suspension>
#9 generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:81:44)
<asynchronous suspension>
#10 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24)
<asynchronous suspension>
#11 generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:55:10)
<asynchronous suspension>
#12 generateKernel.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:40:18)
<asynchronous suspension>
#13 CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:134:20)
<asynchronous suspension>
#14 CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:46)
#15 new Future.sync (dart:async/future.dart:224:31)
#16 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:19)
#17 _rootRun (dart:async/zone.dart:1124:13)
#18 _CustomZone.run (dart:async/zone.dart:1021:19)
#19 _runZoned (dart:async/zone.dart:1516:10)
#20 runZoned (dart:async/zone.dart:1463:12)
#21 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12)
#22 CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:132:10)
#23 generateKernel (package:front_end/src/kernel_generator_impl.dart:39:32)
<asynchronous suspension>
#24 compile (package:front_end/src/api_unstable/ddc.dart:131:30)
<asynchronous suspension>
#25 _compile (package:dev_compiler/src/kernel/command.dart:221:13)
<asynchronous suspension>
#26 compile (package:dev_compiler/src/kernel/command.dart:38:18)
<asynchronous suspension>
#27 compile (package:dev_compiler/src/compiler/shared_command.dart:393:12)
#28 _CompilerWorker.performRequest.<anonymous closure> (file:///b/s/w/ir/k/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:54:39)
#29 _rootRun (dart:async/zone.dart:1124:13)
#30 _CustomZone.run (dart:async/zone.dart:1021:19)
#31 _runZoned (dart:async/zone.dart:1516:10)
#32 runZoned (dart:async/zone.dart:1463:12)
#33 _CompilerWorker.performRequest (file:///b/s/w/ir/k/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:54:24)
<asynchronous suspension>
#34 AsyncWorkerLoop.run.<anonymous closure> (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#35 _rootRun (dart:async/zone.dart:1124:13)
#36 _CustomZone.run (dart:async/zone.dart:1021:19)
#37 _runZoned (dart:async/zone.dart:1516:10)
#38 runZoned (dart:async/zone.dart:1463:12)
#39 AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)
<asynchronous suspension>
#40 main (file:///b/s/w/ir/k/src/third_party/dart/pkg/dev_compiler/bin/dartdevc.dart:28:57)
<asynchronous suspension>
#41 _startIsolate.<anonymous closure> (dart:isolate/runtime/lib/isolate_patch.dart:296:32)
#42 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:171:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment