Can't compile project
Closed this issue · 3 comments
0atman commented
[...]
Compiling notify v4.0.14
Compiling devise_core v0.2.0
Compiling devise_codegen v0.2.0
Compiling serde_derive v1.0.103
Compiling diesel_derives v1.4.1
Compiling devise v0.2.0
Compiling pear v0.1.2
Compiling rocket_http v0.4.2
error: proc macro panicked
--> /home/oatman/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_http-0.4.2/src/parse/uri/parser.rs:119:34
|
119 | let path_and_query = pear_try!(path_and_query(is_pchar));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: message: called `Option::unwrap()` on a `None` value
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
error: could not compile `rocket_http`
error: build failed
0atman commented
My environment:
λ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/oatman/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
installed targets for active toolchain
--------------------------------------
thumbv6m-none-eabi
x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
active toolchain
----------------
nightly-x86_64-unknown-linux-gnu (overridden by '/home/oatman/projects/realworld-rust-rocket/rust-toolchain')
rustc 1.52.0-nightly (e37a13cc3 2021-02-28)
0atman commented
Same problem on stable
rust, 1.5.