Skip to content

Instantly share code, notes, and snippets.

@adam-singer
Created February 13, 2024 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adam-singer/ff64c6acd44234e001a77a1685a8c4a6 to your computer and use it in GitHub Desktop.
Save adam-singer/ff64c6acd44234e001a77a1685a8c4a6 to your computer and use it in GitHub Desktop.
Compiling nativelink-util v0.2.0 (/Users/adam/workspace/nativelink-2/nativelink-util)
error[E0277]: the size for values of type `Self` cannot be known at compilation time
--> nativelink-util/src/health_utils.rs:122:30
|
122 | HealthStatus::new_ok(self, "ok".into())
| ^^^^ doesn't have a size known at compile-time
|
= note: required for the cast from `&Self` to `&dyn HealthStatusIndicator`
error[E0277]: the size for values of type `Self` cannot be known at compilation time
--> nativelink-util/src/store_trait.rs:223:30
|
223 | HealthStatus::new_ok(self.get_ref(), "Successfully store health check".into())
| ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
= note: required for the cast from `&Self` to `&dyn HealthStatusIndicator`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment