Closed regular-dev closed 11 months ago
I'm also encountering this issue. I think this may be related to ocl-core
shadowing core
.
https://github.com/rust-lang/rust/issues/90960
I found this error was caused by a breaking change of dependency thiserror
v1.0.49. commit: https://github.com/dtolnay/thiserror/commit/f0f303a7bac9e65f9a0664141f58da9b78f21927
I can temporarily solve this issue by
cargo update -p thiserror --precise 1.0.48
Maybe it's better to solve this problem in this repo? Like expand all core
to full name ocl_core
in https://github.com/cogciprocate/ocl/blob/3d0c52bfa75146a14b16c55e799825ad52f1f19e/ocl/src/lib.rs#L53C35-L53C35
I found this error was caused by a breaking change of dependency
thiserror
v1.0.49. commit: dtolnay/thiserror@f0f303aI can temporarily solve this issue by
cargo update -p thiserror --precise 1.0.48
Maybe it's better to solve this problem in this repo? Like expand all
core
to full nameocl_core
in https://github.com/cogciprocate/ocl/blob/3d0c52bfa75146a14b16c55e799825ad52f1f19e/ocl/src/lib.rs#L53C35-L53C35
Thanks for temporary solution. I am not very familar with ocl codebase, so waiting for maintainer or nice people's PR.
Fixed in 0.19.5 by setting thiserror version to 1.0.48.
We can re-alias ocl-core
at some point in the future if needed.
We can re-alias
ocl-core
at some point in the future if needed.
I think that would be a better solution. Currently we can't use any other version of thiserror in our apps when using ocl
, since there's an failed to select a version for "thiserror"
error then
Sounds good.
Do you know why this is? Seems strange that there should be a conflict like that.
@c0gent fix here: https://github.com/cogciprocate/ocl/pull/225
Hello, i tried to compile my ml library that uses ocl as dependency but got an error related ocl crate. Then i decided to build single ocl from github and got the same error log:
rustc 1.72.1 (d5c2e9c34 2023-09-13)
So I guess there is a problem from ocl crate. Three months ago everything compiled fine. Thanks!