Skip to content

Instantly share code, notes, and snippets.

@aqrln
Created August 15, 2023 17:50
Show Gist options
  • Save aqrln/b619c25880490af38a5fe12baefa52f3 to your computer and use it in GitHub Desktop.
Save aqrln/b619c25880490af38a5fe12baefa52f3 to your computer and use it in GitHub Desktop.
failures:
---- connector::sqlite::tests::in_memory_sqlite_works stdout ----
thread 'connector::sqlite::tests::in_memory_sqlite_works' panicked at 'assertion failed: matches!(err.kind(), ErrorKind :: TableDoesNotExist { .. })', src/connector/sqlite.rs:350:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- connector::sqlite::tests::unknown_table_should_give_a_good_error stdout ----
thread 'connector::sqlite::tests::unknown_table_should_give_a_good_error' panicked at 'Expected error TableDoesNotExist, got QueryError(PrepareFailed("SELECT `not_there`.* FROM `not_there`", "no such table: not_there"))', src/connector/sqlite.rs:324:18
---- tests::query::aliased_null_on_sqlite stdout ----
thread 'tests::query::aliased_null_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/query.rs:34:1
---- tests::query::aliased_value_on_sqlite stdout ----
thread 'tests::query::aliased_value_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Couldn't convert data to UTF-8"), original_code: None, original_message: None }', src/tests/query.rs:24:1
---- tests::query::coalesce_fun_on_sqlite stdout ----
thread 'tests::query::coalesce_fun_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Couldn't convert data to UTF-8"), original_code: None, original_message: None }', src/tests/query.rs:2059:1
---- tests::query::error::null_constraint_violation_on_sqlite stdout ----
thread 'tests::query::error::null_constraint_violation_on_sqlite' panicked at 'Error querying the database: Failed to fetch row: `constraint failed`', src/tests/query/error.rs:126:14
---- tests::query::error::column_does_not_exist_on_write_on_sqlite stdout ----
thread 'tests::query::error::column_does_not_exist_on_write_on_sqlite' panicked at 'Expected error ColumnNotFound, got QueryError(PrepareFailed("INSERT INTO `historicalkitty` (`id1`, `does_not_exist`) VALUES (?,?)", "table historicalkitty has no column named does_not_exist"))', src/tests/query/error.rs:55:14
---- tests::query::error::column_does_not_exist_on_read_on_sqlite stdout ----
thread 'tests::query::error::column_does_not_exist_on_read_on_sqlite' panicked at 'Expected error ColumnNotFound, got QueryError(PrepareFailed("Select does_not_exist from nimbleplough", "no such column: does_not_exist"))', src/tests/query/error.rs:79:14
---- tests::query::error::foreign_key_constraint_violation_on_sqlite stdout ----
thread 'tests::query::error::foreign_key_constraint_violation_on_sqlite' panicked at 'assertion failed: matches!(err.kind(), ErrorKind :: ForeignKeyConstraintViolation { .. })', src/tests/query/error.rs:219:5
---- tests::query::error::table_does_not_exist_on_sqlite stdout ----
thread 'tests::query::error::table_does_not_exist_on_sqlite' panicked at 'Expected error TableDoesNotExist, got QueryError(PrepareFailed("SELECT `not_there`.* FROM `not_there`", "no such table: not_there"))', src/tests/query/error.rs:18:14
---- tests::query::error::unique_constraint_violation_on_sqlite stdout ----
thread 'tests::query::error::unique_constraint_violation_on_sqlite' panicked at 'Error querying the database: Failed to fetch row: `constraint failed`', src/tests/query/error.rs:109:14
---- tests::query::left_join_on_sqlite stdout ----
thread 'tests::query::left_join_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/query.rs:463:1
---- tests::query::multiple_common_table_expressions_on_sqlite stdout ----
thread 'tests::query::multiple_common_table_expressions_on_sqlite' panicked at 'assertion failed: `(left == right)`
left: `Some(Int64(Some(1)))`,
right: `Some(Int32(Some(1)))`', src/tests/query.rs:1782:9
---- tests::query::select_comment_on_sqlite stdout ----
thread 'tests::query::select_comment_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Couldn't convert data to UTF-8"), original_code: None, original_message: None }', src/tests/query.rs:2931:1
---- tests::query::single_common_table_expression_on_sqlite stdout ----
thread 'tests::query::single_common_table_expression_on_sqlite' panicked at 'assertion failed: `(left == right)`
left: `Some(Int64(Some(1)))`,
right: `Some(Int32(Some(1)))`', src/tests/query.rs:1747:9
---- tests::query::order_by_nulls_first_last_on_sqlite stdout ----
thread 'tests::query::order_by_nulls_first_last_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/query.rs:3156:1
---- tests::query::single_value_on_sqlite stdout ----
thread 'tests::query::single_value_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Couldn't convert data to UTF-8"), original_code: None, original_message: None }', src/tests/query.rs:14:1
---- tests::query::table_left_join_on_sqlite stdout ----
thread 'tests::query::table_left_join_on_sqlite' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/query.rs:504:1
---- tests::types::sqlite::test_type_blob stdout ----
thread 'tests::types::sqlite::test_type_blob' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:57:1
---- tests::types::sqlite::test_type_big_int stdout ----
thread 'tests::types::sqlite::test_type_big_int' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:23:1
---- tests::types::sqlite::test_type_date stdout ----
thread 'tests::types::sqlite::test_type_date' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:82:1
---- tests::types::sqlite::test_type_double stdout ----
thread 'tests::types::sqlite::test_type_double' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:66:1
---- tests::types::sqlite::test_type_datetime stdout ----
thread 'tests::types::sqlite::test_type_datetime' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:90:1
---- tests::types::sqlite::test_type_boolean stdout ----
thread 'tests::types::sqlite::test_type_boolean' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:73:1
---- tests::types::sqlite::test_type_double_decimal stdout ----
thread 'tests::types::sqlite::test_type_double_decimal' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:45:1
---- tests::types::sqlite::test_type_integer stdout ----
thread 'tests::types::sqlite::test_type_integer' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:11:1
---- tests::types::sqlite::test_type_float_decimal stdout ----
thread 'tests::types::sqlite::test_type_float_decimal' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:34:1
---- tests::types::sqlite::test_type_real stdout ----
thread 'tests::types::sqlite::test_type_real' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:31:1
---- tests::types::sqlite::test_type_float stdout ----
thread 'tests::types::sqlite::test_type_float' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:64:1
---- tests::types::sqlite::test_type_text stdout ----
thread 'tests::types::sqlite::test_type_text' panicked at 'called `Result::unwrap()` on an `Err` value: Error { kind: ConversionError("Value null not supported"), original_code: None, original_message: None }', src/tests/types/sqlite.rs:55:1
---- tests::types::sqlite::test_type_text_datetime_rfc3339_on_sqlite stdout ----
thread 'tests::types::sqlite::test_type_text_datetime_rfc3339_on_sqlite' panicked at 'assertion failed: `(left == right)`
left: `Some(DateTime(Some(2023-08-15T17:11:37.041654811Z)))`,
right: `Some(Text(Some("2023-08-15T17:11:37.041654811+00:00")))`', src/tests/types/sqlite.rs:113:5
---- tests::types::sqlite::test_type_text_datetime_custom_on_sqlite stdout ----
thread 'tests::types::sqlite::test_type_text_datetime_custom_on_sqlite' panicked at 'assertion failed: `(left == right)`
left: `Some(DateTime(Some(2020-04-20T16:20:00Z)))`,
right: `Some(Text(Some("2020-04-20 16:20:00")))`', src/tests/types/sqlite.rs:159:5
---- tests::types::sqlite::test_type_text_datetime_rfc2822_on_sqlite stdout ----
thread 'tests::types::sqlite::test_type_text_datetime_rfc2822_on_sqlite' panicked at 'assertion failed: `(left == right)`
left: `Some(DateTime(Some(2003-07-01T08:52:37Z)))`,
right: `Some(Text(Some("Tue, 01 Jul 2003 08:52:37 +0000")))`', src/tests/types/sqlite.rs:136:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment