aw-server-rust: Getting error while building (pear macro panic)

Dependencies : Python 3.6.8 Poetry version 1.0.10 node v12.19.0 npm 6.14.8 rustc 1.47.0 (18bf6b4f0 2020-10-07) cargo 1.47.0 (f3c7e066a 2020-08-28)

Error log:

- Installing aw-server (0.9)
make[1]: Leaving directory `/mnt/newdisk/new/rwm04/activitywatch/aw-server'
make --directory=aw-server-rust build SKIP_WEBUI=
make[1]: Entering directory `/mnt/newdisk/new/rwm04/activitywatch/aw-server-rust'
cargo build --release --bin aw-server
   Compiling rocket_http v0.4.3
error: proc macro panicked
   --> /home/centos/.cargo/registry/src/github.com-1ecc6299db9ec823/rocket_http-0.4.3/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`

To learn more, run the command again with --verbose.
make[1]: *** [aw-server] Error 101
make[1]: Leaving directory `/mnt/newdisk/new/rwm04/activitywatch/aw-server-rust'
make: *** [build] Error 2

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

@mayankchauhan96 Seens like you didn’t specify -Z macro-backtrace?