homebrew-core icon indicating copy to clipboard operation
homebrew-core copied to clipboard

sui 1.28.1

Open johnjmartin opened this issue 1 year ago • 1 comments

Created by https://github.com/mislav/bump-homebrew-formula-action

From release: https://github.com/MystenLabs/sui/actions/runs/9716977150

johnjmartin avatar Jun 28 '24 19:06 johnjmartin

     Compiling sui-indexer v1.28.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-indexer)
  error[E0310]: the parameter type `T` may not live long enough
     --> crates/sui-indexer/src/handlers/checkpoint_handler.rs:73:1
      |
  73  | / {
  74  | |     let checkpoint_queue_size = std::env::var("CHECKPOINT_QUEUE_SIZE")
  75  | |         .unwrap_or(CHECKPOINT_QUEUE_SIZE.to_string())
  76  | |         .parse::<usize>()
  ...   |
  103 | |     ))
  104 | | }
      | | ^
      | | |
      | |_the parameter type `T` must be valid for the static lifetime...
      |   ...so that the type `T` will meet its required lifetime bounds
      |
  help: consider adding an explicit lifetime bound
      |
  72  |     T: R2D2Connection + 'static,
      |                       +++++++++
  
     Compiling sui-replay v0.1.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui-replay)
  error[E0310]: the parameter type `T` may not live long enough
    --> crates/sui-indexer/src/test_utils.rs:48:64
     |
  48 |   ) -> (PgIndexerStore<T>, JoinHandle<Result<(), IndexerError>>) {
     |  ________________________________________________________________^
  49 | |     start_test_indexer_impl(
  50 | |         db_url,
  51 | |         rpc_url,
  ...  |
  57 | |     .await
  58 | | }
     | | ^
     | | |
     | |_the parameter type `T` must be valid for the static lifetime...
     |   ...so that the type `T` will meet its required lifetime bounds
     |
  help: consider adding an explicit lifetime bound
     |
  43 | pub async fn start_test_indexer<T: R2D2Connection + Send + 'static>(
     |                                                          +++++++++
  
  error[E0310]: the parameter type `T` may not live long enough
     --> crates/sui-indexer/src/test_utils.rs:67:64
      |
  67  |   ) -> (PgIndexerStore<T>, JoinHandle<Result<(), IndexerError>>) {
      |  ________________________________________________________________^
  68  | |     // Reduce the connection pool size to 10 for testing
  69  | |     // to prevent maxing out
  70  | |     info!("Setting DB_POOL_SIZE to 10");
  ...   |
  164 | |     (store, handle)
  165 | | }
      | | ^
      | | |
      | |_the parameter type `T` must be valid for the static lifetime...
      |   ...so that the type `T` will meet its required lifetime bounds
      |
  help: consider adding an explicit lifetime bound
      |
  60  | pub async fn start_test_indexer_impl<T: R2D2Connection + 'static>(
      |                                                        +++++++++
  
  For more information about this error, try `rustc --explain E0310`.
  error: could not compile `sui-indexer` (lib) due to 3 previous errors
  warning: build failed, waiting for other jobs to finish...
  warning: `sui-core` (lib) generated 4 warnings
  error: failed to compile `sui v1.28.0 (/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/crates/sui)`, intermediate artifacts can be found at `/private/tmp/sui-20240628-8437-5w2guc/sui-testnet-v1.28.1/target`.

chenrui333 avatar Jun 29 '24 03:06 chenrui333