Skip to content

"File system loop found" upon cargo build #10213

Closed
@winterqt

Description

@winterqt

Problem

When running cargo build, an error is thrown:

Caused by:
  failed to determine the most recently modified file in /path/to/package

Caused by:
  failed to determine list of files in /path/to/package

Caused by:
  File system loop found: /path/to/package/node/tools/node_modules/eslint/node_modules/eslint points to an ancestor /path/to/package/node/tools/node_modules/eslint

Steps

  1. Clone nodejs/node to a package directory
  2. Run cargo build

Possible Solution(s)

No response

Notes

This does not occur on Cargo v1.56.0 (I'm experiencing this on 3787309).

Version

cargo 1.59.0
release: 1.59.0
host: aarch64-apple-darwin
libgit2: 1.3.0 (sys:0.13.25 vendored)
libcurl: 7.80.0-DEV (sys:0.4.51+curl-7.80.0 vendored ssl:SecureTransport)
os: Mac OS 12.1.0 [64-bit]

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions