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

sui 1.28.1 #175910

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

johnjmartin
Copy link
Contributor

@github-actions github-actions bot added the rust Rust use is a significant feature of the PR or issue label Jun 28, 2024
@chenrui333
Copy link
Member

     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 chenrui333 added the build failure CI fails while building the software label Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build failure CI fails while building the software rust Rust use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants