You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the latest version of the dependencies found in this Cargo.toml
cargo build
this happens:
Compiling seaography v1.1.0
error[E0599]: no method named `clone` found for enum `DatabaseConnection` in the current scope
--> /Users/everdrone/.cargo/registry/src/index.crates.io-6f17d22bba15001f/seaography-1.1.0/src/builder.rs:177:54
|
177 | OneToOneLoader::<T>::new(self.connection.clone()),
| ^^^^^
|
help: there is a method `close` with a similar name
|
177 | OneToOneLoader::<T>::new(self.connection.close()),
| ~~~~~
error[E0599]: no method named `clone` found for enum `DatabaseConnection` in the current scope
--> /Users/everdrone.cargo/registry/src/index.crates.io-6f17d22bba15001f/seaography-1.1.0/src/builder.rs:193:55
|
193 | OneToManyLoader::<T>::new(self.connection.clone()),
| ^^^^^
|
help: there is a method `close` with a similar name
|
193 | OneToManyLoader::<T>::new(self.connection.close()),
| ~~~~~
For more information about this error, try `rustc --explain E0599`.
error: could not compile `seaography` (lib) due to 2 previous errors
Steps to Reproduce
cargo build
Expected Behavior
The binary compiles without issues
Actual Behavior
Compilation error from seaography
Versions
database: postgresql:alpine (latest)
os: macOS 15.0.1
The text was updated successfully, but these errors were encountered: