globe icon indicating copy to clipboard operation
globe copied to clipboard

Error E0599.

Open Achaean opened this issue 1 year ago • 2 comments

Can't be compiled. Aborts with error E0599. At PCLinux with Rust v.1.62.1.

Here's console's output:

>
.
.
.
error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:54:18
|
54 |                 .about("Interactive mode (input enabled)"),
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:61:18
|
61 |                 .about("Screensaver mode (input disabled)"),
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:67:18
|
67 |                 .about("Refresh rate in frames per second")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:76:18
|
76 |                 .about("Starting globe rotation speed")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:85:18
|
85 |                 .about("Starting camera rotation speed")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:94:18
|
94 |                 .about("Starting camera zoom")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:103:18
|
103 |                 .about("Target focusing animation speed")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:112:18
|
112 |                 .about("Starting location coordinates")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:121:18
|
121 |                 .about("Enable displaying the night side of the globe"),
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:127:18
|
127 |                 .about("Display a built-in globe template")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:136:18
|
136 |                 .about("Apply custom texture from file")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:143:18
|
143 |                 .about("Apply custom night side texture from file")
|                  ^^^^^ method not found in `Arg<'_>`

error[E0599]: no method named `about` found for struct `Arg` in the current scope
--> /home/giorgos/.cargo/registry/src/github.com-1ecc6299db9ec823/globe-cli-0.2.0/src/main.rs:151:18
|
151 |                 .about("Read coordinates from stdin and display them on the globe"),
|                  ^^^^^ method not found in `Arg<'_>`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `globe-cli` due to 13 previous errors
error: failed to compile `globe-cli v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installuZ1iAV`
>

Achaean avatar Jul 24 '22 18:07 Achaean

If it's of any use, I'm attaching the above mentioned logs (/tmp/cargo-installuZ1iAV).

release.zip

Achaean avatar Jul 24 '22 21:07 Achaean

@adamsky Can this be fixed?

yurivict avatar Jan 14 '23 07:01 yurivict

Fixed with https://github.com/adamsky/globe/commit/4f61644e380c835e392d0ee56171e96411d5ecf1.

adamsky avatar Apr 08 '24 16:04 adamsky