Skip to content

Demo example doesn't build #165

Closed
Closed
@kilimnik

Description

@kilimnik

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

  1. Clone the repository
  2. Edit the demo/Cargo.toml file and replace the local dependencies in lines 23 and 26 with remote dependencies
  3. Execute cargo build

Specifications

  • Version: Rust 1.48.0
  • Platform: Arch Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions