alexfertel / bulloak

Generate tests based on the Branching Tree Technique.
https://bulloak.dev
Apache License 2.0
262 stars 14 forks source link

Cargo install: failing to build #95

Open brickpop opened 16 hours ago

brickpop commented 16 hours ago

I must be doing something wrong, but I'm unable to install bulloak with cargo install. I am on rustc 1.82 and I have tried on 5 different environments:

MacOS (arm) ``` $ cargo install bulloak Updating crates.io index Installing bulloak v0.8.0 Updating crates.io index Locking 358 packages to latest compatible versions Adding alloy-primitives v0.3.3 (latest: v0.8.9) [...] Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.1) Compiling proc-macro2 v1.0.88 [...] Compiling ariadne v0.2.0 error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 | 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 | 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 | 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:203:45 | 203 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:209:1 | 209 | / expr_node!( 210 | | /// An assignment expression. 211 | | struct Assignment { 212 | | #[serde(rename = "leftHandSide")] ... | 217 | | } 218 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:335:1 | 335 | / expr_node!( 336 | | /// A conditional expression. 337 | | struct Conditional { 338 | | /// The condition. ... | 344 | | } 345 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:347:1 | 347 | / expr_node!( 348 | | struct ElementaryTypeNameExpression { 349 | | type_name: ElementaryOrRawTypeName, 350 | | } 351 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:375:1 | 375 | / expr_node!( 376 | | /// A function call expression. 377 | | struct FunctionCall { 378 | | arguments: Vec, ... | 384 | | } 385 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:399:1 | 399 | / expr_node!( 400 | | /// A function call options expression (e.g. `x.f{gas: 1}`). 401 | | struct FunctionCallOptions { 402 | | expression: Expression, ... | 405 | | } 406 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:411:45 | 411 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:420:1 | 420 | / expr_node!( 421 | | /// An index access. 422 | | struct IndexAccess { 423 | | base_expression: Expression, 424 | | index_expression: Option, 425 | | } 426 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:428:1 | 428 | / expr_node!( 429 | | /// An index range access. 430 | | struct IndexRangeAccess { 431 | | base_expression: Expression, ... | 434 | | } 435 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:437:1 | 437 | / expr_node!( 438 | | /// A literal value. 439 | | struct Literal { 440 | | // TODO ... | 445 | | } 446 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:464:1 | 464 | / expr_node!( 465 | | /// Member access. 466 | | struct MemberAccess { 467 | | expression: Expression, ... | 470 | | } 471 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:473:1 | 473 | / expr_node!( 474 | | /// A `new` expression. 475 | | struct NewExpression { 476 | | type_name: TypeName, 477 | | } 478 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 | 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 | 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 | 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:513:45 | 513 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:607:1 | 607 | / expr_node!( 608 | | /// A tuple expression. 609 | | struct TupleExpression { 610 | | components: Vec, 611 | | is_inline_array: bool, 612 | | } 613 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 | 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:615:1 | 615 | / expr_node!( 616 | | /// A unary operation. 617 | | struct UnaryOperation { 618 | | operator: UnaryOperator, ... | 622 | | } 623 | | ); | |_- in this macro invocation | = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 | 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 | 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 | 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 | 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 | 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 | 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 | 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 | 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 | 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 | 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 | 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 | 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 | 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 | 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 | 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:797:45 | 797 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 | 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 | 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 | 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:992:45 | 992 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 | 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 | 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 | 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 | 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 | 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 | 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0424]: expected value, found module `self` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 | 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter | ::: /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 | 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters error[E0425]: cannot find value `__s` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 | 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `__deserializer` in this scope --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 | 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Compiling alloy-primitives v0.3.3 Compiling strsim v0.11.1 Compiling clap_lex v0.7.2 Compiling clap_builder v4.5.20 Compiling bulloak-syntax v0.8.0 Compiling clap_derive v4.5.18 Compiling owo-colors v3.5.0 Compiling clap v4.5.20 Some errors have detailed explanations: E0424, E0425. For more information about an error, try `rustc --explain E0424`. error: could not compile `ethers-solc` (lib) due to 50 previous errors warning: build failed, waiting for other jobs to finish... error: failed to compile `bulloak v0.8.0`, intermediate artifacts can be found at `/var/folders/f5/_1l6nttx1_92f0wts28j35s40000gn/T/cargo-install0VbBsw`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. ```

