Closed ATXLtheAxolotl closed 3 years ago
Interesting, sorry you're bumping into this!
I can reproduce it locally as well:
Compiling minecraft-protocol-derive v0.0.0
error[E0432]: unresolved import `syn::export`
--> /Users/work1pass/.cargo/registry/src/github.com-1ecc6299db9ec823/minecraft-protocol-derive-0.0.0/src/lib.rs:8:10
|
8 | 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 `minecraft-protocol-derive`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
It looks like it's updating the Cargo.lock
file prior to compiling because the Cargo.lock
file specifies futures v0.3.9
somewhere, which was yanked from crates.io. That's also updating syn
which changed in a way that breaks minecraft-protocol-derive
(a depedency I'd love to completely get rid of to begin with).
For now you can do cargo install --git https://github.com/Cldfire/mc-server-wrapper.git --locked
, which will prevent the Cargo.lock
update and allow compilation to succeed. I'll look into resolving the issue tonight.
Thanks I’ll let you know if it works
On Thu, Feb 11, 2021 at 5:02 PM Jarek Samic notifications@github.com wrote:
Interesting, sorry you're bumping into this!
I can reproduce it locally as well:
Compiling minecraft-protocol-derive v0.0.0 error[E0432]: unresolved import
syn::export
--> /Users/work1pass/.cargo/registry/src/github.com-1ecc6299db9ec823/minecraft-protocol-derive-0.0.0/src/lib.rs:8:10 | 8 | use syn::export::Span; | ^^^^^^ could not findexport
insyn
error: aborting due to previous error
For more information about this error, try
rustc --explain E0432
. error: could not compileminecraft-protocol-derive
To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish...
It looks like it's updating the Cargo.lock file prior to compiling because the Cargo.lock file specifies futures 0.3.9 somewhere, which was yanked from crates.io. That's also updating syn which changed in a way that breaks minecraft-protocol-derive (a depedency I'd love to completely get rid of to begin with).
For now you can do cargo install --git https://github.com/Cldfire/mc-server-wrapper.git --locked, which will prevent the Cargo.lock update and allow compilation to succeed. I'll look into resolving the issue tonight.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cldfire/mc-server-wrapper/issues/3#issuecomment-777821618, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYPMLZIZ4LL4P5WETD6MT3S6RHV5ANCNFSM4XPR5EBA .
Thanks It worked.
On Thu, Feb 11, 2021 at 5:03 PM IceBall Central flashtube107@gmail.com wrote:
Thanks I’ll let you know if it works
On Thu, Feb 11, 2021 at 5:02 PM Jarek Samic notifications@github.com wrote:
Interesting, sorry you're bumping into this!
I can reproduce it locally as well:
Compiling minecraft-protocol-derive v0.0.0 error[E0432]: unresolved import
syn::export
--> /Users/work1pass/.cargo/registry/src/github.com-1ecc6299db9ec823/minecraft-protocol-derive-0.0.0/src/lib.rs:8:10 | 8 | use syn::export::Span; | ^^^^^^ could not findexport
insyn
error: aborting due to previous error
For more information about this error, try
rustc --explain E0432
. error: could not compileminecraft-protocol-derive
To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish...
It looks like it's updating the Cargo.lock file prior to compiling because the Cargo.lock file specifies futures 0.3.9 somewhere, which was yanked from crates.io. That's also updating syn which changed in a way that breaks minecraft-protocol-derive (a depedency I'd love to completely get rid of to begin with).
For now you can do cargo install --git https://github.com/Cldfire/mc-server-wrapper.git --locked, which will prevent the Cargo.lock update and allow compilation to succeed. I'll look into resolving the issue tonight.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cldfire/mc-server-wrapper/issues/3#issuecomment-777821618, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYPMLZIZ4LL4P5WETD6MT3S6RHV5ANCNFSM4XPR5EBA .
All fixed now, thanks again for the report.
Please feel free to file issues for any other difficulties you run into / any feedback you have :)
Whenever I attempt to install this I've had problems I've been able to fix all of them except for one, which is whenever I attempt to install it after a while it says "could not find 'export' in syn'. If you can help that'd be great. I'm using the cargo install --git https://github.com/Cldfire/mc-server-wrapper.git method to install by the way.