Skip to content
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

Error compiling dartdevc module:bot_toast|lib/bot_toast.ddc.js #39270

Closed
lyf571321556 opened this issue Nov 7, 2019 · 1 comment
Closed

Error compiling dartdevc module:bot_toast|lib/bot_toast.ddc.js #39270

lyf571321556 opened this issue Nov 7, 2019 · 1 comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. customer-flutter

Comments

@lyf571321556
Copy link

lyf571321556 commented Nov 7, 2019

-------------------- %< --------------------
dartdevc -k arguments: --dart-sdk-summary=/Users/admin/Library/flutter/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill --modules=amd
--no-summarize -o packages/bot_toast/bot_toast.ddc.js --source-map --summary=packages/meta/meta.ddc.dill=packages/meta/meta
--summary=packages/typed_data/typed_buffers.ddc.dill=packages/typed_data/typed_buffers
--summary=packages/flutter/src/foundation/_bitfield_web.ddc.dill=packages/flutter/src/foundation/_bitfield_web
--summary=packages/flutter/foundation.ddc.dill=packages/flutter/foundation
--summary=packages/collection/src/utils.ddc.dill=packages/collection/src/utils
--summary=packages/collection/src/algorithms.ddc.dill=packages/collection/src/algorithms
--summary=packages/collection/src/iterable_zip.ddc.dill=packages/collection/src/iterable_zip
--summary=packages/collection/src/comparators.ddc.dill=packages/collection/src/comparators
--summary=packages/collection/src/priority_queue.ddc.dill=packages/collection/src/priority_queue
--summary=packages/collection/src/canonicalized_map.ddc.dill=packages/collection/src/canonicalized_map
--summary=packages/collection/collection.ddc.dill=packages/collection/collection
--summary=packages/vector_math/hash.ddc.dill=packages/vector_math/hash
--summary=packages/vector_math/vector_math_64.ddc.dill=packages/vector_math/vector_math_64
--summary=packages/flutter/src/gestures/arena.ddc.dill=packages/flutter/src/gestures/arena
--summary=packages/flutter/gestures.ddc.dill=packages/flutter/gestures
--summary=packages/flutter/src/physics/clamped_simulation.ddc.dill=packages/flutter/src/physics/clamped_simulation
--summary=packages/flutter/physics.ddc.dill=packages/flutter/physics
--summary=packages/flutter/src/painting/_network_image_web.ddc.dill=packages/flutter/src/painting/_network_image_web
--summary=packages/flutter/painting.ddc.dill=packages/flutter/painting
--summary=packages/flutter/src/semantics/binding.ddc.dill=packages/flutter/src/semantics/binding
--summary=packages/flutter/semantics.ddc.dill=packages/flutter/semantics
--summary=packages/flutter/src/animation/animation.ddc.dill=packages/flutter/src/animation/animation
--summary=packages/flutter/animation.ddc.dill=packages/flutter/animation
--summary=packages/flutter/src/rendering/animated_size.ddc.dill=packages/flutter/src/rendering/animated_size
--summary=packages/flutter/rendering.ddc.dill=packages/flutter/rendering
--summary=packages/flutter/src/widgets/actions.ddc.dill=packages/flutter/src/widgets/actions
--summary=packages/flutter/widgets.ddc.dill=packages/flutter/widgets
--summary=packages/flutter/src/cupertino/action_sheet.ddc.dill=packages/flutter/src/cupertino/action_sheet
--summary=packages/flutter/cupertino.ddc.dill=packages/flutter/cupertino --summary=packages/flutter/material.ddc.dill=packages/flutter/material
--packages=file:///var/folders/pz/1x2346q96n77sb03s_3qvrlc0000gn/T/kernel_builder_zNBVsq/.packages --module-name=packages/bot_toast/bot_toast
--multi-root-scheme=org-dartlang-app --multi-root=. --track-widget-creation --inline-source-map
--libraries-file=file:///Users/admin/Library/flutter/bin/cache/flutter_web_sdk/libraries.json
--used-inputs-file=/var/folders/pz/1x2346q96n77sb03s_3qvrlc0000gn/T/ddk_builder_EQYWIv/used_inputs.txt package:bot_toast/src/toast.dart
package:bot_toast/src/key_board_safe_area.dart package:bot_toast/src/toast_navigator_observer.dart
package:bot_toast/src/toast_widget/notification.dart package:bot_toast/src/toast_widget/attached.dart package:bot_toast/src/basis.dart
package:bot_toast/src/toast_widget/animation.dart package:bot_toast/src/toast_widget/text.dart package:bot_toast/src/toast_widget/loading.dart
package:bot_toast/src/toast_widget/toast_widget.dart package:bot_toast/src/bot_toast_manager.dart package:bot_toast/bot_toast.dart
package:bot_toast/src/bot_toast_init.dart
dart --version: 2.6.0-dev.1.0.flutter-d6c6d12ebf (Fri Oct 4 10:11:30 2019 +0000) on "macos_x64"

FormatException: Bad UTF-8 encoding 0x8c (at offset 0)
#0 _Utf8Decoder.convert (dart:convert/utf.dart:530:13)
#1 Utf8Decoder.convert (dart:convert/utf.dart:327:13)
#2 Utf8Codec.decode (dart:convert/utf.dart:59:56)
#3 ProgramCompiler.visitAssertStatement (package:dev_compiler/src/kernel/compiler.dart:3332:32)
#4 AssertStatement.accept (package:kernel/ast.dart:4523:43)
#5 ProgramCompiler._visitStatement (package:dev_compiler/src/kernel/compiler.dart:3132:20)
#6 MappedListIterable.elementAt (dart:_internal/iterable.dart:415:29)
#7 ListIterable.toList (dart:_internal/iterable.dart:219:19)
#8 ProgramCompiler.visitBlock (package:dev_compiler/src/kernel/compiler.dart:3296:62)
#9 Block.accept (package:kernel/ast.dart:4450:43)
#10 ProgramCompiler._visitStatement (package:dev_compiler/src/kernel/compiler.dart:3132:20)
#11 ProgramCompiler._emitFunctionScopedBody (package:dev_compiler/src/kernel/compiler.dart:3143:18)
#12 ProgramCompiler._emitSyncFunctionBody. (package:dev_compiler/src/kernel/compiler.dart:2984:17)
#13 ProgramCompiler._withLetScope (package:dev_compiler/src/kernel/compiler.dart:2156:25)
#14 ProgramCompiler._withCurrentFunction (package:dev_compiler/src/kernel/compiler.dart:3018:18)
#15 ProgramCompiler._emitSyncFunctionBody (package:dev_compiler/src/kernel/compiler.dart:2980:17)
#16 ProgramCompiler._emitFunction (package:dev_compiler/src/kernel/compiler.dart:2818:18)
#17 ProgramCompiler._emitMethodDeclaration (package:dev_compiler/src/kernel/compiler.dart:1783:12)
#18 ProgramCompiler._emitClassMethods (package:dev_compiler/src/kernel/compiler.dart:1725:23)
#19 ProgramCompiler._emitClassDeclaration (package:dev_compiler/src/kernel/compiler.dart:537:21)
#20 ProgramCompiler._emitClass (package:dev_compiler/src/kernel/compiler.dart:478:21)
#21 List.forEach (dart:core-patch/growable_array.dart:283:8)
#22 ProgramCompiler._emitLibrary (package:dev_compiler/src/kernel/compiler.dart:424:23)
#23 Iterable.forEach (dart:core/iterable.dart:277:30)
#24 ProgramCompiler.emitModule (package:dev_compiler/src/kernel/compiler.dart:317:15)
#25 _compile (package:dev_compiler/src/kernel/command.dart:385:27)
#26 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#27 _rootRunUnary (dart:async/zone.dart:1132:38)
#28 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#29 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#30 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#31 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#32 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#33 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#34 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#35 IncrementalCompiler.computeDelta. (package:front_end/src/fasta/incremental_compiler.dart)
#36 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#37 _rootRunUnary (dart:async/zone.dart:1132:38)
#38 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#39 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#40 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#41 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#42 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#43 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#44 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#45 withCrashReporting (package:front_end/src/fasta/crash.dart)
#46 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#47 _rootRunUnary (dart:async/zone.dart:1132:38)
#48 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#49 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#50 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#51 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#52 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#53 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#54 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#55 KernelTarget.buildComponent. (package:front_end/src/fasta/kernel/kernel_target.dart)
#56 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#57 _rootRunUnary (dart:async/zone.dart:1132:38)
#58 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#59 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#61 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#62 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#63 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#64 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#65 Loader.buildBodies (package:front_end/src/fasta/loader.dart)
#66 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#67 _rootRunUnary (dart:async/zone.dart:1132:38)
#68 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#69 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#70 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#71 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#72 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#73 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15)
#74 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13)
#75 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart)
#76 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64)
#77 _rootRunUnary (dart:async/zone.dart:1132:38)
#78 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#79 _FutureListener.handleValue (dart:async/future_impl.dart:137:18)
#80 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45)
#81 Future._propagateToListeners (dart:async/future_impl.dart:707:32)
#82 Future._completeWithValue (dart:async/future_impl.dart:522:5)
#83 Future._asyncComplete. (dart:async/future_impl.dart:552:7)
#84 _rootRun (dart:async/zone.dart:1124:13)
#85 _CustomZone.run (dart:async/zone.dart:1021:19)
#86 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#87 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#88 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#89 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#90 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

image

@keertip keertip added area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. customer-flutter labels Nov 7, 2019
@vsmenon
Copy link
Member

vsmenon commented Nov 7, 2019

Dup of #39271

@vsmenon vsmenon closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. customer-flutter
Projects
None yet
Development

No branches or pull requests

3 participants