- new::ref_actions::on_update::cascade::multiple_cascading_paths::it_should_work
- new::ref_actions::on_update::cascade::one2many_opt::update_compound_parent
- new::ref_actions::on_update::cascade::one2many_opt::update_parent
- new::ref_actions::on_update::cascade::one2many_req::update_parent
- new::ref_actions::on_update::cascade::one2one_opt::update_parent_cascade
- new::ref_actions::on_update::cascade::one2one_opt::update_parent_compound_cascade
- new::ref_actions::on_update::cascade::one2one_req::update_parent_cascade
- new::ref_actions::on_update::cascade::one2one_req::update_parent_compound_cascade
- new::ref_actions::on_update::restrict::one2many_opt::update_parent
- new::ref_actions::on_update::restrict::one2many_opt::update_parent_failure
- new::ref_actions::on_update::restrict::one2many_req::update_parent
- new::ref_actions::on_update::restrict::one2many_req::update_parent_failure
- new::ref_actions::on_update::restrict::one2one_opt::update_parent_failure
- new::ref_actions::on_update::restrict::one2one_req::update_parent_failure
- new::ref_actions::on_update::set_null::one2many_opt::update_compound_parent
- new::ref_actions::on_update::set_null::one2many_opt::update_parent
- new::ref_actions::on_update::set_null::one2many_opt::update_parent_compound_recurse
- new::ref_actions::on_update::set_null::one2many_opt::update_parent_no_recursion
- new::ref_actions::on_update::set_null::one2many_opt::update_parent_recurse_restrict_failure
- new::ref_actions::on_update::set_null::one2many_opt::update_parent_recurse_set_null
- new::ref_actions::on_update::set_null::one2one_opt::update_parent
- new::ref_actions::on_update::set_null::one2one_opt::update_parent_no_recursion
- new::ref_actions::on_update::set_null::one2one_opt::update_parent_recurse_restrict_failure
- new::ref_actions::on_update::set_null::one2one_opt::update_parent_recurse_set_null
1: new::ref_actions::on_update::cascade::one2many_opt::update_compound_parent (14)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at PrismaLibSQLAdapter.performIO (file:<PATH>:<DEC>:<DEC>)
at async PrismaLibSQLAdapter.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/cascade_onU_1toM_opt_update_compound_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
name String?
uniq_1 String?
uniq_2 String?
children Child[]
@@unique([uniq_1, uniq_2])
}
model Child {
id Int @id
name String?
parent_uniq_1 String?
parent_uniq_2 String?
parent Parent? @relation(fields: [parent_uniq_1, parent_uniq_2], references: [uniq_1, uniq_2], onUpdate: Cascade)
}
[2025-04-30T18:09:15Z INFO tracing::span] diff;
[2025-04-30T18:09:15Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:15Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/cascade_onU_1toM_opt_update_compound_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n name String?\n uniq_1 String?\n uniq_2 String?\n children Child[]\n\n @@unique([uniq_1, uniq_2])\n}\n\nmodel Child {\n id Int @id\n name String?\n parent_uniq_1 String?\n parent_uniq_2 String?\n parent Parent? @relation(fields: [parent_uniq_1, parent_uniq_2], references: [uniq_1, uniq_2], onUpdate: Cascade)\n}"), "url": String("file:/mnt/ram/db/cascade_onU_1toM_opt_update_compound_parent.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at PrismaLibSQLAdapter.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:248:13)
at async PrismaLibSQLAdapter.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
=====
thread 'new::ref_actions::on_update::cascade::one2many_opt::update_compound_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_update::cascade::one2many_opt::update_compound_parent
at ./tests/new/ref_actions/on_update/cascade.rs:433:5
28: query_engine_tests::new::ref_actions::on_update::cascade::one2many_opt::update_compound_parent::{{closure}}
at ./tests/new/ref_actions/on_update/cascade.rs:433:54
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: new::ref_actions::on_update::set_null::one2one_opt::update_parent (10)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at PrismaLibSQLAdapter.performIO (file:<PATH>:<DEC>:<DEC>)
at async PrismaLibSQLAdapter.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/setnull_onU_1to1_opt_update_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
uniq String? @unique
child Child?
}
model Child {
id Int @id
parent_uniq String? @unique
parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)
}
[2025-04-30T18:09:28Z INFO tracing::span] diff;
[2025-04-30T18:09:28Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:28Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/setnull_onU_1to1_opt_update_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n uniq String? @unique\n child Child?\n}\n\nmodel Child {\n id Int @id\n parent_uniq String? @unique\n parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)\n}"), "url": String("file:/mnt/ram/db/setnull_onU_1to1_opt_update_parent.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at PrismaLibSQLAdapter.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:248:13)
at async PrismaLibSQLAdapter.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:626:23)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
=====
thread 'new::ref_actions::on_update::set_null::one2one_opt::update_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_update::set_null::one2one_opt::update_parent
at ./tests/new/ref_actions/on_update/set_null.rs:28:5
28: query_engine_tests::new::ref_actions::on_update::set_null::one2one_opt::update_parent::{{closure}}
at ./tests/new/ref_actions/on_update/set_null.rs:28:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::native_upsert::native_upsert::should_not_use_if_where_and_create_different
- new::ref_actions::on_update::restrict::one2many_req::upsert_parent_failure
- new::ref_actions::on_update::set_null::one2many_opt::upsert_parent_nested
- queries::filters::one2one_regression::one2one_regression::work_with_nulls
- queries::filters::self_relation::self_relation_filters::l1_query
- queries::filters::self_relation::self_relation_filters::many2one_empty_filter
- queries::order_and_pagination::nested_pagination::nested_pagination::m2m_many_children_nested_cursor
- queries::order_and_pagination::nested_pagination::nested_pagination::m2m_many_children_nested_cursor_skip_take
- queries::order_and_pagination::nested_pagination::nested_pagination::m2m_many_children_nested_skip_take
- writes::ids::byoid::byoid::nested_upsert_should_work_2
- writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_multi_field_rel
- writes::ids::upsert_uuid::upsert_uuid::upsert_id_uuid_should_work
- writes::regressions::if_node_siblig_dep_regression::if_node_sibling::test
- writes::relations::rel_graphql::rel_graphql::one2one_rel_allow_one_item_per_side
- writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_delete_in_update
- writes::top_level_mutations::upsert::upsert::only_update_if_uniq_field_change
- writes::top_level_mutations::upsert::upsert::upsert_fails_if_filter_dont_match
- writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_upsert_multi_field_uniq
1: queries::filters::one2one_regression::one2one_regression::work_with_nulls (18)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/one2one_regression_work_with_nulls.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
name String?
friendOf User? @relation("Userfriend")
friend User? @relation("Userfriend", fields: [friendId], references: [id], onDelete: NoAction, onUpdate: NoAction)
friendId Int? @unique
}
[2025-04-30T18:09:54Z INFO tracing::span] diff;
[2025-04-30T18:09:54Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:54Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/one2one_regression_work_with_nulls.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n name String?\n friendOf User? @relation(\"Userfriend\")\n friend User? @relation(\"Userfriend\", fields: [friendId], references: [id], onDelete: NoAction, onUpdate: NoAction)\n friendId Int? @unique\n}\n"), "url": String("file:/mnt/ram/db/one2one_regression_work_with_nulls.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(1)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'queries::filters::one2one_regression::one2one_regression::work_with_nulls' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::filters::one2one_regression::one2one_regression::work_with_nulls
at ./tests/queries/filters/one2one_regression.rs:24:5
28: query_engine_tests::queries::filters::one2one_regression::one2one_regression::work_with_nulls::{{closure}}
at ./tests/queries/filters/one2one_regression.rs:24:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::aggregation::group_by::aggregation_group_by::group_by_multiple_ordering
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_and_having
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_multiple_fields
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_avg_aggregation
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_count_aggregation
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_max_aggregation
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_min_aggregation
- queries::aggregation::group_by::aggregation_group_by::group_by_ordering_sum_aggregation
- queries::aggregation::group_by::aggregation_group_by::group_by_relation_filters
- queries::aggregation::group_by::aggregation_group_by::group_by_rev_ordering
- queries::aggregation::group_by::aggregation_group_by::group_by_scalar_filters
- queries::aggregation::group_by::aggregation_group_by::group_by_some_records
- queries::aggregation::group_by_having::aggr_group_by_having::basic_having_scalar_filter
- queries::aggregation::group_by_having::decimal_aggregation_group_by_having::having_max_scalar_filter
- queries::aggregation::group_by_having::decimal_aggregation_group_by_having::having_min_scalar_filter
- queries::filters::field_reference::having_filter::having_filter::basic_having_filter
1: queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_multiple_fields (16)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Expected zero or one element, got <DEC>
at _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggregation_group_by_group_by_ordering_aggr_multiple_fields.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model A {
id Int @id
float Float
int Int
string String
b_id Int?
b B? @relation(fields: [b_id], references: [id])
}
model B {
id Int @id
field String
many_a A[]
}
[2025-04-30T18:09:23Z INFO tracing::span] diff;
[2025-04-30T18:09:23Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:23Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggregation_group_by_group_by_ordering_aggr_multiple_fields.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel A {\n id Int @id\n float Float\n int Int\n string String\n b_id Int?\n b B? @relation(fields: [b_id], references: [id])\n}\n\nmodel B {\n id Int @id\n field String\n many_a A[]\n}"), "url": String("file:/mnt/ram/db/aggregation_group_by_group_by_ordering_aggr_multiple_fields.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Expected zero or one element, got 3
at _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:631:17)
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:577:25)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:679:22)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:24)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_multiple_fields' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_multiple_fields
at ./tests/queries/aggregation/group_by.rs:447:5
28: query_engine_tests::queries::aggregation::group_by::aggregation_group_by::group_by_ordering_aggr_multiple_fields::{{closure}}
at ./tests/queries/aggregation/group_by.rs:447:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::native_upsert::native_upsert::should_not_use_native_upsert_on_two_uniques
- new::ref_actions::on_update::restrict::one2one_req::upsert_parent_failure
- new::ref_actions::on_update::set_null::one2many_opt::upsert_parent
- new::ref_actions::on_update::set_null::one2one_opt::upsert_parent
- queries::filters::self_relation::self_relation_filters::many2many_empty_every
- queries::filters::self_relation::self_relation_filters::many2many_empty_some
- queries::filters::self_relation::self_relation_filters::many2many_none
- queries::filters::self_relation::self_relation_filters::many2one_null_filter
- queries::filters::self_relation::self_relation_filters::one2one_null
- queries::filters::self_relation::self_relation_filters::one2one_null_fail
- writes::ids::byoid::byoid::upsert_should_work_2
- writes::ids::relation_pks::compound_pk_rel_field::compound_pk_rel::cpd_1_1_single_field_rel
- writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_create
- writes::uniques_and_node_selectors::relation_uniques::compound_uniq_rel_field::compound_uniq_rel_field::compound_uniq_with_1_1_multi_rel
- writes::uniques_and_node_selectors::relation_uniques::compound_uniq_rel_field::compound_uniq_rel_field::compound_uniq_with_1_1_single_rel
- writes::uniques_and_node_selectors::relation_uniques::compound_uniq_rel_field::compound_uniq_rel_field::compound_uniq_with_1_m_multi_rel
1: new::ref_actions::on_update::set_null::one2many_opt::upsert_parent (16)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/setnull_onU_1toM_opt_upsert_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
uniq String? @unique
children Child[]
}
model Child {
id Int @id
parent_uniq String?
parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)
}
[2025-04-30T18:09:21Z INFO tracing::span] diff;
[2025-04-30T18:09:21Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:21Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/setnull_onU_1toM_opt_upsert_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n uniq String? @unique\n children Child[]\n}\n\nmodel Child {\n id Int @id\n parent_uniq String?\n parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)\n}"), "url": String("file:/mnt/ram/db/setnull_onU_1toM_opt_upsert_parent.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(1)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'new::ref_actions::on_update::set_null::one2many_opt::upsert_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_update::set_null::one2many_opt::upsert_parent
at ./tests/new/ref_actions/on_update/set_null.rs:409:5
28: query_engine_tests::new::ref_actions::on_update::set_null::one2many_opt::upsert_parent::{{closure}}
at ./tests/new/ref_actions/on_update/set_null.rs:409:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::cursor::bigint_cursor::bigint_id_must_work
- new::regressions::prisma_14696::prisma_14696::create_does_not_panic
- new::regressions::prisma_15204::conversion_error::convert_to_bigint_sqlite_js
- queries::aggregation::min::aggregation_min::min_some_records
- queries::aggregation::min::aggregation_min::min_with_all_sorts_of_query_args
- queries::aggregation::sum::aggregation_sum::sum_some_records
- queries::aggregation::sum::aggregation_sum::sum_with_all_sorts_of_query_args
- queries::batching::select_one_singular::singular_batch::batch_bigint_id
- queries::data_types::bigint::bigint::read_many
- queries::data_types::bigint::bigint::read_one
- queries::data_types::through_relation::scalar_relations::common_types
- queries::simple::m2m::m2m::m2m_sharing_same_row
- writes::data_types::bigint::bigint::using_bigint_field
1: queries::aggregation::min::aggregation_min::min_with_all_sorts_of_query_args (13)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggregation_min_min_with_all_sorts_of_query_args.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
int Int
bInt BigInt
float Float
string String
}
[2025-04-30T18:09:48Z INFO tracing::span] diff;
[2025-04-30T18:09:48Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:48Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggregation_min_min_with_all_sorts_of_query_args.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n int Int\n bInt BigInt\n float Float\n string String\n}"), "url": String("file:/mnt/ram/db/aggregation_min_min_with_all_sorts_of_query_args.db")}
Test failed due to an error:
=====
External process error: Server error: TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:432:21)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::aggregation::min::aggregation_min::min_with_all_sorts_of_query_args' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::min::aggregation_min::min_with_all_sorts_of_query_args
at ./tests/queries/aggregation/min.rs:33:5
28: query_engine_tests::queries::aggregation::min::aggregation_min::min_with_all_sorts_of_query_args::{{closure}}
at ./tests/queries/aggregation/min.rs:33:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_restrict
- new::regressions::max_integer::max_integer::unfitted_int_should_fail
- new::regressions::prisma_15204::conversion_error::convert_to_int_sqlite_js
- new::regressions::prisma_7434::not_in_chunking::not_in_batch_filter
- queries::chunking::chunking::order_by_aggregation_should_fail
- queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_not_matching
- writes::top_level_mutations::delete::delete::delete_fails_if_filter_dont_match
1: new::regressions::prisma_15204::conversion_error::convert_to_int_sqlite_js (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"findManyTestModel":[{"field":<ID>}]}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/conversion_error_convert_to_int_sqlite_js.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field Int
}
[2025-04-30T18:09:29Z INFO tracing::span] diff;
[2025-04-30T18:09:29Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:29Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/conversion_error_convert_to_int_sqlite_js.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field Int\n}"), "url": String("file:/mnt/ram/db/conversion_error_convert_to_int_sqlite_js.db")}
thread 'new::regressions::prisma_15204::conversion_error::convert_to_int_sqlite_js' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"findManyTestModel":[{"field":18446744072438800000}]}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::new::regressions::prisma_15204::conversion_error::run_convert_to_int_sqlite_js::{{closure}}
at ./tests/new/regressions/prisma_15204.rs:49:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::new::regressions::prisma_15204::conversion_error::convert_to_int_sqlite_js
at ./tests/new/regressions/prisma_15204.rs:45:5
38: query_engine_tests::new::regressions::prisma_15204::conversion_error::convert_to_int_sqlite_js::{{closure}}
at ./tests/new/regressions/prisma_15204.rs:45:74
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: writes::top_level_mutations::delete::delete::delete_fails_if_filter_dont_match (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"deleteOneTestModel":null}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/delete_delete_fails_if_filter_dont_match.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:11:50Z INFO tracing::span] diff;
[2025-04-30T18:11:50Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:11:50Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/delete_delete_fails_if_filter_dont_match.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/delete_delete_fails_if_filter_dont_match.db")}
thread 'writes::top_level_mutations::delete::delete::delete_fails_if_filter_dont_match' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"deleteOneTestModel":null}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::writes::top_level_mutations::delete::delete::run_delete_fails_if_filter_dont_match::{{closure}}
at ./tests/writes/top_level_mutations/delete.rs:121:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::writes::top_level_mutations::delete::delete::delete_fails_if_filter_dont_match
at ./tests/writes/top_level_mutations/delete.rs:114:5
38: query_engine_tests::writes::top_level_mutations::delete::delete::delete_fails_if_filter_dont_match::{{closure}}
at ./tests/writes/top_level_mutations/delete.rs:114:39
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: new::regressions::max_integer::max_integer::unfitted_int_should_fail (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"createOneTest":{"id":<DEC>,"int":<ID>}}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/max_integer_unfitted_int_should_fail.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Test {
id Int @id
int Int
}
[2025-04-30T18:09:19Z INFO tracing::span] diff;
[2025-04-30T18:09:19Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:19Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/max_integer_unfitted_int_should_fail.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Test {\n id Int @id\n int Int\n}\n"), "url": String("file:/mnt/ram/db/max_integer_unfitted_int_should_fail.db")}
thread 'new::regressions::max_integer::max_integer::unfitted_int_should_fail' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"createOneTest":{"id":1,"int":2147483648}}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::new::regressions::max_integer::max_integer::run_unfitted_int_should_fail::{{closure}}
at ./tests/new/regressions/max_integer.rs:168:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::new::regressions::max_integer::max_integer::unfitted_int_should_fail
at ./tests/new/regressions/max_integer.rs:166:5
38: query_engine_tests::new::regressions::max_integer::max_integer::unfitted_int_should_fail::{{closure}}
at ./tests/new/regressions/max_integer.rs:166:68
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::data_types::through_relation::scalar_relations::decimal_type
- queries::data_types::through_relation::scalar_relations::json_type
- queries::filters::many_relation::many_relation::simple_scalar_filter
- queries::filters::one_relation::one_relation::nested_to_one_filter
- queries::filters::self_relation_regression::sr_regression::all_categories
- writes::data_types::decimal::decimal::using_decimal_as_id
- writes::top_level_mutations::create::json_create::create_json_adv
1: queries::data_types::through_relation::scalar_relations::decimal_type (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_decimal_type
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"{ findManyParent(orderBy: { id: asc }) { id children { childId dec } } }"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyParent":[{"id":<DEC>,"children":[{"childId":<DEC>,"dec":"<DEC>"},{"childId":<DEC>,"dec":"-<DEC>"},{"childId":<DEC>,"dec":"<DEC>.<DEC>"},{"childId":<DEC>,"dec":"<DEC>.<DEC>"}]}]}}
<DEC> │+{"data":{"findManyParent":[{"id":<DEC>,"children":[{"childId":<DEC>,"dec":<DEC>},{"childId":<DEC>,"dec":-<DEC>},{"childId":<DEC>,"dec":<DEC>.<DEC>},{"childId":<DEC>,"dec":<DEC>.<DEC>}]}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_decimal_type' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/scalar_relations_decimal_type.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
children Child[]
}
model Child {
childId Int @id
parentId Int?
parent Parent? @relation(fields: [parentId], references: [id])
dec Decimal
}
[2025-04-30T18:09:38Z INFO tracing::span] diff;
[2025-04-30T18:09:38Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:38Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/scalar_relations_decimal_type.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n\n children Child[]\n}\n\nmodel Child {\n childId Int @id\n\n parentId Int?\n parent Parent? @relation(fields: [parentId], references: [id])\n\n dec Decimal\n}\n"), "url": String("file:/mnt/ram/db/scalar_relations_decimal_type.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_decimal_type
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/through_relation.rs:198
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"{ findManyParent(orderBy: { id: asc }) { id children { childId dec } } }"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyParent":[{"id":1,"children":[{"childId":1,"dec":"1"},{"childId":2,"dec":"-1"},{"childId":3,"dec":"123.4567891"},{"childId":4,"dec":"95993.57"}]}]}}
0 │+{"data":{"findManyParent":[{"id":1,"children":[{"childId":1,"dec":1},{"childId":2,"dec":-1},{"childId":3,"dec":123.4567891},{"childId":4,"dec":95993.57}]}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::through_relation::scalar_relations::decimal_type' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_decimal_type' failed in line 198
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::through_relation::scalar_relations::run_decimal_type::{{closure}}
at ./tests/queries/data_types/through_relation.rs:198:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::through_relation::scalar_relations::decimal_type
at ./tests/queries/data_types/through_relation.rs:178:5
39: query_engine_tests::queries::data_types::through_relation::scalar_relations::decimal_type::{{closure}}
at ./tests/queries/data_types/through_relation.rs:178:98
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::filters::many_relation::many_relation::simple_scalar_filter (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_simple_scalar_filter
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"query { findManyBlog { posts(where: { popularity: { gte: <DEC> }}, orderBy: { id: asc }) { title }}}"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyBlog":[{"posts":[{"title":"post <DEC>"}]},{"posts":[{"title":"post <DEC>"}]}]}}
<DEC> │+{"data":{"findManyBlog":[{"posts":[{"title":"post <DEC>"},{"title":"post <DEC>"}]},{"posts":[{"title":"post <DEC>"}]}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_simple_scalar_filter' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/many_relation_simple_scalar_filter.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Blog {
id String @id @default(cuid())
name String
posts Post[]
}
model Post {
id String @id @default(cuid())
title String
popularity Int
blog_id String
blog Blog @relation(fields: [blog_id], references: [id])
comments Comment[]
}
model Comment {
id String @id @default(cuid())
text String
likes Int
post_id String
post Post @relation(fields: [post_id], references: [id])
}
[2025-04-30T18:09:52Z INFO tracing::span] diff;
[2025-04-30T18:09:52Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:52Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/many_relation_simple_scalar_filter.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Blog {\n id String @id @default(cuid())\n name String\n posts Post[]\n}\n\nmodel Post {\n id String @id @default(cuid())\n title String\n popularity Int\n blog_id String\n blog Blog @relation(fields: [blog_id], references: [id])\n comments Comment[]\n}\n\nmodel Comment {\n id String @id @default(cuid())\n text String\n likes Int\n post_id String\n post Post @relation(fields: [post_id], references: [id])\n}\n"), "url": String("file:/mnt/ram/db/many_relation_simple_scalar_filter.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_simple_scalar_filter
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/filters/many_relation.rs:43
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"query { findManyBlog { posts(where: { popularity: { gte: 5 }}, orderBy: { id: asc }) { title }}}"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyBlog":[{"posts":[{"title":"post 1"}]},{"posts":[{"title":"post 3"}]}]}}
0 │+{"data":{"findManyBlog":[{"posts":[{"title":"post 1"},{"title":"post 2"}]},{"posts":[{"title":"post 3"}]}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::filters::many_relation::many_relation::simple_scalar_filter' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_simple_scalar_filter' failed in line 43
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::filters::many_relation::many_relation::run_simple_scalar_filter::{{closure}}
at ./tests/queries/filters/many_relation.rs:43:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::filters::many_relation::many_relation::simple_scalar_filter
at ./tests/queries/filters/many_relation.rs:39:5
39: query_engine_tests::queries::filters::many_relation::many_relation::simple_scalar_filter::{{closure}}
at ./tests/queries/filters/many_relation.rs:39:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: writes::top_level_mutations::create::json_create::create_json_adv (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_create_json_adv
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"mutation { createOneTestModel(data: { id: <DEC>, json: "{}" }) { json }}"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"createOneTestModel":{"json":"{}"}}}
<DEC> │+{"data":{"createOneTestModel":{"json":{"value":"{}"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_create_json_adv' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/json_create_create_json_adv.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
json Json?
}
[2025-04-30T18:13:51Z INFO tracing::span] diff;
[2025-04-30T18:13:51Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:13:51Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/json_create_create_json_adv.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n json Json?\n}"), "url": String("file:/mnt/ram/db/json_create_create_json_adv.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_create_json_adv
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/writes/top_level_mutations/create.rs:331
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(
&runner,
r#"mutation { createOneTestModel(data: { id: 1, json: "{}" }) { json }}"#
)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"createOneTestModel":{"json":"{}"}}}
0 │+{"data":{"createOneTestModel":{"json":{"value":"{}"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'writes::top_level_mutations::create::json_create::create_json_adv' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_create_json_adv' failed in line 331
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::writes::top_level_mutations::create::json_create::run_create_json_adv::{{closure}}
at ./tests/writes/top_level_mutations/create.rs:331:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::writes::top_level_mutations::create::json_create::create_json_adv
at ./tests/writes/top_level_mutations/create.rs:329:5
39: query_engine_tests::writes::top_level_mutations::create::json_create::create_json_adv::{{closure}}
at ./tests/writes/top_level_mutations/create.rs:329:61
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::aggregation::combination_spec::combinations::no_records
- queries::aggregation::combination_spec::combinations::some_records
- queries::aggregation::combination_spec::combinations::with_query_args
- queries::aggregation::combination_spec::decimal_combinations::no_records
- queries::aggregation::combination_spec::decimal_combinations::some_records
- queries::aggregation::combination_spec::decimal_combinations::with_query_args
1: queries::aggregation::combination_spec::combinations::with_query_args (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
Unknown type for aggregate field: float
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/combinations_with_query_args.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Item {
id String @id @default(cuid())
float Float @map("db_float")
int Int @map("db_int")
}
[2025-04-30T18:09:22Z INFO tracing::span] diff;
[2025-04-30T18:09:22Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:22Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/combinations_with_query_args.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Item {\n id String @id @default(cuid())\n float Float @map(\"db_float\")\n int Int @map(\"db_int\")\n}\n"), "url": String("file:/mnt/ram/db/combinations_with_query_args.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/data_mapper.rs:141:21:
Unknown type for aggregate field: float
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'queries::aggregation::combination_spec::combinations::with_query_args' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::combination_spec::combinations::with_query_args
at ./tests/queries/aggregation/combination_spec.rs:90:5
28: query_engine_tests::queries::aggregation::combination_spec::combinations::with_query_args::{{closure}}
at ./tests/queries/aggregation/combination_spec.rs:90:40
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::aggregation::combination_spec::decimal_combinations::no_records (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
Unknown type for aggregate field: dec
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_combinations_no_records.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Item {
id String @id @default(cuid())
dec Decimal @map("db_dec")
}
[2025-04-30T18:09:36Z INFO tracing::span] diff;
[2025-04-30T18:09:36Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:36Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_combinations_no_records.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Item {\n id String @id @default(cuid())\n dec Decimal @map(\"db_dec\")\n}\n"), "url": String("file:/mnt/ram/db/decimal_combinations_no_records.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/data_mapper.rs:141:21:
Unknown type for aggregate field: dec
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'queries::aggregation::combination_spec::decimal_combinations::no_records' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::combination_spec::decimal_combinations::no_records
at ./tests/queries/aggregation/combination_spec.rs:312:5
28: query_engine_tests::queries::aggregation::combination_spec::decimal_combinations::no_records::{{closure}}
at ./tests/queries/aggregation/combination_spec.rs:312:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one2m_count_desc
- queries::order_and_pagination::order_by_dependent::order_by_dependent::hop_1_related_record_asc_nulls
- queries::order_and_pagination::order_by_dependent::order_by_dependent::hop_2_related_record_asc_null
- queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_asc
- queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::hop_2_related_record_asc_null
- queries::regressions::pagination_regression::pagination_regr::prisma_3505_case_1
1: queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one2m_count_desc (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"findManyPost":[{"id":<DEC>,"user":null},{"id":<DEC>,"user":null},{"id":<DEC>,"user":{"categories":[{"name":"Startup"}]}}]}} is not part of the expected results: ["{\"data\":{\"findManyPost\":[{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Startup\"}]}}]}}", "{\"data\":{\"findManyPost\":[{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":<DEC>,\"user\":{\"categories\":[{\"name\":\"Startup\"}]}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/order_by_aggr_m2one2m_count_desc.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
name String
posts Post[]
categories Category[]
}
model Post {
id Int @id
title String
user User @relation(fields: [userId], references: [id])
userId Int
categories Category[]
}
model Category {
id Int @id
name String
posts Post[]
users User[]
}
[2025-04-30T18:10:16Z INFO tracing::span] diff;
[2025-04-30T18:10:16Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:16Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/order_by_aggr_m2one2m_count_desc.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n name String\n posts Post[]\n categories Category[] \n}\n\nmodel Post {\n id Int @id\n title String\n user User @relation(fields: [userId], references: [id])\n userId Int\n categories Category[] \n}\n\nmodel Category {\n id Int @id\n name String\n posts Post[] \n users User[] \n}"), "url": String("file:/mnt/ram/db/order_by_aggr_m2one2m_count_desc.db")}
thread 'queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one2m_count_desc' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/order_and_pagination/order_by_aggregation.rs:218:9:
assertion `left == right` failed: Query result: {"data":{"findManyPost":[{"id":2,"user":null},{"id":3,"user":null},{"id":1,"user":{"categories":[{"name":"Startup"}]}}]}} is not part of the expected results: ["{\"data\":{\"findManyPost\":[{\"id\":2,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":3,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":1,\"user\":{\"categories\":[{\"name\":\"Startup\"}]}}]}}", "{\"data\":{\"findManyPost\":[{\"id\":3,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":2,\"user\":{\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":1,\"user\":{\"categories\":[{\"name\":\"Startup\"}]}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::run_m2one2m_count_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:218:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one2m_count_desc
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:214:5
39: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one2m_count_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:214:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::hop_2_related_record_asc_null (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"findManyModelA":[{"id":<DEC>,"b":null},{"id":<DEC>,"b":null},{"id":<DEC>,"b":{"c":{"id":<DEC>}}}]}} is not part of the expected results: ["{\"data\":{\"findManyModelA\":[{\"id\":<DEC>,\"b\":{\"c\":{\"id\":<DEC>}}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/order_by_dependent_pag_hop_2_related_record_asc_null.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model ModelA {
id Int @id
b_id Int? @unique
b ModelB? @relation(fields: [b_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
c ModelC?
}
model ModelB {
id Int @id
a ModelA?
c_id Int? @unique
c ModelC? @relation(fields: [c_id], references: [id])
}
model ModelC {
id Int @id
b ModelB?
a_id Int? @unique
a ModelA? @relation(fields: [a_id], references: [id])
}
[2025-04-30T18:10:31Z INFO tracing::span] diff;
[2025-04-30T18:10:31Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:31Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/order_by_dependent_pag_hop_2_related_record_asc_null.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel ModelA {\n id Int @id\n b_id Int? @unique\n b ModelB? @relation(fields: [b_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n c ModelC?\n}\n\nmodel ModelB {\n id Int @id\n a ModelA?\n\n c_id Int? @unique\n c ModelC? @relation(fields: [c_id], references: [id])\n}\n\nmodel ModelC {\n id Int @id\n b ModelB?\n a_id Int? @unique\n a ModelA? @relation(fields: [a_id], references: [id])\n}"), "url": String("file:/mnt/ram/db/order_by_dependent_pag_hop_2_related_record_asc_null.db")}
thread 'queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::hop_2_related_record_asc_null' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/order_and_pagination/order_by_dependent_pagination.rs:160:9:
assertion `left == right` failed: Query result: {"data":{"findManyModelA":[{"id":2,"b":null},{"id":3,"b":null},{"id":1,"b":{"c":{"id":1}}}]}} is not part of the expected results: ["{\"data\":{\"findManyModelA\":[{\"id\":1,\"b\":{\"c\":{\"id\":1}}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::run_hop_2_related_record_asc_null::{{closure}}
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:160:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::hop_2_related_record_asc_null
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:153:5
39: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::hop_2_related_record_asc_null::{{closure}}
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:153:42
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::regressions::pagination_regression::pagination_regr::prisma_3505_case_1 (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"findManyTestModel":[{"id":<DEC>},{"id":<DEC>}]}} is not part of the expected results: ["{\"data\":{\"findManyTestModel\":[{\"id\":<DEC>}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/pagination_regr_prisma_3505_case_1.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:10:29Z INFO tracing::span] diff;
[2025-04-30T18:10:29Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:30Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/pagination_regr_prisma_3505_case_1.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/pagination_regr_prisma_3505_case_1.db")}
thread 'queries::regressions::pagination_regression::pagination_regr::prisma_3505_case_1' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/regressions/pagination_regression.rs:85:9:
assertion `left == right` failed: Query result: {"data":{"findManyTestModel":[{"id":3},{"id":1}]}} is not part of the expected results: ["{\"data\":{\"findManyTestModel\":[{\"id\":4}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::regressions::pagination_regression::pagination_regr::run_prisma_3505_case_1::{{closure}}
at ./tests/queries/regressions/pagination_regression.rs:85:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::regressions::pagination_regression::pagination_regr::prisma_3505_case_1
at ./tests/queries/regressions/pagination_regression.rs:75:5
39: query_engine_tests::queries::regressions::pagination_regression::pagination_regr::prisma_3505_case_1::{{closure}}
at ./tests/queries/regressions/pagination_regression.rs:75:39
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::filters::self_relation::self_relation_filters::many2many_some
- queries::filters::self_relation::self_relation_filters::many2one
- writes::ids::byoid::byoid::upsert_should_work_1
- writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_single_field_rel
- writes::regressions::graph_reorder_regression::graph_reorder::test
- writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_disconnect_in_update
1: writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_single_field_rel (6)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/single_pk_rel_field_id_also_1_1_single_field_rel.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
name String
age Int
child_id Int @id
child Child @relation(fields: [child_id], references: [id])
}
model Child {
id Int @id
name String
parent Parent?
}
[2025-04-30T18:10:15Z INFO tracing::span] diff;
[2025-04-30T18:10:15Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:15Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/single_pk_rel_field_id_also_1_1_single_field_rel.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n name String\n age Int\n child_id Int @id\n\n child Child @relation(fields: [child_id], references: [id])\n}\n\nmodel Child {\n id Int @id\n name String\n parent Parent?\n}"), "url": String("file:/mnt/ram/db/single_pk_rel_field_id_also_1_1_single_field_rel.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(1)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_single_field_rel' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_single_field_rel
at ./tests/writes/ids/relation_pks/single_pk_rel_field.rs:126:5
28: query_engine_tests::writes::ids::relation_pks::single_pk_rel_field::single_pk_rel_field::id_also_1_1_single_field_rel::{{closure}}
at ./tests/writes/ids/relation_pks/single_pk_rel_field.rs:126:53
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::ref_actions::on_delete::restrict::one2many_opt::delete_parent
- new::ref_actions::on_delete::restrict::one2many_req::delete_parent
- new::ref_actions::on_delete::restrict::one2one_opt::delete_parent
- new::ref_actions::on_update::cascade::one2one_opt::update_parent_diff_id_name
- new::ref_actions::on_update::set_null::one2one_opt::update_parent_diff_id_name
1: new::ref_actions::on_update::cascade::one2one_opt::update_parent_diff_id_name (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:<PATH>:<DEC>:<DEC>)
at async LibSqlTransaction.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/cascade_onU_1to1_opt_update_parent_diff_id_name.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
uniq Int? @unique
child Child?
}
model Child {
childId Int @id
childUniq Int? @unique
parent Parent? @relation(fields: [childUniq], references: [uniq], onUpdate: Cascade)
}
[2025-04-30T18:09:17Z INFO tracing::span] diff;
[2025-04-30T18:09:17Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:17Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/cascade_onU_1to1_opt_update_parent_diff_id_name.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n uniq Int? @unique\n child Child?\n}\n\nmodel Child {\n childId Int @id\n childUniq Int? @unique\n parent Parent? @relation(fields: [childUniq], references: [uniq], onUpdate: Cascade)\n}"), "url": String("file:/mnt/ram/db/cascade_onU_1to1_opt_update_parent_diff_id_name.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:248:13)
at async LibSqlTransaction.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:626:23)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
=====
thread 'new::ref_actions::on_update::cascade::one2one_opt::update_parent_diff_id_name' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_update::cascade::one2one_opt::update_parent_diff_id_name
at ./tests/new/ref_actions/on_update/cascade.rs:294:5
28: query_engine_tests::new::ref_actions::on_update::cascade::one2one_opt::update_parent_diff_id_name::{{closure}}
at ./tests/new/ref_actions/on_update/cascade.rs:294:44
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: new::ref_actions::on_delete::restrict::one2many_opt::delete_parent (2)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:<PATH>:<DEC>:<DEC>)
at async LibSqlTransaction.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/restrict_onD_1toM_opt_delete_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
children Child[]
}
model Child {
id Int @id
parent_id Int?
parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Restrict)
}
[2025-04-30T18:09:18Z INFO tracing::span] diff;
[2025-04-30T18:09:18Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:18Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/restrict_onD_1toM_opt_delete_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n children Child[]\n}\n\nmodel Child {\n id Int @id\n parent_id Int?\n parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Restrict)\n}"), "url": String("file:/mnt/ram/db/restrict_onD_1toM_opt_delete_parent.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:248:13)
at async LibSqlTransaction.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
=====
thread 'new::ref_actions::on_delete::restrict::one2many_opt::delete_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_delete::restrict::one2many_opt::delete_parent
at ./tests/new/ref_actions/on_delete/restrict.rs:265:5
28: query_engine_tests::new::ref_actions::on_delete::restrict::one2many_opt::delete_parent::{{closure}}
at ./tests/new/ref_actions/on_delete/restrict.rs:265:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::native_upsert::native_upsert::should_not_if_has_nested_select
- new::native_upsert::native_upsert::should_not_if_missing_update
- new::ref_actions::on_update::restrict::one2one_opt::upsert_parent_failure
- writes::ids::relation_pks::compound_pk_rel_field::compound_pk_rel::cpd_1_1_multi_field_rel
- writes::regressions::prisma_11731::connect_or_create::one2one_inlined_parent
1: writes::regressions::prisma_11731::connect_or_create::one2one_inlined_parent (5)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/connect_or_create_one2one_inlined_parent.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model MyModel {
id Int @id
name String
itemId Int? @unique
item Item? @relation(references: [id], fields: [itemId])
}
model Item {
id Int @id
uniq String @unique
myModel MyModel?
}
[2025-04-30T18:11:39Z INFO tracing::span] diff;
[2025-04-30T18:11:39Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:11:39Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/connect_or_create_one2one_inlined_parent.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel MyModel {\n id Int @id\n name String\n itemId Int? @unique\n item Item? @relation(references: [id], fields: [itemId])\n}\n\nmodel Item {\n id Int @id\n uniq String @unique\n myModel MyModel?\n}"), "url": String("file:/mnt/ram/db/connect_or_create_one2one_inlined_parent.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(1)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'writes::regressions::prisma_11731::connect_or_create::one2one_inlined_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::writes::regressions::prisma_11731::connect_or_create::one2one_inlined_parent
at ./tests/writes/regressions/prisma_11731.rs:102:5
28: query_engine_tests::writes::regressions::prisma_11731::connect_or_create::one2one_inlined_parent::{{closure}}
at ./tests/writes/regressions/prisma_11731.rs:102:38
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::data_types::json::json::json_null
- queries::data_types::json::json::json_null_must_not_be_confused_with_literal_string
- queries::data_types::json::json::read_plain_bool
- queries::data_types::json::json::read_plain_float
- queries::data_types::json::json::read_plain_int
1: queries::data_types::json::json::read_plain_float (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_plain_float
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findUniqueTestModel":{"json":"<DEC>.<DEC>"}}}
<DEC> │+{"data":{"findUniqueTestModel":{"json":{"value":<DEC>.<DEC>}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_read_plain_float' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/json_read_plain_float.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
json Json?
}
[2025-04-30T18:09:56Z INFO tracing::span] diff;
[2025-04-30T18:09:56Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:56Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/json_read_plain_float.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n json Json?\n}"), "url": String("file:/mnt/ram/db/json_read_plain_float.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_plain_float
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/json.rs:94
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findUniqueTestModel":{"json":"1.5"}}}
0 │+{"data":{"findUniqueTestModel":{"json":{"value":1.5}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::json::json::read_plain_float' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_read_plain_float' failed in line 94
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::json::json::run_read_plain_float::{{closure}}
at ./tests/queries/data_types/json.rs:94:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::json::json::read_plain_float
at ./tests/queries/data_types/json.rs:86:5
39: query_engine_tests::queries::data_types::json::json::read_plain_float::{{closure}}
at ./tests/queries/data_types/json.rs:86:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::data_types::json::json::read_plain_bool (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_plain_bool
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findUniqueTestModel":{"json":"true"}}}
<DEC> │+{"data":{"findUniqueTestModel":{"json":{"value":"true"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_read_plain_bool' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/json_read_plain_bool.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
json Json?
}
[2025-04-30T18:09:34Z INFO tracing::span] diff;
[2025-04-30T18:09:34Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:34Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/json_read_plain_bool.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n json Json?\n}"), "url": String("file:/mnt/ram/db/json_read_plain_bool.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_plain_bool
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/json.rs:176
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findUniqueTestModel":{"json":"true"}}}
0 │+{"data":{"findUniqueTestModel":{"json":{"value":"true"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::json::json::read_plain_bool' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_read_plain_bool' failed in line 176
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::json::json::run_read_plain_bool::{{closure}}
at ./tests/queries/data_types/json.rs:176:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::json::json::read_plain_bool
at ./tests/queries/data_types/json.rs:168:5
39: query_engine_tests::queries::data_types::json::json::read_plain_bool::{{closure}}
at ./tests/queries/data_types/json.rs:168:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::data_types::json::json::json_null (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_json_null
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyTestModel":[{"json":null},{"json":"null"}]}}
<DEC> │+{"data":{"findManyTestModel":[{"json":null},{"json":{"value":"null"}}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_json_null' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/json_json_null.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
json Json?
}
[2025-04-30T18:09:39Z INFO tracing::span] diff;
[2025-04-30T18:09:39Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:39Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/json_json_null.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n json Json?\n}"), "url": String("file:/mnt/ram/db/json_json_null.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_json_null
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/json.rs:218
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyTestModel":[{"json":null},{"json":"null"}]}}
0 │+{"data":{"findManyTestModel":[{"json":null},{"json":{"value":"null"}}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::json::json::json_null' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_json_null' failed in line 218
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::json::json::run_json_null::{{closure}}
at ./tests/queries/data_types/json.rs:218:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::json::json::json_null
at ./tests/queries/data_types/json.rs:209:5
39: query_engine_tests::queries::data_types::json::json::json_null::{{closure}}
at ./tests/queries/data_types/json.rs:209:61
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::aggregation::group_by_having::aggr_group_by_having::having_without_aggr_sel
- queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one_field_asc_m2one2m_count_desc
- queries::order_and_pagination::order_by_dependent::order_by_dependent::circular_diff_related_record_desc
- queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_desc
1: queries::aggregation::group_by_having::aggr_group_by_having::having_without_aggr_sel (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"groupByTestModel":null}} is not part of the expected results: ["{\"data\":{\"groupByTestModel\":[{\"string\":\"group1\"},{\"string\":\"group2\"}]}}", "{\"data\":{\"groupByTestModel\":[{\"string\":\"group2\"},{\"string\":\"group1\"}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggr_group_by_having_having_without_aggr_sel.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
int Int?
bInt BigInt?
float Float?
string String?
}
[2025-04-30T18:09:32Z INFO tracing::span] diff;
[2025-04-30T18:09:32Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:32Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggr_group_by_having_having_without_aggr_sel.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n int Int?\n bInt BigInt?\n float Float?\n string String?\n}"), "url": String("file:/mnt/ram/db/aggr_group_by_having_having_without_aggr_sel.db")}
thread 'queries::aggregation::group_by_having::aggr_group_by_having::having_without_aggr_sel' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/aggregation/group_by_having.rs:362:9:
assertion `left == right` failed: Query result: {"data":{"groupByTestModel":null}} is not part of the expected results: ["{\"data\":{\"groupByTestModel\":[{\"string\":\"group1\"},{\"string\":\"group2\"}]}}", "{\"data\":{\"groupByTestModel\":[{\"string\":\"group2\"},{\"string\":\"group1\"}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::aggregation::group_by_having::aggr_group_by_having::run_having_without_aggr_sel::{{closure}}
at ./tests/queries/aggregation/group_by_having.rs:362:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::aggregation::group_by_having::aggr_group_by_having::having_without_aggr_sel
at ./tests/queries/aggregation/group_by_having.rs:353:5
39: query_engine_tests::queries::aggregation::group_by_having::aggr_group_by_having::having_without_aggr_sel::{{closure}}
at ./tests/queries/aggregation/group_by_having.rs:353:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_desc (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"findManyModelA":[{"id":<DEC>,"b":null},{"id":<DEC>,"b":{"c":{"a":{"id":<DEC>}}}},{"id":<DEC>,"b":null},{"id":<DEC>,"b":null}]}} is not part of the expected results: ["{\"data\":{\"findManyModelA\":[{\"id\":<DEC>,\"b\":{\"c\":{\"a\":{\"id\":<DEC>}}}},{\"id\":<DEC>,\"b\":{\"c\":{\"a\":{\"id\":<DEC>}}}},{\"id\":<DEC>,\"b\":null},{\"id\":<DEC>,\"b\":null}]}}", "{\"data\":{\"findManyModelA\":[{\"id\":<DEC>,\"b\":{\"c\":{\"a\":{\"id\":<DEC>}}}},{\"id\":<DEC>,\"b\":{\"c\":{\"a\":{\"id\":<DEC>}}}},{\"id\":<DEC>,\"b\":null},{\"id\":<DEC>,\"b\":null}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/order_by_dependent_pag_circular_diff_related_record_desc.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model ModelA {
id Int @id
b_id Int? @unique
b ModelB? @relation(fields: [b_id], references: [id], onDelete: NoAction, onUpdate: NoAction)
c ModelC?
}
model ModelB {
id Int @id
a ModelA?
c_id Int? @unique
c ModelC? @relation(fields: [c_id], references: [id])
}
model ModelC {
id Int @id
b ModelB?
a_id Int? @unique
a ModelA? @relation(fields: [a_id], references: [id])
}
[2025-04-30T18:10:11Z INFO tracing::span] diff;
[2025-04-30T18:10:11Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:11Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/order_by_dependent_pag_circular_diff_related_record_desc.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel ModelA {\n id Int @id\n b_id Int? @unique\n b ModelB? @relation(fields: [b_id], references: [id], onDelete: NoAction, onUpdate: NoAction)\n c ModelC?\n}\n\nmodel ModelB {\n id Int @id\n a ModelA?\n\n c_id Int? @unique\n c ModelC? @relation(fields: [c_id], references: [id])\n}\n\nmodel ModelC {\n id Int @id\n b ModelB?\n a_id Int? @unique\n a ModelA? @relation(fields: [a_id], references: [id])\n}"), "url": String("file:/mnt/ram/db/order_by_dependent_pag_circular_diff_related_record_desc.db")}
thread 'queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_desc' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/order_and_pagination/order_by_dependent_pagination.rs:278:9:
assertion `left == right` failed: Query result: {"data":{"findManyModelA":[{"id":2,"b":null},{"id":1,"b":{"c":{"a":{"id":3}}}},{"id":3,"b":null},{"id":4,"b":null}]}} is not part of the expected results: ["{\"data\":{\"findManyModelA\":[{\"id\":2,\"b\":{\"c\":{\"a\":{\"id\":4}}}},{\"id\":1,\"b\":{\"c\":{\"a\":{\"id\":3}}}},{\"id\":3,\"b\":null},{\"id\":4,\"b\":null}]}}", "{\"data\":{\"findManyModelA\":[{\"id\":2,\"b\":{\"c\":{\"a\":{\"id\":4}}}},{\"id\":1,\"b\":{\"c\":{\"a\":{\"id\":3}}}},{\"id\":4,\"b\":null},{\"id\":3,\"b\":null}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::run_circular_diff_related_record_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:278:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_desc
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:272:5
39: query_engine_tests::queries::order_and_pagination::order_by_dependent_pagination::order_by_dependent_pag::circular_diff_related_record_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_dependent_pagination.rs:272:42
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one_field_asc_m2one2m_count_desc (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed: Query result: {"data":{"findManyPost":[{"id":<DEC>,"user":{"name":"Alice","categories":[{"name":"Startup"}]}},{"id":<DEC>,"user":null},{"id":<DEC>,"user":null}]}} is not part of the expected results: ["{\"data\":{\"findManyPost\":[{\"id\":<DEC>,\"user\":{\"name\":\"Alice\",\"categories\":[{\"name\":\"Startup\"}]}},{\"id\":<DEC>,\"user\":{\"name\":\"Bob\",\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":<DEC>,\"user\":{\"name\":\"Bob\",\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/order_by_aggr_m2one_field_asc_m2one2m_count_desc.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
name String
posts Post[]
categories Category[]
}
model Post {
id Int @id
title String
user User @relation(fields: [userId], references: [id])
userId Int
categories Category[]
}
model Category {
id Int @id
name String
posts Post[]
users User[]
}
[2025-04-30T18:10:00Z INFO tracing::span] diff;
[2025-04-30T18:10:00Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:00Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/order_by_aggr_m2one_field_asc_m2one2m_count_desc.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n name String\n posts Post[]\n categories Category[] \n}\n\nmodel Post {\n id Int @id\n title String\n user User @relation(fields: [userId], references: [id])\n userId Int\n categories Category[] \n}\n\nmodel Category {\n id Int @id\n name String\n posts Post[] \n users User[] \n}"), "url": String("file:/mnt/ram/db/order_by_aggr_m2one_field_asc_m2one2m_count_desc.db")}
thread 'queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one_field_asc_m2one2m_count_desc' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/order_and_pagination/order_by_aggregation.rs:259:9:
assertion `left == right` failed: Query result: {"data":{"findManyPost":[{"id":1,"user":{"name":"Alice","categories":[{"name":"Startup"}]}},{"id":2,"user":null},{"id":3,"user":null}]}} is not part of the expected results: ["{\"data\":{\"findManyPost\":[{\"id\":1,\"user\":{\"name\":\"Alice\",\"categories\":[{\"name\":\"Startup\"}]}},{\"id\":2,\"user\":{\"name\":\"Bob\",\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}},{\"id\":3,\"user\":{\"name\":\"Bob\",\"categories\":[{\"name\":\"Computer Science\"},{\"name\":\"Music\"}]}}]}}"] for connector SQLite (libsql.js.wasm)
left: false
right: true
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::run_m2one_field_asc_m2one2m_count_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:259:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one_field_asc_m2one2m_count_desc
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:255:5
39: query_engine_tests::queries::order_and_pagination::order_by_aggregation::order_by_aggr::m2one_field_asc_m2one2m_count_desc::{{closure}}
at ./tests/queries/order_and_pagination/order_by_aggregation.rs:255:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::data_types::decimal::decimal::read_many
- queries::data_types::decimal::decimal::read_one
- queries::data_types::json::json::read_many
- queries::data_types::json::json::read_one
1: queries::data_types::json::json::read_one (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_one
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findUniqueTestModel":{"json":"{}"}}}
<DEC> │+{"data":{"findUniqueTestModel":{"json":{"value":"{}"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_read_one' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/json_read_one.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
json Json?
}
[2025-04-30T18:09:39Z INFO tracing::span] diff;
[2025-04-30T18:09:39Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:39Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/json_read_one.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n json Json?\n}"), "url": String("file:/mnt/ram/db/json_read_one.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_one
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/json.rs:15
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findUniqueTestModel":{"json":"{}"}}}
0 │+{"data":{"findUniqueTestModel":{"json":{"value":"{}"}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::json::json::read_one' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_read_one' failed in line 15
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::json::json::run_read_one::{{closure}}
at ./tests/queries/data_types/json.rs:15:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::json::json::read_one
at ./tests/queries/data_types/json.rs:7:5
39: query_engine_tests::queries::data_types::json::json::read_one::{{closure}}
at ./tests/queries/data_types/json.rs:7:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::data_types::decimal::decimal::read_one (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_one
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findUniqueTestModel":{"decimal":"<DEC>.<DEC>"}}}
<DEC> │+{"data":{"findUniqueTestModel":{"decimal":<DEC>.<DEC>}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_read_one' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_read_one.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
decimal Decimal?
}
[2025-04-30T18:09:32Z INFO tracing::span] diff;
[2025-04-30T18:09:32Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:32Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_read_one.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n decimal Decimal?\n}"), "url": String("file:/mnt/ram/db/decimal_read_one.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_one
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/decimal.rs:26
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findUniqueTestModel":{"decimal":"12.3456"}}}
0 │+{"data":{"findUniqueTestModel":{"decimal":12.3456}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::decimal::decimal::read_one' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_read_one' failed in line 26
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::decimal::decimal::run_read_one::{{closure}}
at ./tests/queries/data_types/decimal.rs:26:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::decimal::decimal::read_one
at ./tests/queries/data_types/decimal.rs:18:5
39: query_engine_tests::queries::data_types::decimal::decimal::read_one::{{closure}}
at ./tests/queries/data_types/decimal.rs:18:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::data_types::decimal::decimal::read_many (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_many
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyTestModel":[{"decimal":"<DEC>.<DEC>"},{"decimal":"-<DEC>.<DEC>"},{"decimal":null}]}}
<DEC> │+{"data":{"findManyTestModel":[{"decimal":<DEC>.<DEC>},{"decimal":-<DEC>.<DEC>},{"decimal":null}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_read_many' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_read_many.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
decimal Decimal?
}
[2025-04-30T18:09:44Z INFO tracing::span] diff;
[2025-04-30T18:09:44Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:44Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_read_many.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n decimal Decimal?\n}"), "url": String("file:/mnt/ram/db/decimal_read_many.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_read_many
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/data_types/decimal.rs:67
────────────────────────────────────────────────────────────────────────────────
Expression: res
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyTestModel":[{"decimal":"12.3456"},{"decimal":"-1.2345678"},{"decimal":null}]}}
0 │+{"data":{"findManyTestModel":[{"decimal":12.3456},{"decimal":-1.2345678},{"decimal":null}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::data_types::decimal::decimal::read_many' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_read_many' failed in line 67
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::data_types::decimal::decimal::run_read_many::{{closure}}
at ./tests/queries/data_types/decimal.rs:67:17
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::data_types::decimal::decimal::read_many
at ./tests/queries/data_types/decimal.rs:59:5
39: query_engine_tests::queries::data_types::decimal::decimal::read_many::{{closure}}
at ./tests/queries/data_types/decimal.rs:59:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- writes::top_level_mutations::delete::delete::should_fail_non_exist_id
- writes::top_level_mutations::delete::delete::should_fail_non_existent_value_non_id_uniq_field
- writes::top_level_mutations::update::update::update_fail_uniq_field_inexistant_value
- writes::top_level_mutations::update::update::update_fails_if_filter_dont_match
1: writes::top_level_mutations::delete::delete::should_fail_non_exist_id (2)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"deleteOneScalarModel":null}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/delete_should_fail_non_exist_id.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model ScalarModel {
id Int @id
string String?
unicorn String? @unique
}
[2025-04-30T18:13:57Z INFO tracing::span] diff;
[2025-04-30T18:13:57Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:13:57Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/delete_should_fail_non_exist_id.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel ScalarModel {\n id Int @id\n string String?\n unicorn String? @unique\n}"), "url": String("file:/mnt/ram/db/delete_should_fail_non_exist_id.db")}
thread 'writes::top_level_mutations::delete::delete::should_fail_non_exist_id' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"deleteOneScalarModel":null}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::writes::top_level_mutations::delete::delete::run_should_fail_non_exist_id::{{closure}}
at ./tests/writes/top_level_mutations/delete.rs:40:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::writes::top_level_mutations::delete::delete::should_fail_non_exist_id
at ./tests/writes/top_level_mutations/delete.rs:36:5
38: query_engine_tests::writes::top_level_mutations::delete::delete::should_fail_non_exist_id::{{closure}}
at ./tests/writes/top_level_mutations/delete.rs:36:22
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: writes::top_level_mutations::update::update::update_fails_if_filter_dont_match (2)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"updateOneTestModel":null}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/update_update_fails_if_filter_dont_match.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:12:44Z INFO tracing::span] diff;
[2025-04-30T18:12:44Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:12:44Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/update_update_fails_if_filter_dont_match.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/update_update_fails_if_filter_dont_match.db")}
thread 'writes::top_level_mutations::update::update::update_fails_if_filter_dont_match' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"updateOneTestModel":null}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::writes::top_level_mutations::update::update::run_update_fails_if_filter_dont_match::{{closure}}
at ./tests/writes/top_level_mutations/update.rs:693:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::writes::top_level_mutations::update::update::update_fails_if_filter_dont_match
at ./tests/writes/top_level_mutations/update.rs:686:5
38: query_engine_tests::writes::top_level_mutations::update::update::update_fails_if_filter_dont_match::{{closure}}
at ./tests/writes/top_level_mutations/update.rs:686:39
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::distinct::distinct::nested_distinct
- queries::distinct::distinct::nested_distinct_not_in_selection
- queries::distinct::distinct::nested_distinct_order_by_field
- queries::distinct::distinct::nested_distinct_reversed
1: queries::distinct::distinct::nested_distinct (4)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: DriverAdapterError: SQLITE_ERROR: near "ON": syntax error
at PrismaLibSQLAdapter.onError (file:<PATH>:<DEC>:<DEC>)
at PrismaLibSQLAdapter.performIO (file:<PATH>:<DEC>:<DEC>)
at async PrismaLibSQLAdapter.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/distinct_nested_distinct.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
first_name String
last_name String
email String @unique
birthday DateTime?
posts Post[]
}
model Post {
id Int @id
title String
content String @default("Wip")
author_id Int
author User @relation(fields: [author_id], references: [id])
}
[2025-04-30T18:10:05Z INFO tracing::span] diff;
[2025-04-30T18:10:05Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:05Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/distinct_nested_distinct.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n first_name String\n last_name String\n email String @unique\n birthday DateTime?\n posts Post[]\n}\n\nmodel Post {\n id Int @id\n title String\n content String @default(\"Wip\")\n author_id Int\n author User @relation(fields: [author_id], references: [id])\n}"), "url": String("file:/mnt/ram/db/distinct_nested_distinct.db")}
Test failed due to an error:
=====
External process error: Server error: DriverAdapterError: SQLITE_ERROR: near "ON": syntax error
at PrismaLibSQLAdapter.onError (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:261:11)
at PrismaLibSQLAdapter.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:254:12)
at async PrismaLibSQLAdapter.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:577:25)
=====
thread 'queries::distinct::distinct::nested_distinct' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::distinct::distinct::nested_distinct
at ./tests/queries/distinct.rs:176:5
28: query_engine_tests::queries::distinct::distinct::nested_distinct::{{closure}}
at ./tests/queries/distinct.rs:176:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_recurse_set_null
- new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_cascade
- writes::top_level_mutations::update_many::update_many::apply_number_ops_for_float
- writes::top_level_mutations::update_many_and_return::update_many_and_return::apply_number_ops_for_float
1: writes::top_level_mutations::update_many::update_many::apply_number_ops_for_float (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_apply_number_ops_for_float-<DEC>
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: query_number_operation(&runner, "optFloat", "decrement", "<DEC>.<DEC>").await?
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyTestModel":[{"optFloat":null},{"optFloat":<DEC>.<DEC>},{"optFloat":<DEC>.<DEC>}]}}
<DEC> │+{"data":{"findManyTestModel":[{"optFloat":null},{"optFloat":<DEC>},{"optFloat":<DEC>.<DEC>}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_apply_number_ops_for_float-<DEC>' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/update_many_apply_number_ops_for_float.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
optStr String?
optInt Int?
optFloat Float?
}
[2025-04-30T18:12:05Z INFO tracing::span] diff;
[2025-04-30T18:12:05Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:12:05Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/update_many_apply_number_ops_for_float.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n optStr String?\n optInt Int?\n optFloat Float?\n}"), "url": String("file:/mnt/ram/db/update_many_apply_number_ops_for_float.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_apply_number_ops_for_float-2
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/writes/top_level_mutations/update_many.rs:313
────────────────────────────────────────────────────────────────────────────────
Expression: query_number_operation(&runner, "optFloat", "decrement", "1.1").await?
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyTestModel":[{"optFloat":null},{"optFloat":2.0},{"optFloat":3.1}]}}
0 │+{"data":{"findManyTestModel":[{"optFloat":null},{"optFloat":2},{"optFloat":3.1}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'writes::top_level_mutations::update_many::update_many::apply_number_ops_for_float' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_apply_number_ops_for_float-2' failed in line 313
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::writes::top_level_mutations::update_many::update_many::run_apply_number_ops_for_float::{{closure}}
at ./tests/writes/top_level_mutations/update_many.rs:313:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::writes::top_level_mutations::update_many::update_many::apply_number_ops_for_float
at ./tests/writes/top_level_mutations/update_many.rs:302:5
39: query_engine_tests::writes::top_level_mutations::update_many::update_many::apply_number_ops_for_float::{{closure}}
at ./tests/writes/top_level_mutations/update_many.rs:302:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_recurse_set_null (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent_recurse_set_null-<DEC>
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, r#"{ findManyB { id a_id } }"#)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyB":[{"id":<DEC>,"a_id":null}]}}
<DEC> │+{"data":{"findManyB":[{"id":<DEC>,"a_id":<DEC>}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_delete_parent_recurse_set_null-<DEC>' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_recurse_set_null.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model A {
id Int @id
b_id Int? @unique
b B?
}
model B {
id Int @id
a_id Int? @unique
a A? @relation(fields: [a_id], references: [b_id], onDelete: SetNull)
c C?
}
model C {
id Int @id
b_id Int? @unique
b B? @relation(fields: [b_id], references: [a_id], onUpdate: SetNull)
}
[2025-04-30T18:09:19Z INFO tracing::span] diff;
[2025-04-30T18:09:19Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:19Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_recurse_set_null.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel A {\n id Int @id\n b_id Int? @unique\n b B?\n}\n\nmodel B {\n id Int @id\n a_id Int? @unique\n a A? @relation(fields: [a_id], references: [b_id], onDelete: SetNull)\n\n c C?\n}\n\nmodel C {\n id Int @id\n b_id Int? @unique\n b B? @relation(fields: [b_id], references: [a_id], onUpdate: SetNull)\n}\n"), "url": String("file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_recurse_set_null.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent_recurse_set_null-3
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_delete/set_null.rs:143
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, r#"{ findManyB { id a_id } }"#)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyB":[{"id":1,"a_id":null}]}}
0 │+{"data":{"findManyB":[{"id":1,"a_id":1}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_recurse_set_null' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_delete_parent_recurse_set_null-3' failed in line 143
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::run_delete_parent_recurse_set_null::{{closure}}
at ./tests/new/ref_actions/on_delete/set_null.rs:143:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_recurse_set_null
at ./tests/new/ref_actions/on_delete/set_null.rs:114:5
39: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_recurse_set_null::{{closure}}
at ./tests/new/ref_actions/on_delete/set_null.rs:114:56
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_cascade (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent_set_null_cascade-<DEC>
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, r#"{ findManyB { id a_id } }"#)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyB":[{"id":<DEC>,"a_id":null}]}}
<DEC> │+{"data":{"findManyB":[{"id":<DEC>,"a_id":<DEC>}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_delete_parent_set_null_cascade-<DEC>' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_set_null_cascade.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model A {
id Int @id
b_id Int? @unique
b B?
}
model B {
id Int @id
a_id Int? @unique
a A? @relation(fields: [a_id], references: [b_id], onDelete: SetNull)
c C?
}
model C {
id Int @id
b_id Int? @unique
b B? @relation(fields: [b_id], references: [a_id], onDelete: Restrict, onUpdate: Cascade)
}
[2025-04-30T18:09:14Z INFO tracing::span] diff;
[2025-04-30T18:09:14Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:14Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_set_null_cascade.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel A {\n id Int @id\n b_id Int? @unique\n b B?\n}\n\nmodel B {\n id Int @id\n a_id Int? @unique\n a A? @relation(fields: [a_id], references: [b_id], onDelete: SetNull)\n\n c C?\n}\n\nmodel C {\n id Int @id\n b_id Int? @unique\n b B? @relation(fields: [b_id], references: [a_id], onDelete: Restrict, onUpdate: Cascade)\n}\n"), "url": String("file:/mnt/ram/db/setnull_onD_1to1_opt_delete_parent_set_null_cascade.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent_set_null_cascade-3
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_delete/set_null.rs:280
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, r#"{ findManyB { id a_id } }"#)
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyB":[{"id":1,"a_id":null}]}}
0 │+{"data":{"findManyB":[{"id":1,"a_id":1}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_cascade' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_delete_parent_set_null_cascade-3' failed in line 280
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::run_delete_parent_set_null_cascade::{{closure}}
at ./tests/new/ref_actions/on_delete/set_null.rs:280:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_cascade
at ./tests/new/ref_actions/on_delete/set_null.rs:249:5
39: query_engine_tests::new::ref_actions::on_delete::set_null::one2one_opt::delete_parent_set_null_cascade::{{closure}}
at ./tests/new/ref_actions/on_delete/set_null.rs:249:99
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::ref_actions::on_delete::cascade::one2many_opt::delete_parent
- new::ref_actions::on_delete::cascade::one2many_req::delete_parent
- new::ref_actions::on_delete::cascade::one2one_opt::delete_parent
- new::ref_actions::on_delete::cascade::one2one_req::delete_parent
1: new::ref_actions::on_delete::cascade::one2one_opt::delete_parent (2)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent-<DEC>
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { findManyChild { id }}")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyChild":[]}}
<DEC> │+{"data":{"findManyChild":[{"id":<DEC>}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_delete_parent-<DEC>' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/cascade_onD_1to1_opt_delete_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
child Child?
}
model Child {
id Int @id
parent_id Int? @unique
parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Cascade)
}
[2025-04-30T18:09:14Z INFO tracing::span] diff;
[2025-04-30T18:09:14Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:14Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/cascade_onD_1to1_opt_delete_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n child Child?\n}\n\nmodel Child {\n id Int @id\n parent_id Int? @unique\n parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Cascade)\n}"), "url": String("file:/mnt/ram/db/cascade_onD_1to1_opt_delete_parent.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent-3
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_delete/cascade.rs:82
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { findManyChild { id }}")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyChild":[]}}
0 │+{"data":{"findManyChild":[{"id":1}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'new::ref_actions::on_delete::cascade::one2one_opt::delete_parent' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_delete_parent-3' failed in line 82
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::new::ref_actions::on_delete::cascade::one2one_opt::run_delete_parent::{{closure}}
at ./tests/new/ref_actions/on_delete/cascade.rs:82:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::new::ref_actions::on_delete::cascade::one2one_opt::delete_parent
at ./tests/new/ref_actions/on_delete/cascade.rs:70:5
39: query_engine_tests::new::ref_actions::on_delete::cascade::one2one_opt::delete_parent::{{closure}}
at ./tests/new/ref_actions/on_delete/cascade.rs:70:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: new::ref_actions::on_delete::cascade::one2many_opt::delete_parent (2)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent-<DEC>
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { findManyChild { id }}")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"findManyChild":[]}}
<DEC> │+{"data":{"findManyChild":[{"id":<DEC>},{"id":<DEC>}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_delete_parent-<DEC>' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/cascade_onD_1toM_opt_delete_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
children Child[]
}
model Child {
id Int @id
parent_id Int?
parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Cascade)
}
[2025-04-30T18:09:16Z INFO tracing::span] diff;
[2025-04-30T18:09:16Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:16Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/cascade_onD_1toM_opt_delete_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n children Child[]\n}\n\nmodel Child {\n id Int @id\n parent_id Int?\n parent Parent? @relation(fields: [parent_id], references: [id], onDelete: Cascade)\n}"), "url": String("file:/mnt/ram/db/cascade_onD_1toM_opt_delete_parent.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_delete_parent-3
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/new/ref_actions/on_delete/cascade.rs:210
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { findManyChild { id }}")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"findManyChild":[]}}
0 │+{"data":{"findManyChild":[{"id":1},{"id":2}]}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'new::ref_actions::on_delete::cascade::one2many_opt::delete_parent' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_delete_parent-3' failed in line 210
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::new::ref_actions::on_delete::cascade::one2many_opt::run_delete_parent::{{closure}}
at ./tests/new/ref_actions/on_delete/cascade.rs:210:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::new::ref_actions::on_delete::cascade::one2many_opt::delete_parent
at ./tests/new/ref_actions/on_delete/cascade.rs:198:5
39: query_engine_tests::new::ref_actions::on_delete::cascade::one2many_opt::delete_parent::{{closure}}
at ./tests/new/ref_actions/on_delete/cascade.rs:198:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::filters::self_relation::self_relation_filters::l2_one2one
- queries::filters::self_relation::self_relation_filters::one2many_empty
- writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_update
- writes::unchecked_writes::unchecked_update_spec::unchecked_update::allow_write_non_inline_rels
1: writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_update (4)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/non_embedded_upsert_nested_connect_in_update.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model List{
id Int @id
uList String? @unique
todoId Int? @unique
todo Todo? @relation(fields: [todoId], references: [id])
}
model Todo {
id Int @id
uTodo String? @unique
list List?
}
[2025-04-30T18:16:37Z INFO tracing::span] diff;
[2025-04-30T18:16:37Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:16:37Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/non_embedded_upsert_nested_connect_in_update.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel List{\n id Int @id\n uList String? @unique\n todoId Int? @unique\n\n todo Todo? @relation(fields: [todoId], references: [id])\n}\n\nmodel Todo {\n id Int @id\n uTodo String? @unique\n list List?\n}"), "url": String("file:/mnt/ram/db/non_embedded_upsert_nested_connect_in_update.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(1)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_update' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_update
at ./tests/writes/top_level_mutations/non_embedded_upsert.rs:84:5
28: query_engine_tests::writes::top_level_mutations::non_embedded_upsert::non_embedded_upsert::nested_connect_in_update::{{closure}}
at ./tests/writes/top_level_mutations/non_embedded_upsert.rs:84:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::aggregation::min::decimal_aggregation_min::min_some_records
- queries::aggregation::min::decimal_aggregation_min::min_with_all_sorts_of_query_args
- queries::aggregation::sum::decimal_aggregation_sum::sum_some_records
- queries::aggregation::sum::decimal_aggregation_sum::sum_with_all_sorts_of_query_args
1: queries::aggregation::min::decimal_aggregation_min::min_some_records (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_min_some_records
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, "query { aggregateTestModel { _min { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"aggregateTestModel":{"_min":{"decimal":"<DEC>.<DEC>"}}}}
<DEC> │+{"data":{"aggregateTestModel":{"_min":{"decimal":<DEC>.<DEC>}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_min_some_records' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_aggregation_min_min_some_records.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
decimal Decimal
}
[2025-04-30T18:09:44Z INFO tracing::span] diff;
[2025-04-30T18:09:44Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:44Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_aggregation_min_min_some_records.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n decimal Decimal\n}"), "url": String("file:/mnt/ram/db/decimal_aggregation_min_min_some_records.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_min_some_records
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/aggregation/min.rs:112
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, "query { aggregateTestModel { _min { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"aggregateTestModel":{"_min":{"decimal":"4.5"}}}}
0 │+{"data":{"aggregateTestModel":{"_min":{"decimal":4.5}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::aggregation::min::decimal_aggregation_min::min_some_records' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_min_some_records' failed in line 112
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::aggregation::min::decimal_aggregation_min::run_min_some_records::{{closure}}
at ./tests/queries/aggregation/min.rs:112:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::aggregation::min::decimal_aggregation_min::min_some_records
at ./tests/queries/aggregation/min.rs:107:5
39: query_engine_tests::queries::aggregation::min::decimal_aggregation_min::min_some_records::{{closure}}
at ./tests/queries/aggregation/min.rs:107:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::aggregation::sum::decimal_aggregation_sum::sum_with_all_sorts_of_query_args (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_sum_with_all_sorts_of_query_args
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { aggregateTestModel(take: <DEC>) { _sum { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"aggregateTestModel":{"_sum":{"decimal":"<DEC>"}}}}
<DEC> │+{"data":{"aggregateTestModel":{"_sum":{"decimal":<DEC>}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_sum_with_all_sorts_of_query_args' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_aggregation_sum_sum_with_all_sorts_of_query_args.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
decimal Decimal
}
[2025-04-30T18:09:30Z INFO tracing::span] diff;
[2025-04-30T18:09:30Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:30Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_aggregation_sum_sum_with_all_sorts_of_query_args.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n decimal Decimal\n}"), "url": String("file:/mnt/ram/db/decimal_aggregation_sum_sum_with_all_sorts_of_query_args.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_sum_with_all_sorts_of_query_args
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/aggregation/sum.rs:130
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(&runner, "query { aggregateTestModel(take: 2) { _sum { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"aggregateTestModel":{"_sum":{"decimal":"10"}}}}
0 │+{"data":{"aggregateTestModel":{"_sum":{"decimal":10}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::aggregation::sum::decimal_aggregation_sum::sum_with_all_sorts_of_query_args' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_sum_with_all_sorts_of_query_args' failed in line 130
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::run_sum_with_all_sorts_of_query_args::{{closure}}
at ./tests/queries/aggregation/sum.rs:130:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::sum_with_all_sorts_of_query_args
at ./tests/queries/aggregation/sum.rs:123:5
39: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::sum_with_all_sorts_of_query_args::{{closure}}
at ./tests/queries/aggregation/sum.rs:123:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::aggregation::sum::decimal_aggregation_sum::sum_some_records (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_sum_some_records
Source: query-engine<PATH>:<DEC>
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, "query { aggregateTestModel { _sum { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
<DEC> │-{"data":{"aggregateTestModel":{"_sum":{"decimal":"<DEC>"}}}}
<DEC> │+{"data":{"aggregateTestModel":{"_sum":{"decimal":<DEC>}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
snapshot assertion for 'run_sum_some_records' failed in line <DEC>
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/decimal_aggregation_sum_sum_some_records.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
decimal Decimal
}
[2025-04-30T18:09:35Z INFO tracing::span] diff;
[2025-04-30T18:09:35Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:35Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/decimal_aggregation_sum_sum_some_records.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n decimal Decimal\n}"), "url": String("file:/mnt/ram/db/decimal_aggregation_sum_sum_some_records.db")}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Snapshot Summary ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Snapshot: run_sum_some_records
Source: query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/aggregation/sum.rs:112
────────────────────────────────────────────────────────────────────────────────
Expression: run_query!(runner, "query { aggregateTestModel { _sum { decimal } } }")
────────────────────────────────────────────────────────────────────────────────
-old snapshot
+new results
────────────┬───────────────────────────────────────────────────────────────────
0 │-{"data":{"aggregateTestModel":{"_sum":{"decimal":"10"}}}}
0 │+{"data":{"aggregateTestModel":{"_sum":{"decimal":10}}}}
────────────┴───────────────────────────────────────────────────────────────────
To update snapshots run `cargo insta review`
Stopped on the first failure. Run `cargo insta test` to run all snapshots.
thread 'queries::aggregation::sum::decimal_aggregation_sum::sum_some_records' panicked at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13:
snapshot assertion for 'run_sum_some_records' failed in line 112
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: insta::runtime::SnapshotAssertionContext::finalize
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:680:13
3: insta::runtime::assert_snapshot
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/insta-1.41.1/src/runtime.rs:849:9
4: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::run_sum_some_records::{{closure}}
at ./tests/queries/aggregation/sum.rs:112:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::sum_some_records
at ./tests/queries/aggregation/sum.rs:107:5
39: query_engine_tests::queries::aggregation::sum::decimal_aggregation_sum::sum_some_records::{{closure}}
at ./tests/queries/aggregation/sum.rs:107:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::ref_actions::on_update::restrict::one2one_opt::update_many_parent_failure
- new::ref_actions::on_update::restrict::one2one_req::update_many_parent_failure
- new::ref_actions::on_update::set_null::one2one_opt::update_many_parent
1: new::ref_actions::on_update::set_null::one2one_opt::update_many_parent (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:<PATH>:<DEC>:<DEC>)
at async LibSqlTransaction.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/setnull_onU_1to1_opt_update_many_parent.db"
relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model Parent {
id Int @id
uniq String? @unique
child Child?
}
model Child {
id Int @id
parent_uniq String? @unique
parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)
}
[2025-04-30T18:09:26Z INFO tracing::span] diff;
[2025-04-30T18:09:26Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:26Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/setnull_onU_1to1_opt_update_many_parent.db\"\n relationMode = \"prisma\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel Parent {\n id Int @id\n uniq String? @unique\n child Child?\n}\n\nmodel Child {\n id Int @id\n parent_uniq String? @unique\n parent Parent? @relation(fields: [parent_uniq], references: [uniq], onUpdate: SetNull)\n}"), "url": String("file:/mnt/ram/db/setnull_onU_1to1_opt_update_many_parent.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Attempted to pass an array argument to the LibSQL client, which is not supported
at LibSqlTransaction.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:248:13)
at async LibSqlTransaction.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:626:23)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:587:41
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:585:9)
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:577:25)
=====
thread 'new::ref_actions::on_update::set_null::one2one_opt::update_many_parent' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::ref_actions::on_update::set_null::one2one_opt::update_many_parent
at ./tests/new/ref_actions/on_update/set_null.rs:68:5
28: query_engine_tests::new::ref_actions::on_update::set_null::one2one_opt::update_many_parent::{{closure}}
at ./tests/new/ref_actions/on_update/set_null.rs:68:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::simple::find_first::find_first_query::find_first_matching
- queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_matching
- queries::simple::find_unique_or_throw::find_unique_or_throw::find_unique_or_throw_when_record_is_found
1: queries::simple::find_first::find_first_query::find_first_matching (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed
left: "{\"data\":{\"findFirstTestModel\":[{\"id\":<DEC>}]}}"
right: "{\"data\":{\"findFirstTestModel\":{\"id\":<DEC>}}}"
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/find_first_query_find_first_matching.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:10:20Z INFO tracing::span] diff;
[2025-04-30T18:10:20Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:20Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/find_first_query_find_first_matching.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/find_first_query_find_first_matching.db")}
thread 'queries::simple::find_first::find_first_query::find_first_matching' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/simple/find_first.rs:29:9:
assertion `left == right` failed
left: "{\"data\":{\"findFirstTestModel\":[{\"id\":2}]}}"
right: "{\"data\":{\"findFirstTestModel\":{\"id\":2}}}"
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::simple::find_first::find_first_query::run_find_first_matching::{{closure}}
at ./tests/queries/simple/find_first.rs:29:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::simple::find_first::find_first_query::find_first_matching
at ./tests/queries/simple/find_first.rs:7:5
39: query_engine_tests::queries::simple::find_first::find_first_query::find_first_matching::{{closure}}
at ./tests/queries/simple/find_first.rs:7:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::simple::find_unique_or_throw::find_unique_or_throw::find_unique_or_throw_when_record_is_found (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed
left: "{\"data\":{\"findUniqueOrThrowUser\":{\"id\":<DEC>}}}"
right: "{\"data\":{\"findUniqueUserOrThrow\":{\"id\":<DEC>}}}"
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/find_unique_or_throw_find_unique_or_throw_when_record_is_found.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
first_name String
last_name String
email String @unique
birthday DateTime?
@@unique([first_name, last_name])
}
[2025-04-30T18:10:15Z INFO tracing::span] diff;
[2025-04-30T18:10:15Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:15Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/find_unique_or_throw_find_unique_or_throw_when_record_is_found.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n first_name String\n last_name String\n email String @unique\n birthday DateTime?\n\n @@unique([first_name, last_name])\n}"), "url": String("file:/mnt/ram/db/find_unique_or_throw_find_unique_or_throw_when_record_is_found.db")}
thread 'queries::simple::find_unique_or_throw::find_unique_or_throw::find_unique_or_throw_when_record_is_found' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/simple/find_unique_or_throw.rs:11:9:
assertion `left == right` failed
left: "{\"data\":{\"findUniqueOrThrowUser\":{\"id\":1}}}"
right: "{\"data\":{\"findUniqueUserOrThrow\":{\"id\":1}}}"
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::run_find_unique_or_throw_when_record_is_found::{{closure}}
at ./tests/queries/simple/find_unique_or_throw.rs:11:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::find_unique_or_throw_when_record_is_found
at ./tests/queries/simple/find_unique_or_throw.rs:7:5
39: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::find_unique_or_throw_when_record_is_found::{{closure}}
at ./tests/queries/simple/find_unique_or_throw.rs:7:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_matching (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
assertion `left == right` failed
left: "{\"data\":{\"findFirstOrThrowTestModel\":{\"id\":<DEC>}}}"
right: "{\"data\":{\"findFirstTestModelOrThrow\":{\"id\":<DEC>}}}"
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/find_first_or_throw_query_find_first_or_throw_matching.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:10:04Z INFO tracing::span] diff;
[2025-04-30T18:10:04Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:04Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/find_first_or_throw_query_find_first_or_throw_matching.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/find_first_or_throw_query_find_first_or_throw_matching.db")}
thread 'queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_matching' panicked at query-engine/connector-test-kit-rs/query-engine-tests/tests/queries/simple/find_first_or_throw.rs:11:9:
assertion `left == right` failed
left: "{\"data\":{\"findFirstOrThrowTestModel\":{\"id\":1}}}"
right: "{\"data\":{\"findFirstTestModelOrThrow\":{\"id\":1}}}"
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: core::panicking::assert_failed_inner
3: core::panicking::assert_failed
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/panicking.rs:380:5
4: query_engine_tests::queries::simple::find_first_or_throw::find_first_or_throw_query::run_find_first_or_throw_matching::{{closure}}
at ./tests/queries/simple/find_first_or_throw.rs:11:9
5: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
6: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
7: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
8: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
9: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
10: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
11: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
12: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
13: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
16: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
17: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
18: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
19: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
20: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
21: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
22: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
23: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
24: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
25: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
26: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
27: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
28: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
29: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
30: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
31: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
32: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
33: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
34: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
35: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
36: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
37: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
38: query_engine_tests::queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_matching
at ./tests/queries/simple/find_first_or_throw.rs:7:5
39: query_engine_tests::queries::simple::find_first_or_throw::find_first_or_throw_query::find_first_or_throw_matching::{{closure}}
at ./tests/queries/simple/find_first_or_throw.rs:7:22
40: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
41: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_id
- queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_multi_unique
- queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_single_unique
1: queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_id (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
Expected result to return an error, but found success: {"data":{"findUniqueOrThrowUser":null}}
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/find_unique_or_throw_no_result_find_unique_by_id.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
first_name String
last_name String
email String @unique
birthday DateTime?
@@unique([first_name, last_name])
}
[2025-04-30T18:10:23Z INFO tracing::span] diff;
[2025-04-30T18:10:23Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:10:23Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/find_unique_or_throw_no_result_find_unique_by_id.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n first_name String\n last_name String\n email String @unique\n birthday DateTime?\n\n @@unique([first_name, last_name])\n}"), "url": String("file:/mnt/ram/db/find_unique_or_throw_no_result_find_unique_by_id.db")}
thread 'queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_id' panicked at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13:
Expected result to return an error, but found success: {"data":{"findUniqueOrThrowUser":null}}
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::query_result::QueryResult::assert_failure
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/query_result.rs:84:13
3: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::run_no_result_find_unique_by_id::{{closure}}
at ./tests/queries/simple/find_unique_or_throw.rs:36:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.28/src/future/either.rs:110:33
6: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:47
7: tracing_core::dispatcher::with_default
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-core-0.1.33/src/dispatcher.rs:263:5
8: <tracing_futures::WithDispatch<T> as core::future::future::Future>::poll
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-futures-0.2.5/src/lib.rs:455:9
9: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll::{{closure}}
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:67
10: metrics::recorder::with_local_recorder
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/src/recorder/mod.rs:115:5
11: <prisma_metrics::instrument::WithRecorder<T> as core::future::future::Future>::poll
at /home/viktor/dev/prisma-engines/libs/metrics/src/instrument.rs:77:20
12: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:385:14
13: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
14: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
15: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
16: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
17: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
19: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
20: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
21: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
22: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
23: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
24: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
25: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
26: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
27: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
28: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
29: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
30: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
31: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
32: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
33: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
34: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
35: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
36: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
37: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_id
at ./tests/queries/simple/find_unique_or_throw.rs:32:5
38: query_engine_tests::queries::simple::find_unique_or_throw::find_unique_or_throw::no_result_find_unique_by_id::{{closure}}
at ./tests/queries/simple/find_unique_or_throw.rs:32:22
39: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
40: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::batching::transactional_batch::transactional::batch_request_idx
- queries::batching::transactional_batch::transactional::one_query
- queries::batching::transactional_batch::transactional::one_success_one_fail
1: queries::batching::transactional_batch::transactional::one_success_one_fail (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: UserFacingError: Unique constraint failed on the fields: (`id`)
at rethrowAsUserFacing (file:<PATH>:<DEC>:<DEC>)
at file:<PATH>:<DEC>:<DEC>
at async QueryPipeline.executeTransactionalBatch (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/transactional_one_success_one_fail.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model ModelA {
id Int @id
b_id Int? @unique
b ModelB? @relation(fields: [b_id], references: [id])
}
model ModelB {
id Int @id
a ModelA?
}
model ModelC {
id Int @id
}
model User {
id Int @id
email String @unique
name String @unique
}
[2025-04-30T18:09:35Z INFO tracing::span] diff;
[2025-04-30T18:09:35Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:35Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/transactional_one_success_one_fail.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel ModelA {\n id Int @id\n b_id Int? @unique\n b ModelB? @relation(fields: [b_id], references: [id])\n}\n\nmodel ModelB {\n id Int @id\n a ModelA?\n}\n\nmodel ModelC {\n id Int @id\n}\n\nmodel User {\n id Int @id\n email String @unique\n name String @unique\n}\n"), "url": String("file:/mnt/ram/db/transactional_one_success_one_fail.db")}
Test failed due to an error:
=====
External process error: Server error: UserFacingError: Unique constraint failed on the fields: (`id`)
at rethrowAsUserFacing (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:60:9)
at file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:571:14
at async QueryPipeline.executeTransactionalBatch (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:493:24)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:412:37)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::batching::transactional_batch::transactional::one_success_one_fail' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::batching::transactional_batch::transactional::one_success_one_fail
at ./tests/queries/batching/transactional_batch.rs:76:5
28: query_engine_tests::queries::batching::transactional_batch::transactional::one_success_one_fail::{{closure}}
at ./tests/queries/batching/transactional_batch.rs:76:47
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::interactive_tx::interactive_tx::batch_queries_success
- new::interactive_tx::interactive_tx::tx_expiration_cycle
- new::interactive_tx::interactive_tx::tx_expiration_failure_cycle
1: new::interactive_tx::interactive_tx::batch_queries_success (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Transaction API error: A commit cannot be executed on an expired transaction. The timeout for this transaction was <DEC> ms, however <DEC> ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction
at TransactionManager.getActiveTransaction (file:<PATH>:<DEC>:<DEC>)
at file:<PATH>:<DEC>:<DEC>
at Object.runInChildSpan (file:<PATH>:<DEC>:<DEC>)
at TransactionManager.commitTransaction (file:<PATH>:<DEC>:<DEC>)
at commitTransaction (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/interactive_tx_batch_queries_success.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:09:14Z INFO tracing::span] diff;
[2025-04-30T18:09:14Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:14Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/interactive_tx_batch_queries_success.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/interactive_tx_batch_queries_success.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Transaction API error: A commit cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5008 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction
at TransactionManager.getActiveTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:922:19)
at file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:892:24
at Object.runInChildSpan (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:12:12)
at TransactionManager.commitTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:891:37)
at commitTransaction (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:357:35)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:694:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'new::interactive_tx::interactive_tx::batch_queries_success' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::interactive_tx::interactive_tx::batch_queries_success
at ./tests/new/interactive_tx.rs:166:5
28: query_engine_tests::new::interactive_tx::interactive_tx::batch_queries_success::{{closure}}
at ./tests/new/interactive_tx.rs:166:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::distinct::distinct::shorthand_works
- queries::distinct::distinct::with_duplicates
- queries::distinct::distinct::with_skip_basic
1: queries::distinct::distinct::with_duplicates (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: DriverAdapterError: SQLITE_ERROR: near "ON": syntax error
at PrismaLibSQLAdapter.onError (file:<PATH>:<DEC>:<DEC>)
at PrismaLibSQLAdapter.performIO (file:<PATH>:<DEC>:<DEC>)
at async PrismaLibSQLAdapter.queryRaw (file:<PATH>:<DEC>:<DEC>)
at async file:<PATH>:<DEC>:<DEC>
at async file:<PATH>:<DEC>:<DEC>
at async Promise.all (index <DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/distinct_with_duplicates.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
first_name String
last_name String
email String @unique
birthday DateTime?
posts Post[]
}
model Post {
id Int @id
title String
content String @default("Wip")
author_id Int
author User @relation(fields: [author_id], references: [id])
}
[2025-04-30T18:09:42Z INFO tracing::span] diff;
[2025-04-30T18:09:42Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:42Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/distinct_with_duplicates.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n first_name String\n last_name String\n email String @unique\n birthday DateTime?\n posts Post[]\n}\n\nmodel Post {\n id Int @id\n title String\n content String @default(\"Wip\")\n author_id Int\n author User @relation(fields: [author_id], references: [id])\n}"), "url": String("file:/mnt/ram/db/distinct_with_duplicates.db")}
Test failed due to an error:
=====
External process error: Server error: DriverAdapterError: SQLITE_ERROR: near "ON": syntax error
at PrismaLibSQLAdapter.onError (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:261:11)
at PrismaLibSQLAdapter.performIO (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:254:12)
at async PrismaLibSQLAdapter.queryRaw (file:///home/viktor/dev/prisma/packages/adapter-libsql/dist/index-node.mjs:222:65)
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:618:35
at async file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:699:24
at async Promise.all (index 0)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:577:25)
at async _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:679:22)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:24)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::distinct::distinct::with_duplicates' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::distinct::distinct::with_duplicates
at ./tests/queries/distinct.rs:76:5
28: query_engine_tests::queries::distinct::distinct::with_duplicates::{{closure}}
at ./tests/queries/distinct.rs:76:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- new::interactive_tx::interactive_tx::batch_queries_rollback
- new::interactive_tx::interactive_tx::double_rollback
- new::interactive_tx::interactive_tx::rollback_after_commit
1: new::interactive_tx::interactive_tx::batch_queries_rollback (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Transaction API error: A rollback cannot be executed on an expired transaction. The timeout for this transaction was <DEC> ms, however <DEC> ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction
at TransactionManager.getActiveTransaction (file:<PATH>:<DEC>:<DEC>)
at file:<PATH>:<DEC>:<DEC>
at Object.runInChildSpan (file:<PATH>:<DEC>:<DEC>)
at TransactionManager.rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/interactive_tx_batch_queries_rollback.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:09:15Z INFO tracing::span] diff;
[2025-04-30T18:09:15Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:15Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/interactive_tx_batch_queries_rollback.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/interactive_tx_batch_queries_rollback.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Transaction API error: A rollback cannot be executed on an expired transaction. The timeout for this transaction was 5000 ms, however 5008 ms passed since the start of the transaction. Consider increasing the interactive transaction timeout or doing less work in the transaction
at TransactionManager.getActiveTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:922:19)
at file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:898:24
at Object.runInChildSpan (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:12:12)
at TransactionManager.rollbackTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:897:37)
at rollbackTransaction (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:360:35)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:696:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'new::interactive_tx::interactive_tx::batch_queries_rollback' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::interactive_tx::interactive_tx::batch_queries_rollback
at ./tests/new/interactive_tx.rs:192:5
28: query_engine_tests::new::interactive_tx::interactive_tx::batch_queries_rollback::{{closure}}
at ./tests/new/interactive_tx.rs:192:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: new::interactive_tx::interactive_tx::double_rollback (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Transaction API error: Transaction already closed: A rollback cannot be executed on a transaction that was rolled back
at TransactionManager.getActiveTransaction (file:<PATH>:<DEC>:<DEC>)
at file:<PATH>:<DEC>:<DEC>
at Object.runInChildSpan (file:<PATH>:<DEC>:<DEC>)
at TransactionManager.rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/interactive_tx_double_rollback.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:09:21Z INFO tracing::span] diff;
[2025-04-30T18:09:21Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:21Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/interactive_tx_double_rollback.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/interactive_tx_double_rollback.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Transaction API error: Transaction already closed: A rollback cannot be executed on a transaction that was rolled back
at TransactionManager.getActiveTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:920:19)
at file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:898:24
at Object.runInChildSpan (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:12:12)
at TransactionManager.rollbackTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:897:37)
at rollbackTransaction (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:360:35)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:696:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'new::interactive_tx::interactive_tx::double_rollback' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::interactive_tx::interactive_tx::double_rollback
at ./tests/new/interactive_tx.rs:463:5
28: query_engine_tests::new::interactive_tx::interactive_tx::double_rollback::{{closure}}
at ./tests/new/interactive_tx.rs:463:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: new::interactive_tx::interactive_tx::rollback_after_commit (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: Transaction API error: Transaction already closed: A rollback cannot be executed on a committed transaction
at TransactionManager.getActiveTransaction (file:<PATH>:<DEC>:<DEC>)
at file:<PATH>:<DEC>:<DEC>
at Object.runInChildSpan (file:<PATH>:<DEC>:<DEC>)
at TransactionManager.rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at rollbackTransaction (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/interactive_tx_rollback_after_commit.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
field String?
}
[2025-04-30T18:09:14Z INFO tracing::span] diff;
[2025-04-30T18:09:14Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:14Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/interactive_tx_rollback_after_commit.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n field String?\n}"), "url": String("file:/mnt/ram/db/interactive_tx_rollback_after_commit.db")}
Test failed due to an error:
=====
External process error: Server error: Error: Transaction API error: Transaction already closed: A rollback cannot be executed on a committed transaction
at TransactionManager.getActiveTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:918:19)
at file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:898:24
at Object.runInChildSpan (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:12:12)
at TransactionManager.rollbackTransaction (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:897:37)
at rollbackTransaction (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:360:35)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:696:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'new::interactive_tx::interactive_tx::rollback_after_commit' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::new::interactive_tx::interactive_tx::rollback_after_commit
at ./tests/new/interactive_tx.rs:537:5
28: query_engine_tests::new::interactive_tx::interactive_tx::rollback_after_commit::{{closure}}
at ./tests/new/interactive_tx.rs:537:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::filters::self_relation::self_relation_filters::l2_query
- writes::top_level_mutations::upsert::upsert::only_update_if_update_changes_nothing
- writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_connect_one2one_rel
1: writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_connect_one2one_rel (3)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler<PATH>:<DEC>:<DEC>:
not implemented: Discriminant(<DEC>)
at withLocalPanicHandler (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.executeQuery (file:<PATH>:<DEC>:<DEC>)
at QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at query (file:<PATH>:<DEC>:<DEC>)
at dispatchMessage (file:<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
at [nodejs.internal.kHybridDispatch] (node:internal<PATH>:<DEC>:<DEC>)
at MessagePort.<anonymous> (node:internal<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/multi_field_uniq_mut_nested_connect_one2one_rel.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model User {
id Int @id
name String
blog Blog?
}
model Blog {
id Int @id
title String
category String
author_id Int? @unique
author User? @relation(fields: [author_id], references: [id])
@@unique([title, category])
}
[2025-04-30T18:15:08Z INFO tracing::span] diff;
[2025-04-30T18:15:08Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:15:08Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/multi_field_uniq_mut_nested_connect_one2one_rel.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel User {\n id Int @id\n name String\n\n blog Blog?\n}\n\nmodel Blog {\n id Int @id\n title String\n category String\n author_id Int? @unique\n\n author User? @relation(fields: [author_id], references: [id])\n @@unique([title, category])\n}"), "url": String("file:/mnt/ram/db/multi_field_uniq_mut_nested_connect_one2one_rel.db")}
Test failed due to an error:
=====
External process error: Server error: PanicError: Panic in WASM module: panicked at query-compiler/query-compiler/src/translate.rs:88:18:
not implemented: Discriminant(2)
at withLocalPanicHandler (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:383:13)
at QueryPipeline.executeQuery (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:446:25)
at QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:35)
at query (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:397:19)
at dispatchMessage (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:690:14)
at MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:22)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28)
=====
thread 'writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_connect_one2one_rel' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_connect_one2one_rel
at ./tests/writes/uniques_and_node_selectors/multi_field_uniq_mutation.rs:34:5
28: query_engine_tests::writes::uniques_and_node_selectors::multi_field_uniq_mutation::multi_field_uniq_mut::nested_connect_one2one_rel::{{closure}}
at ./tests/writes/uniques_and_node_selectors/multi_field_uniq_mutation.rs:34:46
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- queries::aggregation::max::aggregation_max::max_no_records
- queries::aggregation::max::aggregation_max::max_some_records
- queries::aggregation::max::aggregation_max::max_with_all_sorts_of_query_args
1: queries::aggregation::max::aggregation_max::max_no_records (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}},"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}}}}; data: {"string":null,"int":null,"bInt":null,"float":null}
at mapObject (file:<PATH>:<DEC>:<DEC>)
at mapArrayOrObject (file:<PATH>:<DEC>:<DEC>)
at applyDataMap (file:<PATH>:<DEC>:<DEC>)
at _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggregation_max_max_no_records.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
int Int
bInt BigInt
float Float
string String
}
[2025-04-30T18:09:40Z INFO tracing::span] diff;
[2025-04-30T18:09:40Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:40Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggregation_max_max_no_records.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n int Int\n bInt BigInt\n float Float\n string String\n}"), "url": String("file:/mnt/ram/db/aggregation_max_max_no_records.db")}
Test failed due to an error:
=====
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}},"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}}}}; data: {"string":null,"int":null,"bInt":null,"float":null}
at mapObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:205:17)
at mapArrayOrObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:190:12)
at applyDataMap (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:175:14)
at _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:680:16)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:24)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::aggregation::max::aggregation_max::max_no_records' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::max::aggregation_max::max_no_records
at ./tests/queries/aggregation/max.rs:7:5
28: query_engine_tests::queries::aggregation::max::aggregation_max::max_no_records::{{closure}}
at ./tests/queries/aggregation/max.rs:7:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
2: queries::aggregation::max::aggregation_max::max_some_records (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}},"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}}}}; data: {"int":"<DEC>","bInt":"<DEC>","float":<DEC>.<DEC>,"string":"b"}
at mapObject (file:<PATH>:<DEC>:<DEC>)
at mapArrayOrObject (file:<PATH>:<DEC>:<DEC>)
at applyDataMap (file:<PATH>:<DEC>:<DEC>)
at _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggregation_max_max_some_records.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
int Int
bInt BigInt
float Float
string String
}
[2025-04-30T18:09:26Z INFO tracing::span] diff;
[2025-04-30T18:09:26Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:26Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggregation_max_max_some_records.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n int Int\n bInt BigInt\n float Float\n string String\n}"), "url": String("file:/mnt/ram/db/aggregation_max_max_some_records.db")}
Test failed due to an error:
=====
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}},"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}}}}; data: {"int":"10","bInt":"10","float":5.5,"string":"b"}
at mapObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:205:17)
at mapArrayOrObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:190:12)
at applyDataMap (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:175:14)
at _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:680:16)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:24)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::aggregation::max::aggregation_max::max_some_records' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::max::aggregation_max::max_some_records
at ./tests/queries/aggregation/max.rs:17:5
28: query_engine_tests::queries::aggregation::max::aggregation_max::max_some_records::{{closure}}
at ./tests/queries/aggregation/max.rs:17:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
3: queries::aggregation::max::aggregation_max::max_with_all_sorts_of_query_args (1)
[<TIMESTAMP> INFO tracing::span] diff;
[<TIMESTAMP> INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}},"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}}}}; data: {"int":"<DEC>","bInt":"<DEC>","float":<DEC>.<DEC>,"string":"f"}
at mapObject (file:<PATH>:<DEC>:<DEC>)
at mapArrayOrObject (file:<PATH>:<DEC>:<DEC>)
at applyDataMap (file:<PATH>:<DEC>:<DEC>)
at _QueryInterpreter.interpretNode (file:<PATH>:<DEC>:<DEC>)
at async QueryPipeline.run (file:<PATH>:<DEC>:<DEC>)
at async MessagePort.<anonymous> (file:<PATH>:<DEC>:<DEC>)
Full log
******************************
* Test run information:
* Connector: sqlite libsql.js.wasm
* CI? false
* External test executor: QueryCompiler
* Driver adapter: libsql
* Driver adapter config:
******************************
Used datamodel:
datasource test {
provider = "sqlite"
url = "file:/mnt/ram/db/aggregation_max_max_with_all_sorts_of_query_args.db"
relationMode = "foreignKeys"
}
generator client {
provider = "prisma-client-js"
previewFeatures = ["deno", "driverAdapters", "metrics", "multiSchema", "nativeDistinct", "postgresqlExtensions", "queryCompiler", "relationJoins", "strictUndefinedChecks", "views", "reactNative", "typedSql"]
}
model TestModel {
id Int @id
int Int
bInt BigInt
float Float
string String
}
[2025-04-30T18:09:27Z INFO tracing::span] diff;
[2025-04-30T18:09:27Z INFO sql_schema_connector::apply_migration] render_script; diagnostics=DestructiveChangeDiagnostics { warnings: [], unexecutable_migrations: [] }
[2025-04-30T18:09:27Z INFO query_tests_setup::connector_tag::js::external_process] request; method="initializeSchema" params=Object {"schemaId": Number(0), "schema": String("datasource test {\n provider = \"sqlite\"\n url = \"file:/mnt/ram/db/aggregation_max_max_with_all_sorts_of_query_args.db\"\n relationMode = \"foreignKeys\"\n}\n\n\ngenerator client {\n provider = \"prisma-client-js\"\n previewFeatures = [\"deno\", \"driverAdapters\", \"metrics\", \"multiSchema\", \"nativeDistinct\", \"postgresqlExtensions\", \"queryCompiler\", \"relationJoins\", \"strictUndefinedChecks\", \"views\", \"reactNative\", \"typedSql\"]\n}\n\n\nmodel TestModel {\n id Int @id\n int Int\n bInt BigInt\n float Float\n string String\n}"), "url": String("file:/mnt/ram/db/aggregation_max_max_with_all_sorts_of_query_args.db")}
Test failed due to an error:
=====
External process error: Server error: Error: DataMapper: Missing data field (Object): '_max'; node: {"type":"Object","fields":{"int":{"type":"Value","dbName":"int","resultType":{"type":"Int"}},"bInt":{"type":"Value","dbName":"bInt","resultType":{"type":"BigInt"}},"float":{"type":"Value","dbName":"float","resultType":{"type":"Float"}},"string":{"type":"Value","dbName":"string","resultType":{"type":"String"}}}}; data: {"int":"10","bInt":"10","float":5.5,"string":"f"}
at mapObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:205:17)
at mapArrayOrObject (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:190:12)
at applyDataMap (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:175:14)
at _QueryInterpreter.interpretNode (file:///home/viktor/dev/prisma/packages/client-engine-runtime/dist/index.mjs:680:16)
at async QueryPipeline.run (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:430:24)
at async MessagePort.<anonymous> (file:///home/viktor/dev/prisma-engines/libs/driver-adapters/executor/dist/qc-test-worker/worker.js:675:16)
=====
thread 'queries::aggregation::max::aggregation_max::max_with_all_sorts_of_query_args' panicked at query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13:
💥 Test failed due to an error (see above)
stack backtrace:
0: rust_begin_unwind
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/std/src/panicking.rs:695:5
1: core::panicking::panic_fmt
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/panicking.rs:75:14
2: query_tests_setup::run_connector_test_impl::{{closure}}
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:392:13
3: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
4: <core::pin::Pin<P> as core::future::future::Future>::poll
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/future/future.rs:124:9
5: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:54
6: tokio::task::coop::with_budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:167:5
7: tokio::task::coop::budget
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/task/coop/mod.rs:133:5
8: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:733:25
9: tokio::runtime::scheduler::current_thread::Context::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:432:19
10: tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:732:36
11: tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:68
12: tokio::runtime::context::scoped::Scoped<T>::set
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/scoped.rs:40:9
13: tokio::runtime::context::set_scheduler::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:26
14: std::thread::local::LocalKey<T>::try_with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:310:12
15: std::thread::local::LocalKey<T>::with
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/local.rs:274:15
16: tokio::runtime::context::set_scheduler
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context.rs:180:9
17: tokio::runtime::scheduler::current_thread::CoreGuard::enter
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:820:27
18: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:720:19
19: tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:200:28
20: tokio::runtime::context::runtime::enter_runtime
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/context/runtime.rs:65:16
21: tokio::runtime::scheduler::current_thread::CurrentThread::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/scheduler/current_thread/mod.rs:188:9
22: tokio::runtime::runtime::Runtime::block_on_inner
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:368:47
23: tokio::runtime::runtime::Runtime::block_on
at /home/viktor/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.2/src/runtime/runtime.rs:340:13
24: query_tests_setup::run_with_tokio
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:61:5
25: query_tests_setup::run_connector_test_impl
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:343:5
26: query_tests_setup::run_connector_test
at /home/viktor/dev/prisma-engines/query-engine/connector-test-kit-rs/query-tests-setup/src/lib.rs:284:5
27: query_engine_tests::queries::aggregation::max::aggregation_max::max_with_all_sorts_of_query_args
at ./tests/queries/aggregation/max.rs:33:5
28: query_engine_tests::queries::aggregation::max::aggregation_max::max_with_all_sorts_of_query_args::{{closure}}
at ./tests/queries/aggregation/max.rs:33:22
29: core::ops::function::FnOnce::call_once
at /home/viktor/.rustup/toolchains/1.86.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/ops/function.rs:250:5
30: core::ops::function::FnOnce::call_once
at /rustc/05f9846f893b09a1be1fc8560e33fc3c815cfecb/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.