oppiliappan/dijo

The build for this broke, due to external crate change.

assarbad opened this issue · 2 comments

Please check this ticket for some details. From what it looks like, dijo is also affected by this.

The claim is that this commit broke it.

It surfaces as follows (vanilla cargo install dijo):

error[E0432]: unresolved import `syn::export`
  --> /home/oliver/.cargo/registry/src/github.com-1ecc6299db9ec823/enumset_derive-0.5.0/src/lib.rs:10:10
   |
10 | use syn::export::Span;
   |          ^^^^^^ could not find `export` in `syn`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `enumset_derive`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dijo v0.2.3`, intermediate artifacts can be found at `/tmp/cargo-installktPB8y`

Caused by:
  build failed

This pull request is said to work around the issue by pinning the syn crate to version:

syn = "=1.0.57"

Best regards and thanks for your program.

Thanks for the heads up! dijo does not directly depend on syn however, I'll have to dig into this.

This issue should be fixed on master, I'll draft a release to fix this on crates.io as well.

Edit: this should be fixed on v0.2.4 of dijo.