Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created May 20, 2021 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexcrichton/0c8ebeec792bd72caa2f5c39423375fe to your computer and use it in GitHub Desktop.
Save alexcrichton/0c8ebeec792bd72caa2f5c39423375fe to your computer and use it in GitHub Desktop.
--- good 2021-05-20 08:57:47.000000000 -0700
+++ bad 2021-05-20 08:56:49.000000000 -0700
@@ -227,11 +227,31 @@
INFO rustc_metadata::creader resolving crate `unwind`
INFO rustc_metadata::creader resolving crate `proc_macros`
INFO rustc_metadata::creader falling back to a load
-INFO rustc_metadata::locator dylib reading metadata from: /Users/acrichton/code/wat/target/debug/deps/libproc_macros-5d137cd480dff532.dylib
-INFO rustc_metadata::creader register crate `proc_macros` (cnum = 18. private_dep = false)
-INFO rustc_metadata::creader resolving crate `proc_macros`
-INFO rustc_metadata::creader resolving crate `proc_macros`
-INFO rustc_metadata::creader resolving crate `proc_macros`
+INFO rustc_metadata::locator dylib reading metadata from: /Users/acrichton/code/wat/target/debug/deps/libwat_proc_macros-808e0433680e21a4.dylib
+INFO rustc_metadata::creader register crate `wat_proc_macros` (cnum = 18. private_dep = false)
INFO rustc_metadata::creader resolving crate `proc_macros`
+INFO rustc_metadata::creader falling back to a load
+INFO rustc_metadata::locator dylib reading metadata from: /Users/acrichton/code/wat/target/debug/deps/libwat_proc_macros-808e0433680e21a4.dylib
INFO rustc_metadata::creader resolving crate `proc_macros`
-INFO rustc_metadata::creader panic runtime injection skipped, only generating rlib
+INFO rustc_metadata::creader falling back to a load
+INFO rustc_metadata::locator dylib reading metadata from: /Users/acrichton/code/wat/target/debug/deps/libwat_proc_macros-808e0433680e21a4.dylib
+thread 'rustc' panicked at 'Failed to get crate data for crate19', compiler/rustc_metadata/src/creader.rs:136:32
+note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
+
+error: internal compiler error: unexpected panic
+
+note: the compiler unexpectedly panicked. this is a bug.
+
+note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md
+
+note: rustc 1.52.0 (88f19c6da 2021-05-03) running on x86_64-apple-darwin
+
+note: compiler flags: -C embed-bitcode=no -C debuginfo=2 --crate-type lib
+
+note: some of the compiler flags provided by cargo are hidden
+
+query stack during panic:
+end of query stack
+error: could not compile `wat`
+
+To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment