Closed alecsavvy closed 2 years ago
This is not something I've seen before. I see you're using v0.4.14, could you try upgrading to 0.4.16?
That did seem to fix it, thanks! For anyone else who comes across this I had to patch the most recent version in.
[patch.crates-io]
log = { git = "https://github.com/rust-lang/log" }
It should also be fixed in v0.4.16 so adding log to your dependencies should also fix it:
[dependencies]
log = "0.4.16"
Sorry @alecsavvy. This is my bad. That library is an internal implementation detail of log
that I gave too loose a version bound to in previous versions.
The latest patch of log
has been out for a little while now that this should slowly become a non-issue so I'll go ahead and close this one now.
Hey! Let me know if i'm missing anything for issues or you need more details. This version of log is being pulled in from the
lib-p2p
lib and is having trouble compiling. I've tried manually updating the macro to add theInto
implementation that it requires but it does seem to already be there. Not sure how to troubleshoot this further as it seems like the macro generation just isn't occurring. That's likely not the case, just symptoms.You can see an implementation for u128 is needed:
Into<ValueBag<'_>>` for `u128
. In the macro_rules! it's clearly there so i'm not sure what's going on. (full error down below)System: Macbook Pro 14in, 2021 Apple M1 Pro chip macOS Monterey v12.2.1
It may be possible this is due to the M1 chip but i'm not sure why. It does compile just fine on my intel and ryzen machines. Just a hunch though, I have no real evidence for that claim and it's the only distinct difference I can find at the moment.
Thanks!