Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix client build #4014

Closed
mversic opened this issue Oct 25, 2023 · 1 comment
Closed

Fix client build #4014

mversic opened this issue Oct 25, 2023 · 1 comment
Assignees
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix

Comments

@mversic
Copy link
Contributor

mversic commented Oct 25, 2023

Client cannot be built with cargo build -p iroha_client again due to recent changes in #3929

@mversic mversic added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Oct 25, 2023
@mversic mversic self-assigned this Oct 25, 2023
mversic added a commit to mversic/iroha that referenced this issue Oct 25, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
mversic added a commit to mversic/iroha that referenced this issue Oct 25, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
mversic added a commit to mversic/iroha that referenced this issue Oct 25, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
mversic added a commit that referenced this issue Oct 26, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
mversic added a commit to mversic/iroha that referenced this issue Oct 30, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
@timofeevmd timofeevmd self-assigned this Nov 3, 2023
@timofeevmd
Copy link
Contributor

timofeevmd commented Nov 3, 2023

what is done

iroha git:(iroha2-dev) cargo build -p iroha_client

 Compiling iroha_wasm_builder v2.0.0-pre-rc.20 (/Users/michaeltimofeev/Documents/projects/iroha/wasm_builder)
   Compiling iroha_client v2.0.0-pre-rc.20 (/Users/michaeltimofeev/Documents/projects/iroha/client)
error: failed to run custom build command for `iroha_client v2.0.0-pre-rc.20 (/Users/michaeltimofeev/Documents/projects/iroha/client)`

Caused by:
  process didn't exit successfully: `/Users/michaeltimofeev/Documents/projects/iroha/target/debug/build/iroha_client-3d7b98df93d4a098/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=tests/integration/smartcontracts

  --- stderr
  Error: Failed to check the smartcontract at path: /Users/michaeltimofeev/Documents/projects/iroha/client/tests/integration/smartcontracts

  Caused by:
      `cargo check` returned non zero exit code (exit status: 101). Stderr:
      warning: /Users/michaeltimofeev/Documents/projects/iroha/schema/Cargo.toml: unused manifest key `lints` (may be supported in a future version)

      consider passing `-Zlints` to enable this feature.
      warning: /Users/michaeltimofeev/Documents/projects/iroha/smart_contract/trigger/Cargo.toml: unused manifest key `lints` (may be supported in a future version)

      consider passing `-Zlints` to enable this feature.
      warning: /Users/michaeltimofeev/Documents/projects/iroha/smart_contract/executor/Cargo.toml: unused manifest key `lints` (may be supported in a future version)
 iroha git:(iroha2-dev) cargo +nightly-2022-12-22 build -p iroha_client_cli

 Compiling proc-macro-utils v0.8.0
   Compiling rustversion v1.0.14
   Compiling percent-encoding v2.3.0
   Compiling form_urlencoded v1.2.0
   Compiling manyhow-macros v0.8.1
error[E0658]: use of unstable library feature 'is_some_and'
   --> /Users/michaeltimofeev/.cargo/registry/src/github.com-1ecc6299db9ec823/manyhow-macros-0.8.1/src/lib.rs:283:33
    |
283 |             path.pop().as_ref().is_some_and(TokenTreePunct::is_semi),
    |                                 ^^^^^^^^^^^
    |
    = note: see issue #93050 <https://github.com/rust-lang/rust/issues/93050> for more information
    = help: add `#![feature(is_some_and)]` to the crate attributes to enable

For more information about this error, try `rustc --explain E0658`.
error: could not compile `manyhow-macros` due to previous error
warning: build failed, waiting for other jobs to finish...

@timofeevmd timofeevmd added the QA-confirmed This bug is reproduced and needs a fix label Nov 3, 2023
mversic added a commit to mversic/iroha that referenced this issue Nov 6, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
mversic added a commit that referenced this issue Nov 6, 2023
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST QA-confirmed This bug is reproduced and needs a fix
Projects
None yet
Development

No branches or pull requests

2 participants