Skip to content

Unexpected birdcage error #1427

@kylewillmon

Description

@kylewillmon

The following error was obvserved in the phylum-ci docker image...

root@6f5596df19f4:/phylum# phylum parse -t msbuild Foo.csproj
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/birdcage-0.7.1/src/linux/mod.rs:49:9:
`Sandbox::spawn` must be called from a single-threaded process
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

:exclamation: Error: Could not parse dependency file "Foo.csproj" as "msbuild" type

Caused by:
    Dependency file parsing failed

This is a surprise for two reason:

  1. This is a lockfile. No generation is required, so sandboxing is not expected. (See the phylum docs)
  2. I thought CLI was a single-threaded process...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNeeds to be reviewed or assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions