Skip to content

release the new packages #136

@vincenzopalazzo

Description

@vincenzopalazzo

We should release the new packages otherwise I keep receiving the following error

cargo build
   Compiling clightningrpc-plugin v0.3.0-beta.8
   Compiling clightningrpc-plugin-macros v0.3.0-beta.4
   Compiling opentelemetry-plugin v0.1.0 (/home/vincent/gittea/work/cln-opentelemetry/opentelemetry-plugin)
error[E0308]: mismatched types
  --> opentelemetry-plugin/src/plugin.rs:58:13
   |
58 |         let Some(log_url) = plugin.get_opt::<String>("collect-log-url") else {
   |             ^^^^^^^^^^^^^   ------------------------------------------- this expression has type `Result<std::string::String, PluginError>`
   |             |
   |             expected `Result<String, PluginError>`, found `Option<_>`
   |
   = note: expected enum `Result<std::string::String, PluginError>`
              found enum `std::option::Option<_>`

error[E0308]: mismatched types
  --> opentelemetry-plugin/src/plugin.rs:69:13
   |
69 |         let Some(log_prefix) = plugin.get_opt::<String>("collect-tag") else {
   |             ^^^^^^^^^^^^^^^^   --------------------------------------- this expression has type `Result<std::string::String, PluginError>`
   |             |
   |             expected `Result<String, PluginError>`, found `Option<_>`
   |
   = note: expected enum `Result<std::string::String, PluginError>`
              found enum `std::option::Option<_>`

error[E0277]: the size for values of type `str` cannot be known at compilation time
  --> opentelemetry-plugin/src/plugin.rs:69:18
   |
69 |         let Some(log_prefix) = plugin.get_opt::<String>("collect-tag") else {
   |                  ^^^^^^^^^^ doesn't have a size known at compile-time
   |
   = help: the trait `Sized` is not implemented for `str`
   = note: all local variables must have a statically known size
   = help: unsized locals are gated as an unstable feature

error[E0277]: the size for values of type `str` cannot be known at compilation time
   --> opentelemetry-plugin/src/plugin.rs:69:13
    |
69  |         let Some(log_prefix) = plugin.get_opt::<String>("collect-tag") else {
    |             ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
    |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions