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: failed to run custom build command #6

Open
nhlita opened this issue Nov 13, 2024 · 1 comment
Open

error: failed to run custom build command #6

nhlita opened this issue Nov 13, 2024 · 1 comment

Comments

@nhlita
Copy link
Contributor

nhlita commented Nov 13, 2024

Latest changes to sp1 fibonacci seem to break benchmarking CI

error: failed to run custom build command for `fibonacci-script v0.1.0 (/home/user/lita/benchmarks/fibonacci/sp1/script)`

Caused by:
  process didn't exit successfully: `/home/user/lita/benchmarks/fibonacci/sp1/script/target/debug/build/fibonacci-script-cf901c5806bc0171/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/user/.cargo/git/checkouts/sp1-20c98843a1ffc860/ff8f482/crates/build/src/build.rs:66:69:
  called `Result::unwrap()` on an `Err` value: CargoMetadata { stderr: "    Updating git repository `https://github.com/succinctlabs/sp1.git`\n    Updating crates.io index\nerror: failed to select a version for `serde`.\n    ... required by package `sp1-lib v3.0.0 (https://github.com/succinctlabs/sp1.git?tag=v3.0.0#ff8f482c)`\n    ... which satisfies git dependency `sp1-lib` of package `sp1-zkvm v3.0.0 (https://github.com/succinctlabs/sp1.git?tag=v3.0.0#ff8f482c)`\n    ... which satisfies git dependency `sp1-zkvm` of package `fibonacci-program v0.1.0 (/home/user/lita/benchmarks/fibonacci/sp1/program)`\nversions that meet the requirements `^1.0.204` are: 1.0.215, 1.0.214, 1.0.213, 1.0.212, 1.0.211, 1.0.210, 1.0.209, 1.0.208, 1.0.207, 1.0.206, 1.0.205, 1.0.204\n\nall possible versions conflict with previously selected packages.\n\n  previously selected package `serde v1.0.201`\n    ... which satisfies dependency `serde = \"^1.0.63\"` (locked to 1.0.201) of package `bincode v1.3.3`\n    ... which satisfies dependency `bincode = \"^1.3.3\"` (locked to 1.3.3) of package `sp1-lib v3.0.0 (https://github.com/succinctlabs/sp1.git?tag=v3.0.0#ff8f482c)`\n    ... which satisfies git dependency `sp1-lib` of package `sp1-zkvm v3.0.0 (https://github.com/succinctlabs/sp1.git?tag=v3.0.0#ff8f482c)`\n    ... which satisfies git dependency `sp1-zkvm` of package `fibonacci-program v0.1.0 (/home/user/lita/benchmarks/fibonacci/sp1/program)`\n\nfailed to select a version for `serde` which could resolve this conflict\n" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

@mratsim Any ideas about this one?

@mratsim
Copy link
Contributor

mratsim commented Nov 13, 2024

It seems like a serde version conflict.

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