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

hartex-reflect Usage on Linux Systems #2549

Open
HTGAzureX1212 opened this issue Mar 2, 2025 · 0 comments
Open

hartex-reflect Usage on Linux Systems #2549

HTGAzureX1212 opened this issue Mar 2, 2025 · 0 comments

Comments

@HTGAzureX1212
Copy link
Member

HTGAzureX1212 commented Mar 2, 2025

Currently, there seems to be some issues with the time crate when used with hartex-reflect on Linux systems (the following copied from CI):

  error[E0433]: failed to resolve: could not find `format_description` in `time`
    --> /home/runner/.cargo/git/checkouts/twilight-2be8c306df460cc0/dcadfb5/twilight-model/src/util/datetime/mod.rs:53:12
     |
  53 | use time::{format_description::well_known::Rfc3339, OffsetDateTime, PrimitiveDateTime};
     |            ^^^^^^^^^^^^^^^^^^ could not find `format_description` in `time`

  error[E0432]: unresolved import `time::error`
    --> /home/runner/.cargo/git/checkouts/twilight-2be8c306df460cc0/dcadfb5/twilight-model/src/util/datetime/error.rs:11:11
     |
  11 | use time::error::{ComponentRange as ComponentRangeError, Parse as ParseError};
     |           ^^^^^ could not find `error` in `time`

  error[E0432]: unresolved imports `time::OffsetDateTime`, `time::PrimitiveDateTime`
    --> /home/runner/.cargo/git/checkouts/twilight-2be8c306df460cc0/dcadfb5/twilight-model/src/util/datetime/mod.rs:53:53
     |
  53 | use time::{format_description::well_known::Rfc3339, OffsetDateTime, PrimitiveDateTime};
     |                                                     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^ no `PrimitiveDateTime` in the root
     |                                                     |
     |                                                     no `OffsetDateTime` in the root

  error: aborting due to 3 previous errors

However, I cannot reproduce the same issue on Windows and macOS. Given that I do not have a Linux machine lying around, it would be great if someone could look into this.

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

No branches or pull requests

1 participant