Skip to content

environment variable CARGO_CRATE_NAME not defined with dep opentelemetry-surf #158

@bbigras

Description

@bbigras
[dependencies]
opentelemetry-surf = { git = "https://github.com/asaaki/opentelemetry-surf", branch = "main" }
builder for '/nix/store/601g5y6hd9wkz84csgp5915walkgv7ng-rust_opentelemetry-surf-0.1.1.drv' failed with exit code 1; last 10 log lines:
  error: environment variable `CARGO_CRATE_NAME` not defined
    --> src/lib.rs:51:26
     |
  51 | const CRATE_NAME: &str = env!("CARGO_CRATE_NAME");
     |                          ^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions