Skip to content

Ubuntu via WSL on Windows 10: Fatal error: No such file or directory #1067

@tobyhede

Description

@tobyhede

Seeing this error on Ubuntu via WSL on Windows 10.

Found other threads that suggested restarting the sccache server, but no luck.
Another run will product an error on a different crate. (eg ring will fail and the next run ct-logs will fail. The underlying error is the same.

sccache: encountered fatal error
sccache: error: No such file or directory (os error 2)
sccache: caused by: No such file or directory (os error 2)
error: could not compile `ring`

Caused by:
  process didn't exit successfully: `/home/user/.cargo/bin/sccache rustc --crate-name ring --edition=2018 /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="dev_urandom_fallback"' --cfg 'feature="once_cell"' -C metadata=7cf15f2b22f7f6b7 -C extra-filename=-7cf15f2b22f7f6b7 --out-dir /mnt/c/Users/user/Clone/roapi/target/debug/deps -C linker=/usr/bin/clang -L dependency=/mnt/c/Users/user/Clone/roapi/target/debug/deps --extern libc=/mnt/c/Users/user/Clone/roapi/target/debug/deps/liblibc-309e066b556daa10.rmeta --extern once_cell=/mnt/c/Users/user/Clone/roapi/target/debug/deps/libonce_cell-97a1520c7459742f.rmeta --extern spin=/mnt/c/Users/user/Clone/roapi/target/debug/deps/libspin-c648a9bc5fe6b97b.rmeta --extern untrusted=/mnt/c/Users/user/Clone/roapi/target/debug/deps/libuntrusted-9743e30f23533517.rmeta --cap-lints allow -Clink-arg=-fuse-ld=lld -Zshare-generics=y -L native=/mnt/c/Users/user/Clone/roapi/target/debug/build/ring-936718e64e5e54ca/out -l static=ring-core -l static=ring-test` (exit status: 254)
warning: build failed, waiting for other jobs to finish...
error: build failed

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