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

image build error #6

Open
LHolst opened this issue Jan 11, 2019 · 2 comments
Open

image build error #6

LHolst opened this issue Jan 11, 2019 · 2 comments

Comments

@LHolst
Copy link

LHolst commented Jan 11, 2019

when i run docker build -t whitebox-tools . i am getting these errors

error[E0658]: `crate` in paths is experimental (see issue #45477)
  --> src/main.rs:44:5
   |
44 | use crate::tools::ToolManager;
   |     ^^^^^

error: aborting due to 1545 previous errors

Some errors occurred: E0412, E0425, E0432, E0433, E0658.
For more information about an error, try `rustc --explain E0412`.
error: Could not compile `whitebox_tools`.

To learn more, run the command again with --verbose.
The command '/bin/sh -c git clone https://github.com/jblindsay/whitebox-tools.git ${APP_HOME}/whitebox &&     cd ${APP_HOME}/whitebox &&     cargo build --release &&     mv target/release/whitebox_tools /usr/local/bin' returned a non-zero code: 101
@LHolst
Copy link
Author

LHolst commented Jan 11, 2019

changes in Dockerfile

-FROM rust:1.26.2-slim-stretch
+FROM rust:1.31.1-slim-stretch

solved the issue and builds whitebox_tools v0.13.0 just fine

@wchatx
Copy link
Contributor

wchatx commented Jan 11, 2019

@LHolst thanks for the heads up! for reference, when I started the project, whitebox-tools didn't have any releases. I see that's changed now so I'll tie this to the upstream tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants