tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

failed to build 0.24.20 #1684

Closed chenrui333 closed 3 weeks ago

chenrui333 commented 1 month ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

error build log ``` error[E0599]: no method named `blocking_queue_depth` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:99:34 | 99 | .set(metrics.blocking_queue_depth() as f64); | ^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `injection_queue_depth` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:101:34 | 101 | .set(metrics.injection_queue_depth() as f64); | ^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `num_blocking_threads` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:103:34 | 103 | .set(metrics.num_blocking_threads() as f64); | ^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `num_idle_blocking_threads` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:105:34 | 105 | .set(metrics.num_idle_blocking_threads() as f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `io_driver_fd_deregistered_count` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:109:39 | 109 | .absolute(metrics.io_driver_fd_deregistered_count() as u64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `io_driver_fd_registered_count` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:111:39 | 111 | .absolute(metrics.io_driver_fd_registered_count() as u64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `io_driver_ready_count` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:113:39 | 113 | .absolute(metrics.io_driver_ready_count() as u64); | ^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` error[E0599]: no method named `remote_schedule_count` found for struct `RuntimeMetrics` in the current scope --> libsql-server/src/http/admin/mod.rs:115:39 | 115 | .absolute(metrics.remote_schedule_count() as u64); | ^^^^^^^^^^^^^^^^^^^^^ method not found in `RuntimeMetrics` For more information about this error, try `rustc --explain E0599`. The following warnings were emitted during compilation: ```

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/10477409925/job/29018548880?pr=181820 relates to Homebrew/homebrew-core#181820

chenrui333 commented 3 weeks ago

close via https://github.com/Homebrew/homebrew-core/pull/183257