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
Cloned repo cd sui cargo install --path crates/sui
Received:
Compiling diesel-async v0.2.0
error[E0433]: failed to resolve: could not find `RowGatWorkaround` in `row`
--> /home/fastfrank/.cargo/registry/src/6github.com-1ecc6299db9ec823/diesel-async-0.2.0/src/pg/row.rs:30:39
|
30 | ) -> Option<<Self as diesel::row::RowGatWorkaround<'b, diesel::pg::Pg>>::Field>
| ^^^^^^^^^^^^^^^^ could not find `RowGatWorkaround` in `row`
error[E0405]: cannot find trait `RowGatWorkaround` in module `diesel::row`
--> /home/fastfrank/.cargo/registry/src/6github.com-1ecc6299db9ec823/diesel-async-0.2.0/src/pg/row.rs:16:23
|
16 | impl<'a> diesel::row::RowGatWorkaround<'a, diesel::pg::Pg> for PgRow {
| ^^^^^^^^^^^^^^^^ not found in `diesel::row`
Some errors have detailed explanations: E0405, E0433.
For more information about an error, try `rustc --explain E0405`.
The text was updated successfully, but these errors were encountered:
FrankC01
changed the title
Build from 'main'. failing as of 5-27-2023
Build from 'main'. failing on diesel-async as of 5-27-2023
May 27, 2023
Gave this a shot and was able to repro. Seems like the issue is that cargo install with a path does not respect Rust lockfiles unless the --locked flag is passed as well rust-lang/cargo#6983.
I was able to fix this by adding --locked to the command you have. So using the following command instead worked for me:
Ubunto
Cloned repo
cd sui
cargo install --path crates/sui
Received:
The text was updated successfully, but these errors were encountered: