0age / create2crunch

A Rust program for finding salts that create gas-efficient Ethereum addresses via CREATE2.
MIT License
472 stars 83 forks source link

Failure to resolve to core from thiserror:Error #12

Closed omnus closed 11 months ago

omnus commented 1 year ago

I'm running create2crunch on vast.ai. I've used it lots in the past over years (most recently about a month or two ago), but it's currently throwing the following errors on build:

error[E0433]: failed to resolve: could not find `fmt` in `core`
  --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ocl-0.19.4/src/standard/buffer.rs:31:17
   |
31 | #[derive(Debug, thiserror::Error)]
   |                 ^^^^^^^^^^^^^^^^ could not find `fmt` in `core`
   |
   = note: this error originates in the derive macro `thiserror::Error` (in Nightly builds, run with -Z macro-backtrace for more info)

(together with a large number of other errors, all related to thiserror:Error, all from ocl-0.19.4.

I've tried a few things so far, including:

Nothing seems to help. Any ideas?

Thank you!!

omnus commented 1 year ago

Aha! It's the thiserror version (v1.0.49) that's the problem. That came out two days ago, which is when I started seeing the issue.

Have raised this PR with a fix: https://github.com/0age/create2crunch/pull/13

omnus commented 1 year ago

(Re-opened as not really fixed here until PR merged, and other people may have the same issue and come here looking for the answer and might miss a closed issue!)