Compiling ormer v0.1.3 (E:\GitHub_fa\ormer\ormer)
warning: unused variable: `config`
--> ormer\tests\syntax_validation.rs:26:40
|
26 | async fn test_model_constants_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: function `test_mapped_select_basic_impl` is never used
--> ormer\tests\subquery_test.rs:26:10
|
26 | async fn test_mapped_select_basic_impl(config: &_test_common::DbConfig) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:12:36
|
12 | async fn test_typed_column_i8_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:21:37
|
21 | async fn test_typed_column_i16_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:30:37
|
30 | async fn test_typed_column_u32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:39:37
|
39 | async fn test_typed_column_u64_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:48:39
|
48 | async fn test_typed_column_usize_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:58:37
|
58 | async fn test_typed_column_f32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:67:37
|
67 | async fn test_typed_column_f64_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:77:40
|
77 | async fn test_typed_column_string_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:86:41
|
86 | async fn test_typed_column_str_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:96:30
|
96 | async fn test_is_in_i32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:106:30
|
106 | async fn test_is_in_i64_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\typed_column_types_test.rs:116:33
|
116 | async fn test_is_in_string_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused import: `ormer::abstract_layer::DbType`
--> ormer\tests\new_features_test.rs:2:5
|
2 | use ormer::abstract_layer::DbType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:14:37
|
14 | async fn test_in_statement_i32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:26:41
|
26 | async fn test_in_statement_i32_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:40:40
|
40 | async fn test_in_statement_string_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:55:44
|
55 | async fn test_in_statement_string_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:68:37
|
68 | async fn test_in_statement_str_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:79:42
|
79 | async fn test_in_with_other_filters_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:94:35
|
94 | async fn test_in_empty_array_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:107:31
|
107 | async fn test_in_vec_i32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:118:35
|
118 | async fn test_in_vec_i32_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:132:34
|
132 | async fn test_in_vec_string_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:143:38
|
143 | async fn test_in_vec_string_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:156:31
|
156 | async fn test_in_vec_str_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:169:33
|
169 | async fn test_in_array_i32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:180:37
|
180 | async fn test_in_array_i32_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:194:36
|
194 | async fn test_in_array_string_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:205:40
|
205 | async fn test_in_array_string_ref_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:218:33
|
218 | async fn test_in_array_str_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:231:41
|
231 | async fn test_in_literal_array_i32_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unused variable: `config`
--> ormer\tests\in_statement_test.rs:244:41
|
244 | async fn test_in_literal_array_str_impl(config: &_test_common::DbConfig) {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
warning: unreachable pattern
--> ormer\tests\create_table_test.rs:62:13
|
62 | _ => {}
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> ormer\tests\create_table_test.rs:62:13
|
41 | ormer::DbType::Turso => {
| -------------------- matches some of the same values
...
48 | ormer::DbType::PostgreSQL => {
| ------------------------- matches some of the same values
...
55 | ormer::DbType::MySQL => {
| -------------------- matches some of the same values
...
62 | _ => {}
| ^ collectively making this unreachable
= note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
warning: unreachable pattern
--> ormer\tests\create_table_test.rs:74:17
|
74 | _ => "Unknown",
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> ormer\tests\create_table_test.rs:74:17
|
69 | ormer::DbType::Turso => "Turso",
| -------------------- matches some of the same values
70 | #[cfg(feature = "postgresql")]
71 | ormer::DbType::PostgreSQL => "PostgreSQL",
| ------------------------- matches some of the same values
72 | #[cfg(feature = "mysql")]
73 | ormer::DbType::MySQL => "MySQL",
| -------------------- matches some of the same values
74 | _ => "Unknown",
| ^ collectively making this unreachable
warning: unreachable pattern
--> ormer\tests\create_table_test.rs:307:13
|
307 | _ => {}
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> ormer\tests\create_table_test.rs:307:13
|
280 | ormer::DbType::Turso => {
| -------------------- matches some of the same values
...
289 | ormer::DbType::PostgreSQL => {
| ------------------------- matches some of the same values
...
298 | ormer::DbType::MySQL => {
| -------------------- matches some of the same values
...
307 | _ => {}
| ^ collectively making this unreachable
warning: unreachable pattern
--> ormer\tests\create_table_test.rs:319:17
|
319 | _ => "Unknown",
| ^ no value can reach this
|
note: multiple earlier patterns match some of the same values
--> ormer\tests\create_table_test.rs:319:17
|
314 | ormer::DbType::Turso => "Turso",
| -------------------- matches some of the same values
315 | #[cfg(feature = "postgresql")]
316 | ormer::DbType::PostgreSQL => "PostgreSQL",
| ------------------------- matches some of the same values
317 | #[cfg(feature = "mysql")]
318 | ormer::DbType::MySQL => "MySQL",
| -------------------- matches some of the same values
319 | _ => "Unknown",
| ^ collectively making this unreachable
warning: unused import: `Database`
--> ormer\tests\step_by_step_test.rs:1:13
|
1 | use ormer::{Database, Model};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `Database` and `DbType`
--> ormer\tests\exec_sql_test.rs:1:13
|
1 | use ormer::{Database, DbType, Model};
| ^^^^^^^^ ^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `Database` and `DbType`
--> ormer\tests\collect_with_test.rs:1:13
|
1 | use ormer::{Database, DbType, Model};
| ^^^^^^^^ ^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused imports: `Database` and `DbType`
--> ormer\tests\main_usage_test.rs:1:13
|
1 | use ormer::{Database, DbType, Model};
| ^^^^^^^^ ^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: unused import: `Database`
--> ormer\tests\map_to_complete_test.rs:1:13
|
1 | use ormer::{Database, Model};
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
warning: `ormer` (test "syntax_validation") generated 1 warning (run `cargo fix --test "syntax_validation" -p ormer` to apply 1 suggestion)
warning: `ormer` (test "subquery_test") generated 1 warning
warning: `ormer` (test "new_features_test") generated 1 warning (run `cargo fix --test "new_features_test" -p ormer` to apply 1 suggestion)
warning: `ormer` (test "typed_column_types_test") generated 12 warnings (run `cargo fix --test "typed_column_types_test" -p ormer` to apply 12 suggestions)
warning: `ormer` (test "in_statement_test") generated 19 warnings (run `cargo fix --test "in_statement_test" -p ormer` to apply 19 suggestions)
warning: `ormer` (test "create_table_test") generated 4 warnings
warning: `ormer` (test "exec_sql_test") generated 1 warning (run `cargo fix --test "exec_sql_test" -p ormer` to apply 1 suggestion)
warning: `ormer` (test "step_by_step_test") generated 1 warning (run `cargo fix --test "step_by_step_test" -p ormer` to apply 1 suggestion)
^C