rudiments
rudiments copied to clipboard
install fails on raspberrypi
Just tried to install on raspberrypi and got the following error:
$ cargo install rudiments
Updating crates.io index
Downloaded rudiments v0.1.1
Downloaded 1 crate (855.8 KB) in 1.84s
Installing rudiments v0.1.1
Downloaded funty v1.1.0
Downloaded byteorder v1.4.3
Downloaded minimal-lexical v0.2.1
Downloaded lewton v0.10.2
Downloaded hound v3.5.0
Downloaded wyz v0.2.0
Downloaded nom v7.1.1
Downloaded ogg v0.8.0
Downloaded minimp3 v0.3.5
Downloaded bitvec v0.18.5
Downloaded claxon v0.4.3
Downloaded slice-deque v0.3.0
Downloaded radium v0.3.0
Downloaded minimp3-sys v0.3.2
Downloaded cpal v0.11.0
Downloaded alsa-sys v0.1.2
Downloaded rodio v0.11.0
Downloaded 17 crates (8.0 MB) in 3.48s (largest was `rodio` at 7.1 MB)
Compiling libc v0.2.135
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.47
Compiling unicode-ident v1.0.5
Compiling quote v1.0.21
Compiling syn v1.0.102
Compiling pkg-config v0.3.25
Compiling cc v1.0.73
Compiling thiserror v1.0.37
Compiling cpal v0.11.0
Compiling tinyvec_macros v0.1.0
Compiling memchr v2.5.0
Compiling byteorder v1.4.3
Compiling lazy_static v1.4.0
Compiling hashbrown v0.12.3
Compiling os_str_bytes v6.3.0
Compiling hound v3.5.0
Compiling bitflags v1.3.2
Compiling claxon v0.4.3
Compiling textwrap v0.15.1
Compiling radium v0.3.0
Compiling strsim v0.10.0
Compiling wyz v0.2.0
Compiling minimal-lexical v0.2.1
Compiling termcolor v1.1.3
Compiling funty v1.1.0
Compiling num-traits v0.2.15
Compiling indexmap v1.9.1
Compiling tinyvec v1.6.0
Compiling alsa-sys v0.1.2
Compiling ogg v0.8.0
Compiling clap_lex v0.2.4
Compiling minimp3-sys v0.3.2
Compiling bitvec v0.18.5
Compiling lewton v0.10.2
Compiling nom v7.1.1
Compiling slice-deque v0.3.0
Compiling atty v0.2.14
Compiling clap v3.2.22
Compiling minimp3 v0.3.5
Compiling thiserror-impl v1.0.37
Compiling rodio v0.11.0
Compiling rudiments v0.1.1
error: cannot find derive macro `Parser` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:169:10
|
169 | #[derive(Parser, Debug)]
| ^^^^^^
|
note: `Parser` is imported here, but it is only a trait, without a derive macro
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:158:5
|
158 | use clap::Parser;
| ^^^^^^^^^^^^
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:170:3
|
170 | #[clap(version = "0.1.1")]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:173:7
|
173 | #[clap(short, long, value_name = "NUMBER", default_value = "120")]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:177:7
|
177 | #[clap(short, long, value_name = "FILE")]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:181:7
|
181 | #[clap(short, long, value_name = "FILE")]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:185:7
|
185 | #[clap(short, long, value_name = "DIRECTORY")]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:189:7
|
189 | #[clap(short, long)]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error[E0599]: no function or associated item named `parse` found for struct `Opts` in the current scope
--> /home/pi/.cargo/registry/src/github.com-1285ae84e5963aae/rudiments-0.1.1/src/main.rs:194:28
|
171 | struct Opts {
| ----------- function or associated item `parse` not found for this struct
...
194 | let opts: Opts = Opts::parse();
| ^^^^^ function or associated item not found in `Opts`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `parse`, perhaps you need to implement one of them:
candidate #1: `instrumentation::nom::Parser`
candidate #2: `Tuple`
candidate #3: `StructOpt`
candidate #4: `TypedValueParser`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `rudiments` due to 8 previous errors
error: failed to compile `rudiments v0.1.1`, intermediate artifacts can be found at `/tmp/cargo-installVcoA5C`