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

Possible beta to nightly regression (from #65022

Closed
cpcloud opened this issue Oct 2, 2019 · 3 comments
Closed

Possible beta to nightly regression (from #65022

cpcloud opened this issue Oct 2, 2019 · 3 comments

Comments

@cpcloud
Copy link

cpcloud commented Oct 2, 2019

Possible regression from beta-1.39 to nightly-1.40, exposed by tonic

I tried this code (using the rust nix overlay):

$ cd tonic
$ nix-shell -p latest.rustChannels.nightly.rust rls cargo openssl pkg-config
$ cargo build

I expected to see this happen: a successful build

Instead, this happened: a build error

Meta

rustc --version --verbose:

$ rustc --version --verbose                                                                      101 ↵
rustc 1.40.0-nightly (702b45e40 2019-10-01)
binary: rustc
commit-hash: 702b45e409495a41afcccbe87a251a692b0cefab
commit-date: 2019-10-01
host: x86_64-unknown-linux-gnu
release: 1.40.0-nightly
LLVM version: 9.0

Backtrace:

$ cargo build
   Compiling serde_json v1.0.40
   Compiling prost-build v0.5.0
   Compiling tonic v0.1.0-alpha.1 (/home/cloud/Documents/code/rust/tonic/tonic)
error: internal compiler error: src/librustc/ich/impls_ty.rs:100: StableHasher: unexpected region '_#0r

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:912:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports

note: rustc 1.40.0-nightly (702b45e40 2019-10-01) running on x86_64-unknown-linux-gnu

note: compiler flags: -C debuginfo=2 -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: aborting due to previous error

error: could not compile `tonic`.
warning: build failed, waiting for other jobs to finish...
error: build failed
@mati865
Copy link
Contributor

mati865 commented Oct 2, 2019

Duplicate of #64964

1 similar comment
@nagisa
Copy link
Member

nagisa commented Oct 2, 2019

Duplicate of #64964

@nagisa nagisa marked this as a duplicate of #64964 Oct 2, 2019
@nagisa nagisa closed this as completed Oct 2, 2019
@cpcloud
Copy link
Author

cpcloud commented Oct 2, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants