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

cargo: command not found #76

Open
syatihoko opened this issue Mar 16, 2023 · 1 comment
Open

cargo: command not found #76

syatihoko opened this issue Mar 16, 2023 · 1 comment

Comments

@syatihoko
Copy link

syatihoko commented Mar 16, 2023

Now i use Dokcer.

Can you advise or share your experience. Should I use it in Docker or is it better native?
Сan you tell me if it's worth using "async" (was it used in Avito)?
And which load balancer was used in cluster Bioyino, Haproxy for UDP?

I try compile, but recieve error: cargo: command not found

Found a solution: curl https://sh.rustup.rs -sSf | sh -s -- -y
[solution](https://github.com/paritytech/substrate/issues/1070)

Not sure, got a new error:

[error: cannot find macro `error` in this scope
   --> src/util.rs:182:13
    |
182 |             error!(log, "leader state change: {} -> {}", is_leader, acquired);
    |             ^^^^^
    |
    = help: consider importing one of these items:
            crate::error
            log::error
            slog::error
            slog_scope::error

warning: unused import: `warn`
  --> src/util.rs:12:15
   |
12 | use slog::{o, warn, Drain, Logger};
   |               ^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `bioyino` (bin "bioyino") generated 1 warning
error: could not compile `bioyino` due to previous error; 1 warning emitted
Build error](url)

Maybe I need some specific distribution
I nave Ubuntu 18.04

@syatihoko syatihoko changed the title When multimessage error cargo: command not found Mar 16, 2023
@syatihoko
Copy link
Author

syatihoko commented Mar 16, 2023

Find what need for compile:
warn => error (12 string util.rs)

@syatihoko syatihoko reopened this Mar 17, 2023
@syatihoko syatihoko reopened this Dec 4, 2023
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

1 participant