Skip to content

Distributed Rust compilation fails #2333

@samuel-jimenez

Description

@samuel-jimenez

Attempting to build a crate with a sccache-dist setup:

cargo clean
SCCACHE_RECACHE=1 cargo build --release

Distributed compilation fails with the following message:

warning: failed to connect to jobserver from environment variable `CARGO_MAKEFLAGS="-j --jobserver-fds=8,9 --jobserver-auth=8,9"`: cannot open file descriptor 8 from the jobserver environment variable value: Bad file descriptor (os error
 9)
  |
  = note: the build environment is likely misconfigured

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