Zondax / filecoin-signing-tools

Filecoin Signing Library
Apache License 2.0
106 stars 50 forks source link

failed to parse the version requirement `` for dependency `arbitrary` #409

Closed j1v closed 2 years ago

j1v commented 2 years ago

A fresh build on MacOS fails with

# cargo test -p filecoin-signer

error: failed to load manifest for workspace member `/Users/jiv/Work/filecoin-signing-tools/service`

Caused by:
  failed to load manifest for dependency `filecoin-signer`

Caused by:
  failed to parse manifest at `/Users/jiv/Work/filecoin-signing-tools/signer/Cargo.toml`

Caused by:
  failed to parse the version requirement `` for dependency `arbitrary`

Caused by:
  unexpected end of input while parsing major version number

Cargo.toml :

[package]
name = "filecoin-signer"
version = "0.1.0"
authors = ["Zondax <info@zondax.ch>"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/Zondax/filecoin-signing-tools"
description =""

[dependencies]
thiserror = "=1.0.22"
base64 = "0.12.3"
serde = { version = "=1.0.117", features = ["derive"] }
serde_json = "=1.0.59"
serde_cbor = "0.11.1"
serde_bytes = "0.11.5"
rayon = "1"

bls-signatures = {version = "0.10", default-features = false, features = ["pairing"]}

# Crypto related
hex = { git = "https://github.com/Zondax/rust-hex", rev="6e35fb48999278c8c6c75b099baa4ea2a9d1d12b" }
getrandom="0.1.14"
libsecp256k1 = "0.3.5"
blake2b_simd = "0.5.10"
hmac = "0.8.1"
zeroize = { version = "=1.1", default-features = false, features = ["zeroize_derive"] }
sha2 = "0.9.2"

# logging
log = "0.4.11"
env_logger = "0.7"

arbitrary = { optional = true, features = ["derive"], version = "" }
ffi-support = { optional = true, version = "0.4" }

forest_vm = "0.3.1"
forest_address = "0.3.1"
forest_encoding = "0.2.1"
forest_cid = { version ="0.3.0", features = ["cbor"] }
forest_message = { default-features = false, features = ["pairing"], version = "0.7"  }
forest_crypto = { default-features = false, features = ["pairing"], version = "0.5.2"  }

tiny-bip39 = "0.8.0"
num_bigint_chainsafe = { package = "forest_bigint", version = "0.1.2"}

zx-bip44 = "0.1.0"

extras = { path = "../extras"}
num-traits = "0.2"

[dev-dependencies]
rand_chacha = "0.2.2"
rand = "0.7"

[features]
default = []
with-arbitrary = ["arbitrary"]
with-ffi-support = ["ffi-support"]
emmanuelm41 commented 2 years ago

@j1v could you please share more details about the environment? I ran the same steps on my macOS and it worked.

My environment is:

Anonyma commented 2 years ago

Should be fixed now (https://github.com/Zondax/filecoin-signing-tools/pull/418)