Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gssvv
Copy link

@gssvv gssvv commented Aug 13, 2024

Problem:
During the build with cargo build --release, this issue shows up:

error[E0282]: type annotations needed for `Box<_>`
  --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

   Compiling synstructure v0.12.6
   Compiling http-body v0.4.6
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

This is a known issue described here — time-rs/time#681

Suggested solution

As suggested here, I added time = "0.3.36" to the Cargo.toml and my build succeeded.

Fixes #47

xzav3r and others added 23 commits December 22, 2023 16:16
* support brc20

* parallel read

* table opt

* add logs

* fix bug of cache

* update log

* fix bug of table

* add lru

* update tx out cache

* update log

* use simple lru

* delete simulate

* fix bug of BRC20_TRANSFERABLELOG

* update default lru_size

* fix cache feature

* fix lru

* fix bug of sending channal in parallel

* delete unused code

* bug fix: save new outpoints

* fix bug of receipts order
* commit options

* rename

* update
fixed CI for dev
* use same rtx in api: ord_outpoint

* fix: Incorrectly using multiple read transactions to read the database in the same API call.

* fix: charms fields

* fix lints

---------

Co-authored-by: wanyvic <[email protected]>
* feat: add utxo index for transferable assets.

* feat: add BRC20 utxo transferable assets and sat range interfaces

* add REST interface for sat range rarity.

* fix: BRC20 Transfer check failed.
* feat: support proposal for brc20 self issuance

* add part 2 for burned supply
@gssvv gssvv changed the title Upgrade of time package to "0.3.36" Upgrade "time" package to "0.3.36" Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error[E0282]: type annotations needed for Box<_>

5 participants