filecoin-project / replication-game

Compete on the fastest replication algorithm
http://replication-game.herokuapp.com/
Other
59 stars 8 forks source link

Issue with building #60

Open jmanchuck opened 4 years ago

jmanchuck commented 4 years ago
   --> /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 commented 4 years ago

I met the same problem with you

DhunterAO commented 4 years ago

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: https://github.com/rust-lang/rust/pull/73293

BartMassey commented 3 years ago

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 commented 3 years ago

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