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

Install does not work #24

Closed
theaupoulat opened this issue Apr 13, 2022 · 2 comments
Closed

Install does not work #24

theaupoulat opened this issue Apr 13, 2022 · 2 comments

Comments

@theaupoulat
Copy link

theaupoulat commented Apr 13, 2022

Hey, I ran into this issue while installing the cli.

Running cargo install bore-cli gives the following error :

error: there is no argument named `message`
  --> /Users/theaupoulat/.cargo/registry/src/github.com-1ecc6299db9ec823/bore-cli-0.2.3/src/client.rs:47:73
   |
47 |             Some(ServerMessage::Error(message)) => bail!("server error: {message}"),
   |                                                                         ^^^^^^^^^

error: there is no argument named `to`
  --> /Users/theaupoulat/.cargo/registry/src/github.com-1ecc6299db9ec823/bore-cli-0.2.3/src/client.rs:55:29
   |
55 |         info!("listening at {to}:{remote_port}");
   |                             ^^^^

error: there is no argument named `remote_port`
  --> /Users/theaupoulat/.cargo/registry/src/github.com-1ecc6299db9ec823/bore-cli-0.2.3/src/client.rs:55:34
   |
55 |         info!("listening at {to}:{remote_port}");
   |                                  ^^^^^^^^^^^^^

error: there is no argument named `to`
   --> /Users/theaupoulat/.cargo/registry/src/github.com-1ecc6299db9ec823/bore-cli-0.2.3/src/client.rs:120:52
    |
120 |     .with_context(|| format!("could not connect to {to}:{port}"))
    |                                                    ^^^^

error: there is no argument named `port`
   --> /Users/theaupoulat/.cargo/registry/src/github.com-1ecc6299db9ec823/bore-cli-0.2.3/src/client.rs:120:57
    |
120 |     .with_context(|| format!("could not connect to {to}:{port}"))
    |                                                         ^^^^^^

error: could not compile `bore-cli` due to 5 previous errors
warning: build failed, waiting for other jobs to finish...
         Building [=======================> ] 109/111: tokio                                                       error: failed to compile `bore-cli v0.2.3`, intermediate artifacts can be found at `/var/folders/bs/_r3q6dsd6wq0d9fbw1t8pk_r0000gn/T/cargo-installwSAvMU`

Caused by:
  build failed

Running it on macOS Monterey v12.1

@ekzhang
Copy link
Owner

ekzhang commented Apr 13, 2022

Duplicate of #7 — please update your Rust version! :)

@ekzhang ekzhang closed this as completed Apr 13, 2022
@theaupoulat
Copy link
Author

Thanks @ekzhang 😍

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