Skip to content

fix(prover): private method usage - #2997

Open
RungChungo wants to merge 1 commit into
succinctlabs:mainfrom
RungChungo:sp1-prover-build-error-10-5-26
Open

RungChungo wants to merge 1 commit into
succinctlabs:mainfrom
RungChungo:sp1-prover-build-error-10-5-26

Conversation

@RungChungo

Copy link
Copy Markdown

Motivation

Failed to build sp1-prover due to

error[E0599]: no method named keep found for struct TempDir in the current scope
--> /home/***/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sp1-prover-6.8.1/src/build.rs:623:36
|
623 | let staging_path = staging_dir.keep();
| ^^^^ private field, not a method

For more information about this error, try rustc --explain E0599.
error: could not compile sp1-prover (lib) due to 1 previous error

Solution

Change staging_dir.keep() to staging_dir.path()
guessing this was a typo, but fails build

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

@RungChungo RungChungo changed the title Fix private message usage fix(prover): private message usage Oct 5, 2026
@RungChungo RungChungo changed the title fix(prover): private message usage fix(prover): private method usage Oct 5, 2026

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

1 participant