Skip to content

sccache: error: thread 'tokio-runtime-worker' panicked at src/lru_disk_cache/mod.rs:204:17: Error removing file from cache:  #2092

@dabrahams

Description

@dabrahams

In this build, sccache freaked out as follows, only on macos (full logs:
5_distribution (macos-latest, amd64).txt
6_distribution (macos-latest, arm64).txt

You can reproduce by forking that project at 90b9e81 and manually triggering the workflow

sccache: encountered fatal error
sccache: error: thread 'tokio-runtime-worker' panicked at src/lru_disk_cache/mod.rs:204:17: Error removing file from cache: `"/Users/runner/work/llvm-build/llvm-build/.sccache/preprocessor/7/d/5/7d553347d23a053780beb2e6cc81746db44ea0eee6b9ee645fc2bb29a43d8c4c"`: failed to remove file `/Users/runner/work/llvm-build/llvm-build/.sccache/preprocessor/7/d/5/7d553347d23a053780beb2e6cc81746db44ea0eee6b9ee645fc2bb29a43d8c4c`
sccache: caused by: thread 'tokio-runtime-worker' panicked at src/lru_disk_cache/mod.rs:204:17: Error removing file from cache: `"/Users/runner/work/llvm-build/llvm-build/.sccache/preprocessor/7/d/5/7d553347d23a053780beb2e6cc81746db44ea0eee6b9ee645fc2bb29a43d8c4c"`: failed to remove file `/Users/runner/work/llvm-build/llvm-build/.sccache/preprocessor/7/d/5/7d553347d23a053780beb2e6cc81746db44ea0eee6b9ee645fc2bb29a43d8c4c`
...
sccache: encountered fatal error
sccache: error: thread 'tokio-runtime-worker' panicked at src/cache/disk.rs:180:14: called `Result::unwrap()` on an `Err` value: PoisonError { .. }
sccache: caused by: thread 'tokio-runtime-worker' panicked at src/cache/disk.rs:180:14: called `Result::unwrap()` on an `Err` value: PoisonError { .. }
...
ache: encountered fatal error
sccache: error: thread 'tokio-runtime-worker' panicked at src/cache/disk.rs:180:14: called `Result::unwrap()` on an `Err` value: PoisonError { .. }
sccache: caused by: thread 'tokio-runtime-worker' panicked at src/cache/disk.rs:180:14: called `Result::unwrap()` on an `Err` value: PoisonError { .. }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions