Open drahnr opened 2 years ago
**cargo unleash --log=info --verbose em-dragons
Preparing Disabling Dev Dependencies
Patching doc-chunks
Patching cargo-spellcheck
Resolving Dependency Tree
Syncing Versions from crates.io
Updating crates.io index
Checking Metadata & Dependencies
Packing doc-chunks v0.0.1 (/media/supersonic1t/projects/cargo-spellcheck/doc-chunks)
WARN [cargo::sources::path] list_files_git doc-chunks v0.0.1 (/media/supersonic1t/projects/cargo-spellcheck/doc-chunks)
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/Cargo.toml
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/README.md
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/chunk.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/cluster.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/developer.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/errors.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/lib.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/literal.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/literalset.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/markdown.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/span.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/tests.rs
WARN [cargo::sources::path] found /media/supersonic1t/projects/cargo-spellcheck/doc-chunks/src/util.rs
Packaging doc-chunks v0.0.1 (/media/supersonic1t/projects/cargo-spellcheck/doc-chunks)
Archiving Cargo.toml
Archiving Cargo.toml.orig
Archiving README.md
Archiving src/chunk.rs
Archiving src/cluster.rs
Archiving src/developer.rs
Archiving src/errors.rs
Archiving src/lib.rs
Archiving src/literal.rs
Archiving src/literalset.rs
Archiving src/markdown.rs
Archiving src/span.rs
Archiving src/tests.rs
Archiving src/util.rs
Packing cargo-spellcheck v0.11.3 (/media/supersonic1t/projects/cargo-spellcheck)
Packaging cargo-spellcheck v0.11.3 (/media/supersonic1t/projects/cargo-spellcheck)
Archiving CHANGELOG.md
Archiving Cargo.lock
error: failed to prepare local package for uploading
Caused by:
no matching package named `doc-chunks` found
location searched: registry `crates-io`
required by package `cargo-spellcheck v0.11.3 (/media/supersonic1t/projects/cargo-spellcheck)`
ERROR [cargo_unleash::commands::check] "Failure packing cargo-spellcheck: failed to prepare local package for uploading"
Error: Packing failed with 1 errors (see above)
**
Also happens on a smaller scale:
# root
[package]
name = "cargo-spellcheck"
version = "0.11.3"
authors = ["Bernhard Schuster <bernhard@ahoi.io>"]
edition = "2021"
rust-version = "1.57.0"
repository = "https://github.com/drahnr/cargo-spellcheck.git"
homepage = "https://github.com/drahnr/cargo-spellcheck"
license = "MIT OR Apache-2.0"
keywords = ["spellcheck", "spelling", "grammar"]
description = "Checks all doc comments for spelling mistakes"
readme = "README.md"
build = "build.rs"
include = [
"nlprule-data/**/*.bin.xz",
"hunspell-data/*",
"src/**/*.rs",
"Cargo.toml",
"build.rs",
"/LICENSE-*",
"/README.md",
"tests/**/*.rs",
"CHANGELOG.md"
]
[workspace]
members = ["./doc-chunks"]
[build-dependencies]
nlprule-build = { version = "=0.6.4", optional = true }
# compress the nlprule artifacts to be under the 10 MB limit
# that cargo enforces
xz2 = "0.1"
[dependencies]
doc-chunks = { version = "0.0.1", path = "./doc-chunks" }
color-eyre = "0.6"
cargo_toml = "^0.11.4"
console = "0.15"
crossterm = "0.23.2"
# for the config file
directories = "4.0.1"
clap = { version = "3.1", features = ["derive", "env"] }
clap-verbosity-flag = "1.0.0"
clap_complete = "3.1"
env_logger = "0.9"
fancy-regex = "0.10"
fs-err = "2"
indexmap = { version = "1", features=["rayon", "serde"] }
itertools = "0.10"
lazy_static = "1"
memchr = "2"
log = "0.4"
num_cpus = "1.13"
proc-macro2 = { version = "1", features = ["span-locations"] }
pulldown-cmark = "0.9.1"
ra_ap_syntax = "0.0.104"
rayon = "1.5"
regex = "1.5"
serde = { version = "1", features = ["derive"] }
signal-hook = "0.3"
syn = { version = "1", features = ["full"] }
thiserror = "1"
# for parsing and extracting elements from Cargo.toml
toml = "0.5"
glob = "0.3"
# for the config file
walkdir = "2"
tokio = { version = "1", features = ["full", "rt-multi-thread"] }
futures = "0.3"
uuid = { version = "1.0.0", features = ["v4"] }
# config parsing, must be independent of features
# TODO parse the country codes of dictionaries?
iso_country = { version = "0.1", features = ["serde"] }
isolang = { version = "2", features = ["serde"] }
url = { version = "2", features = ["serde"] }
# dictionary lookup with affixes
hunspell-rs = { version = "0.3", optional = true }
fd-lock = { version = "3", optional = true }
# full grammar check, but also tokenization and disambiguation
nlprule = { version = "=0.6.4", optional = true }
# cache some expensive expansions
xz2 = "0.1"
sha2 = "0.10"
bincode = "1"
hex = "0.4"
thousands = "0.2"
[features]
default = ["hunspell", "nlprules"]
# hunspell uses the segmenter provided by nlprules
hunspell = ["hunspell-rs/bundled", "fd-lock", "nlprules"]
nlprules = ["nlprule/regex-fancy", "nlprule-build"]
all = ["hunspell", "nlprules"]
[profile.dev]
build-override = { opt-level = 2 }
[profile.dev.package]
backtrace = { opt-level = 3 }
bincode = { opt-level = 3 }
xz2 = { opt-level = 3 }
sha2 = { opt-level = 3 }
hunspell-rs = { opt-level = 3 }
nlprule = { opt-level = 3 }
[profile.release]
debug = true
[package.metadata.spellcheck]
config = ".config/spellcheck.toml"
[[test]]
name = "signal_handler"
path = "tests/signal_handler.rs"
# doc-chunks
[package]
name = "doc-chunks"
version = "0.0.1"
authors = ["Bernhard Schuster <bernhard@ahoi.io>"]
edition = "2021"
rust-version = "1.57.0"
repository = "https://github.com/drahnr/cargo-spellcheck.git"
homepage = "https://github.com/drahnr/cargo-spellcheck"
license = "MIT OR Apache-2.0"
keywords = ["documentation", "chunks", "cluster"]
description = "Clusters of doc comments and dev comments as coherent view."
readme = "README.md"
[dependencies]
console = "0.15"
fs-err = "2"
indexmap = { version = "1", features=["rayon", "serde"] }
itertools = "0.10"
lazy_static = "1"
memchr = "2"
log = "0.4"
proc-macro2 = { version = "1", features = ["span-locations"] }
pulldown-cmark = "0.9.1"
ra_ap_syntax = "0.0.104"
rayon = "1.5"
fancy-regex = "0.10"
regex = "1"
serde = { version = "1", features = ["derive"] }
syn = { version = "1", features = ["full"] }
thiserror = "1"
toml = "0.5"
cargo unleash git version
278449633fc6549fa7804703d99138d6e4bfe8d5
https://github.com/paritytech/polkadot/pull/5579