Cloning repo into: /tmp/solana-verify/55c5181b-1105-4595-96dd-9e1fdcd8454e/reward-center-program.git
Checked out commit hash: 4dee91ee12b8b65c9f0639d998cb30a8e8b6f42d
Build path: "/tmp/solana-verify/55c5181b-1105-4595-96dd-9e1fdcd8454e/reward-center-program.git/"
Verifying program: mtly_reward_center
Mounting path: /tmp/solana-verify/55c5181b-1105-4595-96dd-9e1fdcd8454e/reward-center-program.git/
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Workdir: /workdir
Building program at /workdir//program/
Building manifest path: /workdir//program/Cargo.toml
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
error: could not find `Cargo.toml` in `/workdir` or any parent directory
Finished fetching build dependencies
BPF SDK: /root/.local/share/solana/install/releases/1.13.5/solana-release/bin/sdk/bpf
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release --locked --frozen --manifest-path /workdir//program/Cargo.toml
error: failed to get `env_logger` as a dependency of package `mtly-reward-center v0.2.9 (/workdir/program)`
Caused by:
attempting to make an HTTP request, but --frozen was specified
Finished building program
Program Solana version: v1.9.29
Docker image Solana version: v1.13.5
Stopping container 70099221d5de5b3fbd249be4f44dac8b712bab34273bcaae18074402df5b3edf
Stopped container 70099221d5de5b3fbd249be4f44dac8b712bab34273bcaae18074402df5b3edf
Removing temp dir /tmp/solana-verify/55c5181b-1105-4595-96dd-9e1fdcd8454e
Removed temp dir /tmp/solana-verify/55c5181b-1105-4595-96dd-9e1fdcd8454e
Error: Error verifying program. Err(Failed to parse output)
Trying to run solana-verify build --bpf in the program directory also fails:
Mounting path: /Users/omar/src/motleylabs/reward-center-program/program
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Workdir: /workdir
Building program at /workdir/
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Updating crates.io index
error: failed to get `mpl-testing-utils` as a dependency of package `mtly-reward-center v0.2.9 (/workdir)`
Caused by:
failed to load source for dependency `mpl-testing-utils`
Caused by:
Unable to update /testing-utils
Caused by:
failed to read `/testing-utils/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Finished fetching build dependencies
Failed to obtain package metadata: `cargo metadata` exited with an error: error: failed to get `mpl-testing-utils` as a dependency of package `mtly-reward-center v0.2.9 (/workdir)`
Caused by:
failed to load source for dependency `mpl-testing-utils`
Caused by:
Unable to update /testing-utils
Caused by:
failed to read `/testing-utils/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Finished building program
Program Solana version: v1.14.17
Docker image Solana version: v1.13.5
I'm trying to verify an anchor program: mtly_reward_center
The command line I'm using:
The
solana-verify
output:Trying to run
solana-verify build --bpf
in theprogram
directory also fails:I think due to a dev dependency using a
path
:Runs successfully with output:
Thanks!