You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying building a test project with dependencies (code, and so on) that were mentioned in PR#2 for lapin-futures-tls crate, but instead of getting a successfully compiled code, I'm receiving the following error:
Compiling coco v0.1.1
Compiling num-integer v0.1.35
Compiling unreachable v1.0.0
Compiling tokio-timer v0.1.2
Compiling base64 v0.6.0
Compiling idna v0.1.4
Compiling bytes v0.4.6
Compiling abstract-ns v0.4.2
error[E0277]: the trait bound `std::sync::Arc<str>: std::convert::From<&str>` is not satisfied
--> /Users/savicvalera/.cargo/registry/src/gb.xjqchip.workers.dev-1ecc6299db9ec823/abstract-ns-0.4.2/src/name.rs:67:23
|
67 | Ok(Name(value.into()))
| ^^^^ the trait `std::convert::From<&str>` is not implemented for `std::sync::Arc<str>`
|
= help: the following implementations were found:
<std::sync::Arc<T> as std::convert::From<T>>
= note: required because of the requirements on the impl of `std::convert::Into<std::sync::Arc<str>>` for `&str`
error: aborting due to previous error
error: Could not compile `abstract-ns`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Do you have any ideas how to fix this issue? I'd tried to clean up cargo caches and indices, but it wasn't helped.
The text was updated successfully, but these errors were encountered:
Relrin
changed the title
An attempt to convert std::sync::Arc<str> from std::convert::From<&str>
An attempt to convert into std::sync::Arc<str> from std::convert::From<&str>
Jan 10, 2018
Hello!
I'm trying building a test project with dependencies (code, and so on) that were mentioned in PR#2 for lapin-futures-tls crate, but instead of getting a successfully compiled code, I'm receiving the following error:
Do you have any ideas how to fix this issue? I'd tried to clean up cargo caches and indices, but it wasn't helped.
The text was updated successfully, but these errors were encountered: