Skip to content

Miri can't find crate after toolchain update #1567

Closed
@vertexclique

Description

@vertexclique

So our project was using toolchain version nightly-2020-06-10 with miri like:

rustup component add miri rustfmt
cargo miri setup
cargo clean
cargo miri test

after updating toolchain to nightly-2020-09-28 same build continuously fails with:

error[E0463]: can't find crate for `array_tool`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/jsonpath_lib-0.2.5/src/lib.rs:125:1
    |
125 | extern crate array_tool;
    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate

Though, in the previous toolchain version that Miri has been shipped, this wasn't an issue. Any idea what might be going wrong?

P.S. We've changed the flag passing to MIRIFLAGS with MIRIFLAGS="-Zmiri-disable-isolation".

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cargoArea: affects the cargo wrapper (cargo miri)C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions