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

Build fails with mismatched types #45

Open
karlb opened this issue Oct 31, 2024 · 1 comment
Open

Build fails with mismatched types #45

karlb opened this issue Oct 31, 2024 · 1 comment

Comments

@karlb
Copy link

karlb commented Oct 31, 2024

cargo build --release fails with the following error (and a longer list of warnings, see attached log):

error[E0308]: mismatched types
   --> src/util/logins.rs:131:41
    |
131 |                     time: parse_timeval(&record.ut_tv),
    |                           ------------- ^^^^^^^^^^^^^ expected `&timeval`, found `&__timeval`
    |                           |
    |                           arguments to this function are incorrect
    |
    = note: expected reference `&timeval`
               found reference `&__timeval`
note: function defined here
   --> src/util/logins.rs:94:4

Additional information:
build.log

> rustc --version
rustc 1.82.0 (f6e511eec 2024-10-15)
> uname -a
Linux x13k 6.10.6+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1~bpo12+1 (2024-08-26) x86_64 GNU/Linux
@karlb
Copy link
Author

karlb commented Oct 31, 2024

I just noticed that this is a duplicate of the closed issue #42. I'll keep this open to make it easier for others to find until it is fixed.

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