Hi
I tried to install tuisky with rustc 1.82. But, I got this error message:
error[E0433]: failed to resolve: could not find unix in os
--> C:\Users\dtant.cargo\registry\src\index.crates.io-6f17d22bba15001f\tuisky-0.1.4\src\components\modals\embed_images.rs:12:14
12
use std::os::unix::fs::MetadataExt;
^^^^ could not find unix in os
note: found an item that was configured out
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:27:9
note: the item is gated here
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:19:1
note: found an item that was configured out
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:65:9
note: the item is gated here
--> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:64:1
error[E0599]: no method named size found for struct std::fs::Metadata in the current scope
--> C:\Users\dtant.cargo\registry\src\index.crates.io-6f17d22bba15001f\tuisky-0.1.4\src\components\modals\embed_images.rs:93:33
|
93 | && metadata.size() <= 1_000_000
| ^^^^ method not found in Metadata
Some errors have detailed explanations: E0433, E0599.
For more information about an error, try rustc --explain E0433.
error: could not compile tuisky (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile tuisky v0.1.4, intermediate artifacts can be found at C:\Users\dtant\AppData\Local\Temp\cargo-installJLwa4V.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
What do you think?
Hi I tried to install tuisky with rustc 1.82. But, I got this error message:
unix
inos
--> C:\Users\dtant.cargo\registry\src\index.crates.io-6f17d22bba15001f\tuisky-0.1.4\src\components\modals\embed_images.rs:12:14unix
inos
note: found an item that was configured out --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:27:9 note: the item is gated here --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:19:1 note: found an item that was configured out --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:65:9 note: the item is gated here --> /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14\library\std\src\os\mod.rs:64:1
error[E0599]: no method named
size
found for structstd::fs::Metadata
in the current scope --> C:\Users\dtant.cargo\registry\src\index.crates.io-6f17d22bba15001f\tuisky-0.1.4\src\components\modals\embed_images.rs:93:33 | 93 | && metadata.size() <= 1_000_000 | ^^^^ method not found inMetadata
Some errors have detailed explanations: E0433, E0599. For more information about an error, try
rustc --explain E0433
. error: could not compiletuisky
(lib) due to 2 previous errors warning: build failed, waiting for other jobs to finish... error: failed to compiletuisky v0.1.4
, intermediate artifacts can be found atC:\Users\dtant\AppData\Local\Temp\cargo-installJLwa4V
. To reuse those artifacts with a future compilation, set the environment variableCARGO_TARGET_DIR
to that path. What do you think?