Cannot build master branch
sevenzing opened this issue · 1 comments
sevenzing commented
trying to use latest version in my project and trying to build master branch results in compile error:
> cargo build
Compiling fang v0.11.0-rc1 (./fang/fang)
error[E0432]: unresolved import `sqlx::any`
--> fang/src/asynk/async_queue.rs:16:11
|
16 | use sqlx::any::AnyConnectOptions;
| ^^^ could not find `any` in `sqlx`
error[E0432]: unresolved import `sqlx::any`
--> fang/src/asynk/async_queue.rs:17:11
|
17 | use sqlx::any::AnyKind;
| ^^^ could not find `any` in `sqlx`
error[E0432]: unresolved import `sqlx::any`
--> fang/src/asynk/backend_sqlx.rs:4:11
|
4 | use sqlx::any::AnyQueryResult;
| ^^^ could not find `any` in `sqlx`
error[E0282]: type annotations needed
--> fang/src/asynk/backend_sqlx.rs:343:14
|
343 | .into()
| ^^^^
|
help: try using a fully qualified path to specify the expected types
|
340 ~ Ok(<<DB as sqlx::Database>::QueryResult as Into<T>>::into(sqlx::query(query)
341 | .execute(pool)
342 ~ .await?)
|
error[E0282]: type annotations needed
--> fang/src/asynk/backend_sqlx.rs:360:14
|
360 | .into()
| ^^^^
|
help: try using a fully qualified path to specify the expected types
|
356 ~ Ok(<<DB as sqlx::Database>::QueryResult as Into<T>>::into(sqlx::query(query)
357 | .bind(now)
358 | .execute(pool)
359 ~ .await?)
|
error[E0282]: type annotations needed
--> fang/src/asynk/backend_sqlx.rs:375:14
|
375 | .into()
| ^^^^
|
help: try using a fully qualified path to specify the expected types
|
371 ~ let result = <<DB as sqlx::Database>::QueryResult as Into<T>>::into(sqlx::query(query)
372 | .bind(uuid)
373 | .execute(pool)
374 ~ .await?)
|
error[E0282]: type annotations needed
--> fang/src/asynk/backend_sqlx.rs:401:14
|
401 | .into()
| ^^^^
|
help: try using a fully qualified path to specify the expected types
|
397 ~ Ok(<<DB as sqlx::Database>::QueryResult as Into<T>>::into(sqlx::query(query)
398 | .bind(uniq_hash)
399 | .execute(pool)
400 ~ .await?)
|
error[E0282]: type annotations needed
--> fang/src/asynk/backend_sqlx.rs:416:14
|
416 | .into()
| ^^^^
|
help: try using a fully qualified path to specify the expected types
|
412 ~ Ok(<<DB as sqlx::Database>::QueryResult as Into<T>>::into(sqlx::query(query)
413 | .bind(task_type)
414 | .execute(pool)
415 ~ .await?)
|
Some errors have detailed explanations: E0282, E0432.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `fang` (lib) due to 8 previous errors