pub struct VerificationResult {
pub success: bool,
pub local_hash: BinaryHashResult,
pub remote_hash: BinaryHashResult,
pub local_build_ms: u64,
pub rsync_up_ms: u64,
pub compilation_ms: u64,
pub rsync_down_ms: u64,
pub total_ms: u64,
pub error: Option<String>,
pub test_marker: String,
pub verdict: String,
}Expand description
Result of a remote compilation verification test.
Fields§
§success: boolWhether the verification succeeded (hashes match).
local_hash: BinaryHashResultHash result from local build.
remote_hash: BinaryHashResultHash result from remote build.
local_build_ms: u64Time spent on local compilation in milliseconds.
rsync_up_ms: u64Time spent on rsync upload in milliseconds.
compilation_ms: u64Time spent on remote compilation in milliseconds.
rsync_down_ms: u64Time spent on rsync download in milliseconds.
total_ms: u64Total time for the entire verification in milliseconds.
error: Option<String>Error message if verification failed.
test_marker: StringThe test marker ID that was embedded in the binary.
verdict: StringThe canary verdict token (bd-784xt): reproduced (byte-equivalent),
toolchain_drift (bytes differ but the worker is healthy — advisory PASS),
miscompile (same-toolchain byte mismatch — FAIL), or missing_marker
(the build is corrupt / not ours — FAIL). Self::success is true for the
first two. See crate::binary_hash::CanaryVerdict.