You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0583]: file not found for module `platform`
--> /usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/lib.rs:50:1
|
50 | mod platform;
| ^^^^^^^^^^^^^
|
= help: to create the module `platform`, create file "/usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/platform.rs" or "/usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/platform/mod.rs"
= note: if there is a `mod platform` elsewhere in the crate already, import it with `use crate::...` instead
error[E0428]: the name `platform` is defined multiple times
--> /usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/lib.rs:59:1
|
50 | mod platform;
| ------------- previous definition of the module `platform` here
...
59 | mod platform {
| ^^^^^^^^^^^^ `platform` redefined here
|
= note: `platform` must be defined only once in the type namespace of this module
error[E0412]: cannot find type `MemoryStats` in this scope
--> /usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/lib.rs:60:37
|
60 | pub fn memory_stats() -> Option<MemoryStats> {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
60 + use crate::MemoryStats;
|
error[E0425]: cannot find function `memory_stats` in module `platform`
--> /usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/lib.rs:103:15
|
103 | platform::memory_stats()
| ^^^^^^^^^^^^ not found in `platform`
error[E0565]: item in `deprecated` must be a key/value pair
--> /usr/ports/misc/rerun/work/rerun-0.5.1/cargo-crates/memory-stats-1.0.0/src/lib.rs:100:16
|
100 | deprecated("memory-stats doesn't support this platform!")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0412, E0425, E0428, E0565, E0583.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `memory-stats` (lib) due to 5 previous errors
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: