Giter VIP home page Giter VIP logo

Comments (3)

theanurin avatar theanurin commented on August 29, 2024

Right now

For example, I downloaded https://github.com/tonlabs/tonos-cli/archive/refs/tags/v0.13.0.tar.gz and trying to build by cargo build --release -j1

The build is failed.
Looks like latest TON-SDK 1.15.0 has API breaking change. If we will use Cargo.lock we can point to right commit of TON-SDK (not latest).

References:

Output:

   Compiling tonos-cli v0.13.0 (/build/tonos-cli-0.13.0)
error[E0027]: pattern does not mention field `signing_box_handle`
   --> src/debot/term_browser.rs:274:13
    |
274 |             DebotActivity::Transaction{msg: _, dst, out, fee, setcode, signkey} => {
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `signing_box_handle`
    |
help: include the missing field in the pattern
    |
274 |             DebotActivity::Transaction{msg: _, dst, out, fee, setcode, signkey, signing_box_handle } => {
    |                                                                               ^^^^^^^^^^^^^^^^^^^^^^
help: if you don't care about this missing field, you can explicitly ignore it
    |
274 |             DebotActivity::Transaction{msg: _, dst, out, fee, setcode, signkey, .. } => {
    |                                                                               ^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0027`.
error: could not compile `tonos-cli`

from ever-cli.

theanurin avatar theanurin commented on August 29, 2024

I made some research and I can confirm that Cargo.lock make right behaviour.

  1. I made sanity checker build via GitHub Actions to reproduce the issue with broken build. Here we can see that build on tag v0.13.0 is broken right now
  2. I made commit that adds Cargo.lock (with lock to TON-SDK 1.14.1) and this is repaired the build

If my contribution make sense, I will create PR.
Thanks, and wait for feedback.

Screenshot 2021-05-22 at 19 31 38

Screenshot 2021-05-22 at 19 49 04

from ever-cli.

Keshoid avatar Keshoid commented on August 29, 2024

Sorry for the delay. Agree it's a very good issue. Let's add Cargo.lock.

from ever-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.