Skip to content

0.18.0 panics on x64 Linux #2869

Closed

Description

@aduh95

https://github.com/nodejs/node/actions/runs/35506496657/job/106067230237?pr=66146

[2026-09-20T10:59:20Z DEBUG sccache::config] Attempting to read config file at "/home/runner/.config/sccache/config"
[2026-09-20T10:59:20Z DEBUG sccache::config] Couldn't open config file: failed to open file `/home/runner/.config/sccache/config`: No such file or directory (os error 2)
[2026-09-20T10:59:20Z DEBUG sccache::config] Attempting to read config file at "/home/runner/.config/sccache/config"
[2026-09-20T10:59:20Z DEBUG sccache::config] Couldn't open config file: failed to open file `/home/runner/.config/sccache/config`: No such file or directory (os error 2)
[2026-09-20T10:59:20Z INFO  sccache::server] start_server: 127.0.0.1:4226
[2026-09-20T10:59:20Z INFO  sccache::server] No scheduler address configured, disabling distributed sccache
[2026-09-20T10:59:20Z DEBUG sccache::cache::cache] Configuring single cache from CacheType
[2026-09-20T10:59:20Z DEBUG sccache::cache::cache] Init gha cache with version 
[2026-09-20T10:59:20Z DEBUG opendal_service_ghac::backend] backend build started: GhacBuilder { config: GhacConfig { root: Some("/sccache"), version: Some("sccache-v0.18.0"), endpoint: None, .. }, .. }
[2026-09-20T10:59:20Z DEBUG opendal_service_ghac::backend] backend use root /sccache/
[2026-09-20T10:59:20Z DEBUG opendal_service_ghac::backend] backend use service version V2
[2026-09-20T10:59:20Z DEBUG opendal_service_ghac::backend] backend use version sccache-v0.18.0
[2026-09-20T10:59:20Z WARN  rustls_platform_verifier::verification::others] Error loading CA root certificate: failed to read PEM from file: No such file or directory (os error 2) at '/no-cert-file.crt'
thread 'main' (3148) panicked at src/cache/http_client.rs:9:70:
called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, source: General("No CA certificates were loaded from the system") }
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: sccache::cache::http_client::set_user_agent
   4: sccache::cache::cache::build_single_cache
   5: sccache::cache::cache::storage_from_config
   6: sccache::server::start_server
   7: sccache::commands::run_command
   8: sccache::main
   9: sccache::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
sccache: error: Timed out waiting for server startup. Maybe the remote service is unreachable?

aarch64-linux and macOS are not affected

Reverting to 0.17.0 seems to fix the issue

Activity

  1. aduh95 commented on Sep 22, 2026

    @aduh95
    Author

    Also appeared on aarch64 macOS (that one seems more flaky, unclear if it's actually related): https://github.com/nodejs/node/actions/runs/35740308685/job/106788756394

  2. sylvestre commented on Sep 22, 2026

    @sylvestre
    Collaborator

    This isn't a platform specific issue
    it is just an error that could be handled better

    
    [2026-09-20T10:59:20Z WARN  rustls_platform_verifier::verification::others] Error loading CA root certificate: failed to read PEM from file: No such file or directory (os error 2) at '/no-cert-file.crt'
    thread 'main' (3148) panicked at src/cache/http_client.rs:9:70:
    called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, source: General("No CA certificates were loaded from the system") }
    
    

    The error is this one

  3. aduh95 commented on Sep 22, 2026

    @aduh95
    Author

    Sure that might be, still that's a regression from 0.17.0 (and it's still somewhat platform dependent as we've seen failures mostly on x64 linux, rarely on other platforms)

  4. sylvestre commented on Sep 22, 2026

    @sylvestre
    Collaborator

    don't hesitate to submit a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions