Skip to content

Instantly share code, notes, and snippets.

@justinmoon
Created November 10, 2020 00:47
Show Gist options
  • Save justinmoon/35d36ef9f71e37cc534eb6dfaa70f20a to your computer and use it in GitHub Desktop.
Save justinmoon/35d36ef9f71e37cc534eb6dfaa70f20a to your computer and use it in GitHub Desktop.
error.txt
$ cargo --version
cargo 1.29.0 (524a578d7 2018-08-05)
$ cargo test
error: unable to get packages from source
Caused by:
failed to parse manifest at `/home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.62/Cargo.toml`
Caused by:
editions are unstable
Caused by:
feature `edition` is required
this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["edition"]` to enable this feature
$ cat /home/justin/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.62/Cargo.toml
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "cc"
version = "1.0.62"
authors = ["Alex Crichton <[email protected]>"]
exclude = ["/.github", "/.travis.yml", "/appveyor.yml"]
description = "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n"
homepage = "https://github.com/alexcrichton/cc-rs"
documentation = "https://docs.rs/cc"
readme = "README.md"
keywords = ["build-dependencies"]
categories = ["development-tools::build-utils"]
license = "MIT/Apache-2.0"
repository = "https://github.com/alexcrichton/cc-rs"
[dependencies.jobserver]
version = "0.1.16"
optional = true
[dev-dependencies.tempfile]
version = "3"
[features]
parallel = ["jobserver"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment