failed to compile `lule v0.1.0 (/home/user/lule)`
Albert-aka-Albot opened this issue · 0 comments
Compiling lule v0.1.0 (/home/user/lule)
error[E0433]: failed to resolve: could not find HEX
in pastel
--> src/gen/write.rs:67:44
|
67 | ... pastel::HEX::from(color).to_string());
| ^^^ could not find HEX
in pastel
error[E0599]: no function or associated item named from_hex
found for struct pastel::Color
in the current scope
--> src/cli/test.rs:45:81
|
45 | ...|x| pastel::Color::from_hex(&x)).collect();
| ^^^^^^^^
| |
| function or associated item not found in Color
| help: there is an associated function with a similar name: from_hsl
error[E0599]: no function or associated item named from_hex
found for struct pastel::Color
in the current scope
--> src/gen/palette.rs:32:36
|
32 | colors.push(pastel::Color::from_hex(&line));
| ^^^^^^^^
| |
| function or associated item not found in Color
| help: there is an associated function with a similar name: from_hsl
error[E0599]: no function or associated item named from_hex
found for struct pastel::Color
in the current scope
--> src/gen/generate.rs:104:41
|
104 | palette.push(pastel::Color::from_hex(c));
| ^^^^^^^^
| |
| function or associated item not found in Color
| help: there is an associated function with a similar name: from_hsl
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433
.
error: could not compile lule
(bin "lule") due to 4 previous errors
error: failed to compile lule v0.1.0 (/home/user/lule)
, intermediate artifacts can be found at /home/user/lule/target
.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR
to that path.