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

error running sudo docker-compose up --detach #21

Open
HelloRWA opened this issue Sep 29, 2024 · 0 comments
Open

error running sudo docker-compose up --detach #21

HelloRWA opened this issue Sep 29, 2024 · 0 comments

Comments

@HelloRWA
Copy link

After running sudo docker-compose up --detach, it shows error:

=> CACHED [su stage-2 2/4] WORKDIR /app                                                                                                                                              0.0s
 => ERROR [su builder 4/4] RUN cargo build --release                                                                                                                                 31.4s
------
 > [su builder 4/4] RUN cargo build --release:
0.165     Updating crates.io index
5.120  Downloading crates ...
5.466   Downloaded foreign-types-shared v0.1.1
5.473   Downloaded borsh-derive v0.9.3
5.481   Downloaded alloc-stdlib v0.2.2
5.510   Downloaded borsh-schema-derive-internal v0.9.3
5.527   Downloaded futures-sink v0.3.30
.......
.......
21.49    Compiling synstructure v0.12.6
21.91    Compiling time v0.3.29
22.34    Compiling derive_more v0.99.17
22.38 error[E0282]: type annotations needed for `Box<_>`
22.38   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.29/src/format_description/parse/mod.rs:83:9
22.38    |
22.38 83 |     let items = format_items
22.38    |         ^^^^^
22.39 ...
22.39 86 |     Ok(items.into())
22.39    |              ---- type must be known at this point
22.39    |
22.39    = note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
22.39
22.49    Compiling toml_edit v0.19.15
22.97 For more information about this error, try `rustc --explain E0282`.
22.98 error: could not compile `time` (lib) due to 1 previous error
22.98 warning: build failed, waiting for other jobs to finish...
------
failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101
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
@HelloRWA and others