oven-sh/bun · error · bun_install::Error

SecurityScannerRetryFailed

Error message

SecurityScannerRetryFailed

What it means

Sentinel variant of the install Error enum: the security/advisory scanner step was retried (e.g. after a transient failure) and the retry attempts were exhausted without success. Part of the install-time security-scan pipeline; distinct from SecurityScannerInWorkspace and process-failure variants.

Solutions

  1. Disable the security scanner for the install (skip the audit step) to proceed
  2. Check scanner availability/permissions in the environment
  3. Retry later if the failure was caused by a transient system condition
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at src/install/error.rs:83 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16). Data as JSON: /api/errors/2bed87217dc655e2. Report an issue: GitHub.

Appendix: source

Thrown at src/install/error.rs:83

    #[error("InstallFailed")]
    InstallFailed,
    #[error("HTTPError")]
    HTTPError,
    #[error("Failed")]
    Failed,
    #[error("UnrecognizedDependencyFormat")]
    UnrecognizedDependencyFormat,
    #[error("No global directory found")]
    NoGlobalDirectoryFound,
    #[error("InvalidPackageID")]
    InvalidPackageID,
    #[error("PartialInstallFailed")]
    PartialInstallFailed,
    #[error("NoPackagesInstalled")]
    NoPackagesInstalled,
    #[error("SecurityScannerInWorkspace")]
    SecurityScannerInWorkspace,
    #[error("SecurityScannerRetryFailed")]
    SecurityScannerRetryFailed,
    #[error("IPCPipeFailed")]
    IPCPipeFailed,
    #[error("JSONPipeWriterFailed")]
    JSONPipeWriterFailed,
    #[error("ProcessWatchFailed")]
    ProcessWatchFailed,
    #[error("SecurityScannerProcessFailedWithoutExitStatus")]
    SecurityScannerProcessFailedWithoutExitStatus,
    #[error("NoSecurityScanData")]
    NoSecurityScanData,
    #[error("InvalidIPCMessage")]
    InvalidIPCMessage,
    #[error("InvalidIPCFormat")]
    InvalidIPCFormat,
    #[error("MissingIPCType")]
    MissingIPCType,
    #[error("InvalidIPCType")]

View on GitHub (pinned to 8c5296ac45)