Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please support FreeBSD #9

Closed
yurivict opened this issue May 17, 2024 · 0 comments · Fixed by #10
Closed

Please support FreeBSD #9

yurivict opened this issue May 17, 2024 · 0 comments · Fixed by #10

Comments

@yurivict
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant