Skip to content

artifact-app fails to "cargo install" with nightly #47480

Closed
@talios

Description

@talios

Hi all,

I initially raised this at vitiral/artifact#227 and was redirected to raise as a potential rust-nightly issue.

This is on OSX High Sierra - Installing artifact via cargo +stable install artifact-app works, whereas cargo +nightly install artifact-app fails to build with:

error[E0283]: type annotations required: cannot resolve `std::path::Component<'_>: std::convert::AsRef<_>`
  --> src/utils.rs:40:38
   |
40 |                     remaining.push(a.as_ref());
   |                                      ^^^^^^

error: aborting due to previous error

as the compilation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions