Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix efferent broken dependency with failure v1.0.6 manifesting in vscode dev containers #84

Closed
darach opened this issue Mar 5, 2020 · 0 comments · Fixed by #85
Closed
Labels
bug Something isn't working

Comments

@darach
Copy link
Member

darach commented Mar 5, 2020

Problem

Cargo fails to build in a vscode dev container:

   Compiling ahash v0.2.18
error[E0433]: failed to resolve: could not find `__rt` in `quote`
   --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.6/src/lib.rs:107:70
    |
107 | fn display_body(s: &synstructure::Structure) -> Result<Option<quote::__rt::TokenStream>, Error> {
    |                                                                      ^^^^ could not find `__rt` in `quote`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.

This is a known bug with the failure crate v1.0.6:

rust-lang-deprecated/failure#342

Steps

  1. Create a dev container instance in vscode
  2. Run cargo build
  3. The build fails with the above error

Possible Solution(s)

Pin the quote crate to v1.0.2

Notes

Output of rustup --version:

rustup 1.21.1 (7832b2ebe 2019-12-20)

Output of rustup show:

active toolchain
----------------

stable-x86_64-apple-darwin (default)
rustc 1.41.0 (5e1a79984 2020-01-27)

Output of tremor-server --version:

Does not build due to cargo build error in this issue

@darach darach added the bug Something isn't working label Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant