Closed
Description
Expected Behavior
I tried to build the demo example. If I just clone the repository everything works.
I would expect the same behavior when using the remote dependencies instead of the local ones.
Actual Behavior
The build crashes with the following error message
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseError(MacroParseFail(Parsing(Error("expected identifier"))))', demo/build.rs:20:63
stack backtrace:
0: rust_begin_unwind
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/std/src/panicking.rs:483
1: core::panicking::panic_fmt
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/panicking.rs:85
2: core::option::expect_none_failed
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/option.rs:1234
3: core::result::Result<T,E>::unwrap
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/result.rs:973
4: build_script_build::main
at ./build.rs:20
5: core::ops::function::FnOnce::call_once
at /rustc/7eac88abb2e57e752f3302f02be5f3ce3d7adfb4/library/core/src/ops/function.rs:227
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Steps to Reproduce the Problem
- Clone the repository
- Edit the
demo/Cargo.toml
file and replace the local dependencies in lines 23 and 26 with remote dependencies - Execute
cargo build
Specifications
- Version: Rust 1.48.0
- Platform: Arch Linux
Metadata
Metadata
Assignees
Labels
No labels