b-r-u / osmpbf

A Rust library for reading the OpenStreetMap PBF file format (*.osm.pbf).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust nightly ICE

b-r-u opened this issue · comments

rustc 1.52.0-nightly (d6eaea1c8 2021-03-14) running on x86_64-pc-windows-msvc panics with 'found unstable fingerprints for extern_mod_stmt_cnum(count[1edd]::osmpbf).

Seems to be this issue: rust-lang/rust#83126

The full log can be found here:
https://ci.appveyor.com/project/b-r-u/osmpbf/build/job/0elg7hvs0nq7s0w6

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-nightly (d6eaea1c8 2021-03-14) running on x86_64-pc-windows-msvc
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [extern_mod_stmt_cnum] computing crate imported by `osmpbf`
#1 [check_mod_unstable_api_usage] checking for unstable API usage in top-level module
end of query stack
thread 'rustc' panicked at 'found unstable fingerprints for extern_mod_stmt_cnum(count[1edd]::osmpbf)', /rustc/d6eaea1c8860adb5302d2fbaad409e36585ab217\compiler\rustc_query_system\src\query\plumbing.rs:593:5
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-nightly (d6eaea1c8 2021-03-14) running on x86_64-pc-windows-msvc
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [extern_mod_stmt_cnum] computing crate imported by `osmpbf`
#1 [check_mod_unstable_api_usage] checking for unstable API usage in top-level module
end of query stack
error: could not compile `osmpbf`

Caused by:
  process didn't exit successfully: `rustc --crate-name indexed examples\indexed.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=56058db3c52c3ae5 --out-dir C:\projects\osmpbf\target\debug\examples -C incremental=C:\projects\osmpbf\target\debug\incremental -L dependency=C:\projects\osmpbf\target\debug\deps --extern byteorder=C:\projects\osmpbf\target\debug\deps\libbyteorder-6ecf483c5c714465.rlib --extern inflate=C:\projects\osmpbf\target\debug\deps\libinflate-73859f0fe5de9326.rlib --extern memmap=C:\projects\osmpbf\target\debug\deps\libmemmap-23604619cecb7fc7.rlib --extern osmpbf=C:\projects\osmpbf\target\debug\deps\libosmpbf-f6b82419abeedea3.rlib --extern protobuf=C:\projects\osmpbf\target\debug\deps\libprotobuf-414c583f4e07b618.rlib --extern rayon=C:\projects\osmpbf\target\debug\deps\librayon-be4ad62243ab4f26.rlib` (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: build failed
Command exited with code 101