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

error[E0046]: not all trait items implemented, missing: change_time #374

Open
davehorner opened this issue Nov 16, 2024 · 2 comments
Open

Comments

@davehorner
Copy link

lunatic-solutions/lunatic#227

I get the following when trying to install cap-primitives on win10 x64 on the latest stable rust.

error[E0046]: not all trait items implemented, missing: `change_time`
   --> C:\Users\x\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cap-primitives-1.0.15\src\windows\fs\metadata_ext.rs:153:1
    |
153 | impl std::os::windows::fs::MetadataExt for MetadataExt {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `change_time` in implementation
    |
    = help: implement the missing item: `fn change_time(&self) -> Option<u64> { todo!() }`
@sunfishcode
Copy link
Member

I've now released cap-std 2.0.2, which I expect fixes this for 2.x users. From the error message, it appear you're using cap-std 1.x. I have started to look into backporting the fixes to 1.x, but it's non-trivial because of cap-std 1.x's MSRV of 1.56.

@davehorner
Copy link
Author

let me know when 1.x fix happens and I will validate. thank you much appreciated.

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

2 participants