See the others linked right below:

Am I missing something? Thank you

brickpop commented 16 hours ago

Copying the other attempts separately due to comment size limits

Docker/Linux (rust:1.82-alpine) Dockerfile: ``` FROM rust:1.82-alpine RUN cargo install bulloak CMD bulloak ``` Build: ``` $ docker build -t bulloak -f test/Dockerfile test/ [+] Building 81.7s (5/5) FINISHED docker:desktop-linux [...] 0.189 Updating crates.io index 1.518 Downloading crates ... 1.749 Downloaded bulloak v0.8.0 1.792 Installing bulloak v0.8.0 1.837 Updating crates.io index 11.31 Locking 358 packages to latest compatible versions 11.31 Adding alloy-primitives v0.3.3 (latest: v0.8.9) 11.31 Adding alloy-primitives v0.4.2 (latest: v0.8.9) [...] 11.35 Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.1) 11.35 Downloading crates ... 11.46 Downloaded anyhow v1.0.90 [...] 15.75 Downloaded tokio v1.41.0 15.91 Compiling proc-macro2 v1.0.88 15.91 Compiling unicode-ident v1.0.13 [...] 20.00 Compiling semver v1.0.23 20.24 The following warnings were emitted during compilation: 20.24 20.24 warning: ring@0.17.8: In file included from include/ring-core/base.h:64, 20.24 warning: ring@0.17.8: from include/ring-core/mem.h:60, 20.24 warning: ring@0.17.8: from crypto/curve25519/curve25519.c:22: 20.24 warning: ring@0.17.8: /usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include/stdint.h:9:26: error: no include path in which to search for stdint.h 20.24 warning: ring@0.17.8: 9 | # include_next 20.24 warning: ring@0.17.8: | ^ 20.24 warning: ring@0.17.8: In file included from include/ring-core/base.h:78: 20.24 warning: ring@0.17.8: include/ring-core/base.h:98:30: error: 'int32_t' undeclared here (not in a function) 20.24 warning: ring@0.17.8: 98 | OPENSSL_STATIC_ASSERT(sizeof(int32_t) == sizeof(int), "int isn't 32 bits."); 20.24 warning: ring@0.17.8: | ^~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:79:1: note: 'int32_t' is defined in header ''; did you forget to '#include '? 20.25 warning: ring@0.17.8: 78 | #include 20.25 warning: ring@0.17.8: +++ |+#include 20.25 warning: ring@0.17.8: 79 | 20.25 warning: ring@0.17.8: include/ring-core/base.h:98:23: error: expression in static assertion is not an integer 20.25 warning: ring@0.17.8: 98 | OPENSSL_STATIC_ASSERT(sizeof(int32_t) == sizeof(int), "int isn't 32 bits."); 20.25 warning: ring@0.17.8: | ^~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:99:30: error: 'uint32_t' undeclared here (not in a function) 20.25 warning: ring@0.17.8: 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 warning: ring@0.17.8: | ^~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:99:30: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 20.25 warning: ring@0.17.8: 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 warning: ring@0.17.8: | ^~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:99:23: error: expression in static assertion is not an integer 20.25 warning: ring@0.17.8: 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 warning: ring@0.17.8: | ^~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:100:48: error: 'uintptr_t' undeclared here (not in a function) 20.25 warning: ring@0.17.8: 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 warning: ring@0.17.8: | ^~~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:100:48: note: 'uintptr_t' is defined in header ''; did you forget to '#include '? 20.25 warning: ring@0.17.8: 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 warning: ring@0.17.8: | ^~~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:100:23: error: expression in static assertion is not an integer 20.25 warning: ring@0.17.8: 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 warning: ring@0.17.8: | ^~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:101:48: error: 'uint64_t' undeclared here (not in a function) 20.25 warning: ring@0.17.8: 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 warning: ring@0.17.8: | ^~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:101:48: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 20.25 warning: ring@0.17.8: 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 warning: ring@0.17.8: | ^~~~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:101:23: error: expression in static assertion is not an integer 20.25 warning: ring@0.17.8: 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 warning: ring@0.17.8: | ^~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: include/ring-core/base.h:102:23: error: expression in static assertion is not an integer 20.25 warning: ring@0.17.8: 102 | OPENSSL_STATIC_ASSERT(sizeof(size_t) >= sizeof(uint32_t), "size_t is smaller than uint32_t."); 20.25 warning: ring@0.17.8: | ^~~~~~ 20.25 warning: ring@0.17.8: include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 warning: ring@0.17.8: 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 warning: ring@0.17.8: | ^~~~ 20.25 warning: ring@0.17.8: In file included from crypto/curve25519/../internal.h:115, 20.25 warning: ring@0.17.8: from crypto/curve25519/internal.h:20, 20.25 warning: ring@0.17.8: from crypto/curve25519/curve25519.c:24: 20.25 warning: ring@0.17.8: include/ring-core/check.h:27:11: fatal error: assert.h: No such file or directory 20.25 warning: ring@0.17.8: 27 | # include 20.25 warning: ring@0.17.8: | ^~~~~~~~~~ 20.25 warning: ring@0.17.8: compilation terminated. 20.25 20.25 error: failed to run custom build command for `ring v0.17.8` 20.25 20.25 Caused by: 20.25 process didn't exit successfully: `/tmp/cargo-installaW65TK/release/build/ring-fdf0af023346cf09/build-script-build` (exit status: 1) 20.25 --- stdout 20.25 cargo:rerun-if-env-changed=RING_PREGENERATE_ASM 20.25 cargo:rustc-env=RING_CORE_PREFIX=ring_core_0_17_8_ 20.25 OPT_LEVEL = Some(0) 20.25 TARGET = Some(aarch64-unknown-linux-musl) 20.25 OUT_DIR = Some(/tmp/cargo-installaW65TK/release/build/ring-35ea35f257bc705a/out) 20.25 HOST = Some(aarch64-unknown-linux-musl) 20.25 cargo:rerun-if-env-changed=CC_aarch64-unknown-linux-musl 20.25 CC_aarch64-unknown-linux-musl = None 20.25 cargo:rerun-if-env-changed=CC_aarch64_unknown_linux_musl 20.25 CC_aarch64_unknown_linux_musl = None 20.25 cargo:rerun-if-env-changed=HOST_CC 20.25 HOST_CC = None 20.25 cargo:rerun-if-env-changed=CC 20.25 CC = None 20.25 cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT 20.25 RUSTC_WRAPPER = None 20.25 cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS 20.25 CRATE_CC_NO_DEFAULTS = None 20.25 DEBUG = Some(false) 20.25 CARGO_CFG_TARGET_FEATURE = Some(neon) 20.25 cargo:rerun-if-env-changed=CFLAGS_aarch64-unknown-linux-musl 20.25 CFLAGS_aarch64-unknown-linux-musl = None 20.25 cargo:rerun-if-env-changed=CFLAGS_aarch64_unknown_linux_musl 20.25 CFLAGS_aarch64_unknown_linux_musl = None 20.25 cargo:rerun-if-env-changed=HOST_CFLAGS 20.25 HOST_CFLAGS = None 20.25 cargo:rerun-if-env-changed=CFLAGS 20.25 CFLAGS = None 20.25 cargo:warning=In file included from include/ring-core/base.h:64, 20.25 cargo:warning= from include/ring-core/mem.h:60, 20.25 cargo:warning= from crypto/curve25519/curve25519.c:22: 20.25 cargo:warning=/usr/lib/gcc/aarch64-alpine-linux-musl/13.2.1/include/stdint.h:9:26: error: no include path in which to search for stdint.h 20.25 cargo:warning= 9 | # include_next 20.25 cargo:warning= | ^ 20.25 cargo:warning=In file included from include/ring-core/base.h:78: 20.25 cargo:warning=include/ring-core/base.h:98:30: error: 'int32_t' undeclared here (not in a function) 20.25 cargo:warning= 98 | OPENSSL_STATIC_ASSERT(sizeof(int32_t) == sizeof(int), "int isn't 32 bits."); 20.25 cargo:warning= | ^~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:79:1: note: 'int32_t' is defined in header ''; did you forget to '#include '? 20.25 cargo:warning= 78 | #include 20.25 cargo:warning= +++ |+#include 20.25 cargo:warning= 79 | 20.25 cargo:warning=include/ring-core/base.h:98:23: error: expression in static assertion is not an integer 20.25 cargo:warning= 98 | OPENSSL_STATIC_ASSERT(sizeof(int32_t) == sizeof(int), "int isn't 32 bits."); 20.25 cargo:warning= | ^~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:99:30: error: 'uint32_t' undeclared here (not in a function) 20.25 cargo:warning= 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 cargo:warning= | ^~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:99:30: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 20.25 cargo:warning= 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 cargo:warning= | ^~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:99:23: error: expression in static assertion is not an integer 20.25 cargo:warning= 99 | OPENSSL_STATIC_ASSERT(sizeof(uint32_t) == sizeof(unsigned int), "unsigned int isn't 32 bits."); 20.25 cargo:warning= | ^~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:100:48: error: 'uintptr_t' undeclared here (not in a function) 20.25 cargo:warning= 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 cargo:warning= | ^~~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:100:48: note: 'uintptr_t' is defined in header ''; did you forget to '#include '? 20.25 cargo:warning= 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 cargo:warning= | ^~~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:100:23: error: expression in static assertion is not an integer 20.25 cargo:warning= 100 | OPENSSL_STATIC_ASSERT(sizeof(size_t) == sizeof(uintptr_t), "uintptr_t and size_t differ."); 20.25 cargo:warning= | ^~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:101:48: error: 'uint64_t' undeclared here (not in a function) 20.25 cargo:warning= 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 cargo:warning= | ^~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:101:48: note: 'uint64_t' is defined in header ''; did you forget to '#include '? 20.25 cargo:warning= 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 cargo:warning= | ^~~~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:101:23: error: expression in static assertion is not an integer 20.25 cargo:warning= 101 | OPENSSL_STATIC_ASSERT(sizeof(size_t) <= sizeof(uint64_t), "size_t is larger than uint64_t."); 20.25 cargo:warning= | ^~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=include/ring-core/base.h:102:23: error: expression in static assertion is not an integer 20.25 cargo:warning= 102 | OPENSSL_STATIC_ASSERT(sizeof(size_t) >= sizeof(uint32_t), "size_t is smaller than uint32_t."); 20.25 cargo:warning= | ^~~~~~ 20.25 cargo:warning=include/ring-core/type_check.h:71:57: note: in definition of macro 'OPENSSL_STATIC_ASSERT' 20.25 cargo:warning= 71 | #define OPENSSL_STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 20.25 cargo:warning= | ^~~~ 20.25 cargo:warning=In file included from crypto/curve25519/../internal.h:115, 20.25 cargo:warning= from crypto/curve25519/internal.h:20, 20.25 cargo:warning= from crypto/curve25519/curve25519.c:24: 20.25 cargo:warning=include/ring-core/check.h:27:11: fatal error: assert.h: No such file or directory 20.25 cargo:warning= 27 | # include 20.25 cargo:warning= | ^~~~~~~~~~ 20.25 cargo:warning=compilation terminated. 20.25 20.25 --- stderr 20.25 20.25 20.25 error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-I" "include" "-I" "/tmp/cargo-installaW65TK/release/build/ring-35ea35f257bc705a/out" "-Wall" "-Wextra" "-fvisibility=hidden" "-std=c1x" "-Wall" "-Wbad-function-cast" "-Wcast-align" "-Wcast-qual" "-Wconversion" "-Wmissing-field-initializers" "-Wmissing-include-dirs" "-Wnested-externs" "-Wredundant-decls" "-Wshadow" "-Wsign-compare" "-Wsign-conversion" "-Wstrict-prototypes" "-Wundef" "-Wuninitialized" "-g3" "-DNDEBUG" "-o" "/tmp/cargo-installaW65TK/release/build/ring-35ea35f257bc705a/out/fad98b632b8ce3cc-curve25519.o" "-c" "crypto/curve25519/curve25519.c" with args cc did not execute successfully (status code exit status: 1). 20.25 20.25 20.25 warning: build failed, waiting for other jobs to finish... 23.35 error: failed to compile `bulloak v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-installaW65TK`. 23.35 To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. ------ 1 warning found (use docker --debug to expand): - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 5) Dockerfile:3 -------------------- 1 | FROM rust:1.82-alpine 2 | 3 | >>> RUN cargo install bulloak 4 | 5 | CMD bulloak -------------------- ERROR: failed to solve: process "/bin/sh -c cargo install bulloak" did not complete successfully: exit code: 101 ```
Docker/Linux (rust:1-bullseye) Dockerfile: ``` FROM rust:1-bullseye RUN cargo install bulloak CMD bulloak ``` Building: ``` $ docker build -t bulloak -f test/Dockerfile test/ [+] Building 184.1s (5/5) FINISHED docker:desktop-linux => ERROR [2/2] RUN cargo install bulloak 79.8s ------ > [2/2] RUN cargo install bulloak: 0.158 Updating crates.io index 0.355 Downloading crates ... 0.610 Downloaded bulloak v0.8.0 0.665 Installing bulloak v0.8.0 0.696 Updating crates.io index 9.224 Locking 358 packages to latest compatible versions 9.225 Adding alloy-primitives v0.3.3 (latest: v0.8.9) [...] 9.271 Adding zstd-safe v5.0.2+zstd.1.5.2 (latest: v7.2.1) 9.271 Downloading crates ... 9.364 Downloaded anstyle-query v1.1.1 [...] 13.23 Downloaded linux-raw-sys v0.4.14 13.42 Downloaded ring v0.17.8 13.56 Compiling proc-macro2 v1.0.88 13.56 Compiling unicode-ident v1.0.13 [...] 71.39 Compiling clap_derive v4.5.18 71.82 Compiling owo-colors v3.5.0 71.96 error[E0424]: expected value, found module `self` 71.96 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 71.96 | 71.96 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 71.96 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 71.96 | 71.96 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 71.96 | 71.96 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 71.97 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 71.97 71.97 error[E0425]: cannot find value `__s` in this scope 71.97 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 71.97 | 71.97 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 71.97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 71.97 71.98 error[E0425]: cannot find value `__deserializer` in this scope 71.98 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:165:33 71.98 | 71.98 165 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 71.98 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 71.98 71.99 error[E0425]: cannot find value `__deserializer` in this scope 71.99 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:203:45 71.99 | 71.99 203 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 71.99 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 71.99 72.00 error[E0425]: cannot find value `__deserializer` in this scope 72.00 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.00 | 72.00 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.00 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.00 | 72.00 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:209:1 72.00 | 72.00 209 | / expr_node!( 72.00 210 | | /// An assignment expression. 72.00 211 | | struct Assignment { 72.00 212 | | #[serde(rename = "leftHandSide")] 72.00 ... | 72.00 217 | | } 72.00 218 | | ); 72.00 | |_- in this macro invocation 72.00 | 72.00 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.00 72.03 error[E0425]: cannot find value `__deserializer` in this scope 72.03 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.03 | 72.03 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.03 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.03 | 72.03 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:335:1 72.03 | 72.03 335 | / expr_node!( 72.03 336 | | /// A conditional expression. 72.03 337 | | struct Conditional { 72.03 338 | | /// The condition. 72.03 ... | 72.03 344 | | } 72.03 345 | | ); 72.03 | |_- in this macro invocation 72.03 | 72.03 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.03 72.04 error[E0425]: cannot find value `__deserializer` in this scope 72.04 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.04 | 72.04 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.04 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.04 | 72.04 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:347:1 72.04 | 72.04 347 | / expr_node!( 72.04 348 | | struct ElementaryTypeNameExpression { 72.04 349 | | type_name: ElementaryOrRawTypeName, 72.04 350 | | } 72.04 351 | | ); 72.04 | |_- in this macro invocation 72.04 | 72.04 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.04 72.06 error[E0425]: cannot find value `__deserializer` in this scope 72.06 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.06 | 72.06 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.06 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.06 | 72.06 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:375:1 72.06 | 72.06 375 | / expr_node!( 72.06 376 | | /// A function call expression. 72.06 377 | | struct FunctionCall { 72.06 378 | | arguments: Vec, 72.06 ... | 72.06 384 | | } 72.06 385 | | ); 72.06 | |_- in this macro invocation 72.06 | 72.06 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.06 72.08 error[E0425]: cannot find value `__deserializer` in this scope 72.08 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.08 | 72.08 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.08 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.08 | 72.08 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:399:1 72.08 | 72.08 399 | / expr_node!( 72.08 400 | | /// A function call options expression (e.g. `x.f{gas: 1}`). 72.08 401 | | struct FunctionCallOptions { 72.08 402 | | expression: Expression, 72.08 ... | 72.08 405 | | } 72.08 406 | | ); 72.08 | |_- in this macro invocation 72.08 | 72.08 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.08 72.09 error[E0425]: cannot find value `__deserializer` in this scope 72.09 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:411:45 72.09 | 72.09 411 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.09 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.09 72.10 error[E0425]: cannot find value `__deserializer` in this scope 72.10 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.10 | 72.10 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.10 | 72.10 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:420:1 72.10 | 72.10 420 | / expr_node!( 72.10 421 | | /// An index access. 72.10 422 | | struct IndexAccess { 72.10 423 | | base_expression: Expression, 72.10 424 | | index_expression: Option, 72.10 425 | | } 72.10 426 | | ); 72.10 | |_- in this macro invocation 72.10 | 72.10 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.10 72.12 error[E0425]: cannot find value `__deserializer` in this scope 72.12 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.12 | 72.12 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.12 | 72.12 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:428:1 72.12 | 72.12 428 | / expr_node!( 72.12 429 | | /// An index range access. 72.12 430 | | struct IndexRangeAccess { 72.12 431 | | base_expression: Expression, 72.12 ... | 72.12 434 | | } 72.12 435 | | ); 72.12 | |_- in this macro invocation 72.12 | 72.12 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.12 72.13 error[E0425]: cannot find value `__deserializer` in this scope 72.13 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.13 | 72.13 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.13 | 72.13 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:437:1 72.13 | 72.13 437 | / expr_node!( 72.13 438 | | /// A literal value. 72.13 439 | | struct Literal { 72.13 440 | | // TODO 72.13 ... | 72.13 445 | | } 72.13 446 | | ); 72.13 | |_- in this macro invocation 72.13 | 72.13 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.13 72.15 error[E0425]: cannot find value `__deserializer` in this scope 72.15 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.15 | 72.15 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.15 | 72.15 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:464:1 72.15 | 72.15 464 | / expr_node!( 72.15 465 | | /// Member access. 72.15 466 | | struct MemberAccess { 72.15 467 | | expression: Expression, 72.15 ... | 72.15 470 | | } 72.15 471 | | ); 72.15 | |_- in this macro invocation 72.15 | 72.15 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.15 72.15 error[E0425]: cannot find value `__deserializer` in this scope 72.15 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.15 | 72.15 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.15 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.15 | 72.15 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:473:1 72.15 | 72.15 473 | / expr_node!( 72.15 474 | | /// A `new` expression. 72.15 475 | | struct NewExpression { 72.15 476 | | type_name: TypeName, 72.15 477 | | } 72.15 478 | | ); 72.15 | |_- in this macro invocation 72.15 | 72.15 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.15 72.17 error[E0424]: expected value, found module `self` 72.17 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 72.17 | 72.17 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.17 | 72.17 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.17 | 72.17 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.17 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.17 72.18 error[E0425]: cannot find value `__s` in this scope 72.18 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 72.18 | 72.18 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.18 72.19 error[E0425]: cannot find value `__deserializer` in this scope 72.19 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:511:33 72.19 | 72.19 511 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.19 72.19 error[E0425]: cannot find value `__deserializer` in this scope 72.19 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:513:45 72.19 | 72.19 513 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.19 72.21 error[E0425]: cannot find value `__deserializer` in this scope 72.21 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.21 | 72.21 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.21 | 72.21 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:607:1 72.21 | 72.21 607 | / expr_node!( 72.21 608 | | /// A tuple expression. 72.21 609 | | struct TupleExpression { 72.21 610 | | components: Vec, 72.21 611 | | is_inline_array: bool, 72.21 612 | | } 72.21 613 | | ); 72.21 | |_- in this macro invocation 72.21 | 72.21 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.21 72.22 error[E0425]: cannot find value `__deserializer` in this scope 72.22 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:41:53 72.22 | 72.22 41 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.22 | 72.22 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:615:1 72.22 | 72.22 615 | / expr_node!( 72.22 616 | | /// A unary operation. 72.22 617 | | struct UnaryOperation { 72.22 618 | | operator: UnaryOperator, 72.22 ... | 72.22 622 | | } 72.22 623 | | ); 72.22 | |_- in this macro invocation 72.22 | 72.22 = note: this error originates in the macro `expr_node` (in Nightly builds, run with -Z macro-backtrace for more info) 72.22 72.23 error[E0424]: expected value, found module `self` 72.23 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 72.23 | 72.23 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.23 | 72.23 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.23 | 72.23 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.23 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.23 72.24 error[E0425]: cannot find value `__s` in this scope 72.24 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 72.25 | 72.25 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.25 72.25 error[E0425]: cannot find value `__deserializer` in this scope 72.25 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:652:33 72.25 | 72.25 652 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.25 72.27 error[E0424]: expected value, found module `self` 72.27 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 72.27 | 72.27 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.27 | 72.27 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.27 | 72.27 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.27 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.27 72.27 error[E0425]: cannot find value `__s` in this scope 72.27 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 72.27 | 72.27 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.27 72.27 error[E0425]: cannot find value `__deserializer` in this scope 72.27 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:663:33 72.27 | 72.27 663 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.27 72.28 error[E0424]: expected value, found module `self` 72.28 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 72.28 | 72.28 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.28 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.28 | 72.28 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.28 | 72.28 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.28 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.28 72.29 error[E0425]: cannot find value `__s` in this scope 72.29 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 72.29 | 72.29 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.29 72.30 error[E0425]: cannot find value `__deserializer` in this scope 72.30 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:672:33 72.30 | 72.30 672 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.30 72.31 error[E0424]: expected value, found module `self` 72.31 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 72.31 | 72.31 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.31 | 72.31 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.31 | 72.31 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.31 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.31 72.32 error[E0425]: cannot find value `__s` in this scope 72.32 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 72.32 | 72.32 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.32 72.33 error[E0425]: cannot find value `__deserializer` in this scope 72.33 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:684:33 72.33 | 72.33 684 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.33 72.35 error[E0424]: expected value, found module `self` 72.35 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 72.35 | 72.35 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.35 | 72.35 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.35 | 72.35 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.35 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.35 72.36 error[E0425]: cannot find value `__s` in this scope 72.36 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 72.36 | 72.36 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.36 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.36 72.37 error[E0425]: cannot find value `__deserializer` in this scope 72.37 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:697:33 72.37 | 72.37 697 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.37 72.38 error[E0425]: cannot find value `__deserializer` in this scope 72.38 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:797:45 72.38 | 72.38 797 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.38 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.38 72.39 error[E0424]: expected value, found module `self` 72.39 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 72.39 | 72.39 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.39 | 72.39 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.39 | 72.39 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.39 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.39 72.40 error[E0425]: cannot find value `__s` in this scope 72.40 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 72.40 | 72.40 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.40 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.40 72.41 error[E0425]: cannot find value `__deserializer` in this scope 72.41 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:990:33 72.41 | 72.41 990 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.41 72.42 error[E0425]: cannot find value `__deserializer` in this scope 72.42 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:992:45 72.42 | 72.42 992 | #[serde(default, deserialize_with = "serde_helpers::default_for_null")] 72.42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.42 72.44 error[E0424]: expected value, found module `self` 72.44 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 72.44 | 72.44 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.44 | 72.44 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.44 | 72.44 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.44 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.44 72.45 error[E0425]: cannot find value `__s` in this scope 72.45 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 72.45 | 72.45 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.45 72.46 error[E0425]: cannot find value `__deserializer` in this scope 72.46 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1008:33 72.46 | 72.46 1008 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.46 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.46 72.48 error[E0424]: expected value, found module `self` 72.48 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 72.48 | 72.48 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.48 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.48 | 72.48 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.48 | 72.48 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.48 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.48 72.49 error[E0425]: cannot find value `__s` in this scope 72.49 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 72.49 | 72.49 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.49 72.50 error[E0425]: cannot find value `__deserializer` in this scope 72.50 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1021:33 72.50 | 72.50 1021 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.50 72.52 error[E0424]: expected value, found module `self` 72.52 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 72.52 | 72.52 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.52 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `self` value is a keyword only available in methods with a `self` parameter 72.52 | 72.52 ::: /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/macros.rs:13:47 72.52 | 72.52 13 | #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] 72.52 | --------- this function has a `self` parameter, but a macro invocation can only access identifiers it receives from parameters 72.52 72.53 error[E0425]: cannot find value `__s` in this scope 72.53 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 72.53 | 72.53 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.53 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.53 72.55 error[E0425]: cannot find value `__deserializer` in this scope 72.55 --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/ethers-solc-2.0.10/src/artifacts/ast/mod.rs:1051:33 72.55 | 72.55 1051 | #[serde(default, with = "serde_helpers::display_from_str_opt")] 72.55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 72.55 73.95 Compiling clap v4.5.20 79.50 Some errors have detailed explanations: E0424, E0425. 79.50 For more information about an error, try `rustc --explain E0424`. 79.51 error: could not compile `ethers-solc` (lib) due to 50 previous errors 79.58 error: failed to compile `bulloak v0.8.0`, intermediate artifacts can be found at `/tmp/cargo-installyJWzTb`. 79.58 To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. ------ 1 warning found (use docker --debug to expand): - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 5) Dockerfile:3 -------------------- 1 | FROM rust:1-bullseye 2 | 3 | >>> RUN cargo install bulloak 4 | 5 | CMD bulloak -------------------- ERROR: failed to solve: process "/bin/sh -c cargo install bulloak" did not complete successfully: exit code: 101 ```

As a workaround, I managed to get a usable binary with docker run -it nixos/nix and launching nix-shell -p bulloak (cargo install bulloak@0.6.1 still failed on Mac). Still, I assume that this is not the expected way to use it.

alexfertel commented 13 hours ago

Oooh, interesting, I got a very similar error today when installing a different crate. Let me try to reproduce.

alexfertel commented 13 hours ago

Dang it's a serde bug. See here

Let me know if you can fix locally. I tried installing bulloak on my machine without issues.