Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Type of this value must be known in this context on 1.25.0-nightly #28

Closed
snowe2010 opened this issue Jan 16, 2018 · 12 comments
Closed

Comments

@snowe2010
Copy link

❯ rustc -V
rustc 1.25.0-nightly (79a521bb9 2018-01-15)

I receive the error

error[E0619]: the type of this value must be known in this context
  --> /Users/tylerthrailkill/.cargo/registry/src/garden.eu.org-1ecc6299db9ec823/app_dirs-1.1.1/src/imp/platform/macos.rs:10:40
   |
10 |         Ok(Component::RootDir.as_ref().into())
   |                                        ^^^^

error: aborting due to previous error

error: Could not compile `app_dirs`.
warning: build failed, waiting for other jobs to finish...
error: build failed

when attempting to compile my application using app_dirs with 1.25.0-nightly

@netgusto
Copy link

netgusto commented Jan 18, 2018

Same for me.

➜  rustc -V
rustc 1.25.0-nightly (e6072a7b3 2018-01-13)

@skade
Copy link

skade commented Jan 27, 2018

This seems to be a backwards compatibility bug.

I think it's this one.

rust-lang/rust#47709

@theotherjimmy
Copy link

theotherjimmy commented Jan 30, 2018

Travis log from my application: https://travis-ci.org/ARMmbed/cmsis-pack-manager/jobs/335350045.
In case you wanted color

@daboross
Copy link

Happens on Mac OS on travis for me: https://travis-ci.org/daboross/screeps-rs/jobs/339353849#L337

@maplant
Copy link

maplant commented Mar 13, 2018

I experience this bug as well

@pakoito
Copy link

pakoito commented Mar 28, 2018

The bug remains in 1.26.0-nightly :(

@skade
Copy link

skade commented Mar 28, 2018

Hi, this will break on stable tomorrow, with the release of Rust 1.25. @andybarron, can you do a release or at least give someone release rights? I'd also be happy to do that, in this case, add @skade to this repository and skade ([email protected]) at crates.io.

@icefoxen
Copy link

I've made a fork of this project with the fix included: https://github.com/app-dirs-rs/app_dirs2

@skade If you are willing to help maintain it I will gladly give you github and crates.io access.

@JustAPerson
Copy link

Sent the maintainer an email asking to either check github or relinquish control of the crate.

@pakoito
Copy link

pakoito commented Mar 28, 2018

@icefoxen meanwhile, how can I build ggez locally?

@JustAPerson
Copy link

@pakoito this appears the correct way to handle this in cargo

@icefoxen
Copy link

@pakoito The devel branch uses app_dirs2, I hope to publish it tonight.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants