Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Issue with building #60

Open
jmanchuck opened this issue Jul 26, 2020 · 4 comments
Open

Issue with building #60

jmanchuck opened this issue Jul 26, 2020 · 4 comments

Comments

@jmanchuck
Copy link

jmanchuck commented Jul 26, 2020

   --> /Users/----/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_http-0.4.1/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`.

I cloned directly from the repository, installed rust and the other dependencies but ran into this error. Tried reinstalling rust and the other packages but had the same issue. Anyone know why/have the same problem?

@DhunterAO
Copy link

I met the same problem with you

@DhunterAO
Copy link

It can be fixed by running cargo update -p pear, which updates your Cargo.lock to use the latest version of Pear (which includes a bugfix for the regression).

From link: rust-lang/rust#73293

@BartMassey
Copy link

It can be fixed by running cargo update -p pear, which updates your Cargo.lock to use the latest version of Pear (which includes a bugfix for the regression).

From link: rust-lang/rust#73293

Don't forget to remove Cargo.lock after the update.

@hsccr
Copy link

hsccr commented Jan 5, 2021

디버그 라인
there are a few macros: line! 260, column! 55 and file! 125

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

No branches or pull requests

4 participants