[INFO] fetching crate deli 0.2.0... [INFO] testing deli-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate deli 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate deli 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate deli 0.2.0 [INFO] tweaked toml for crates.io crate deli 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deli 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85e1e234f4ab1b9900b28b2118bf47ce00e7a2949a99870200f77ed232b9b1d3 [INFO] running `Command { std: "docker" "start" "-a" "85e1e234f4ab1b9900b28b2118bf47ce00e7a2949a99870200f77ed232b9b1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e1e234f4ab1b9900b28b2118bf47ce00e7a2949a99870200f77ed232b9b1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e1e234f4ab1b9900b28b2118bf47ce00e7a2949a99870200f77ed232b9b1d3", kill_on_drop: false }` [INFO] [stdout] 85e1e234f4ab1b9900b28b2118bf47ce00e7a2949a99870200f77ed232b9b1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f525c2b3045709976fab79c8e7bfb7e79881b49743c275038be8219b5e7a29a [INFO] running `Command { std: "docker" "start" "-a" "7f525c2b3045709976fab79c8e7bfb7e79881b49743c275038be8219b5e7a29a", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.105 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling deli-derive v0.2.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.82 [INFO] [stderr] Compiling web-sys v0.3.82 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling idb v0.6.4 [INFO] [stderr] Compiling deli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.71s [INFO] running `Command { std: "docker" "inspect" "7f525c2b3045709976fab79c8e7bfb7e79881b49743c275038be8219b5e7a29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f525c2b3045709976fab79c8e7bfb7e79881b49743c275038be8219b5e7a29a", kill_on_drop: false }` [INFO] [stdout] 7f525c2b3045709976fab79c8e7bfb7e79881b49743c275038be8219b5e7a29a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6104b50339fa55408a9499bf42b65e4fc39b8030d8108baa6e71637ec4ce90d4 [INFO] running `Command { std: "docker" "start" "-a" "6104b50339fa55408a9499bf42b65e4fc39b8030d8108baa6e71637ec4ce90d4", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.55 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.55 [INFO] [stderr] Compiling deli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/database.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn transaction(&self) -> TransactionBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "6104b50339fa55408a9499bf42b65e4fc39b8030d8108baa6e71637ec4ce90d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6104b50339fa55408a9499bf42b65e4fc39b8030d8108baa6e71637ec4ce90d4", kill_on_drop: false }` [INFO] [stdout] 6104b50339fa55408a9499bf42b65e4fc39b8030d8108baa6e71637ec4ce90d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59eb52eb14d58cbb74fcf1fcbc5ec24cb2e500d910dad797078e3bf211314350 [INFO] running `Command { std: "docker" "start" "-a" "59eb52eb14d58cbb74fcf1fcbc5ec24cb2e500d910dad797078e3bf211314350", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/database.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn transaction(&self) -> TransactionBuilder { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 32 | pub fn transaction(&self) -> TransactionBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `deli` (lib) generated 1 warning (run `cargo fix --lib -p deli` to apply 1 suggestion) [INFO] [stderr] warning: `deli` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/deli-723e1670fcced814) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/web.rs (/opt/rustwide/target/debug/deps/web-6c8bfff80da62290) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests deli [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/lib.rs - (line 189) ... FAILED [INFO] [stdout] test src/lib.rs - (line 166) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - (line 385) ... ok [INFO] [stdout] test src/lib.rs - (line 294) ... ok [INFO] [stdout] test src/lib.rs - (line 218) ... ok [INFO] [stdout] test src/lib.rs - (line 233) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - (line 349) ... ok [INFO] [stdout] test src/lib.rs - (line 277) ... ok [INFO] [stdout] test src/lib.rs - (line 312) ... ok [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 367) ... ok [INFO] [stdout] test src/lib.rs - (line 421) ... FAILED [INFO] [stdout] test src/lib.rs - (line 332) ... ok [INFO] [stdout] test src/lib.rs - (line 249) ... ok [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 70) ... ok [INFO] [stdout] test src/lib.rs - (line 452) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] test src/lib.rs - (line 403) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 189) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | transaction.commit().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), _>` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 166) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:170:76 [INFO] [stdout] | [INFO] [stdout] 170 | async fn get_employee(transaction: &Transaction, id: u32) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 170 | async fn get_employee(transaction: &Transaction, id: u32) -> Result, Error> { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:174:69 [INFO] [stdout] | [INFO] [stdout] 174 | async fn get_all_employees(transaction: &Transaction) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 174 | async fn get_all_employees(transaction: &Transaction) -> Result, Error> { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | ) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 179 | async fn get_employees_with_bounds( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Employee` [INFO] [stdout] --> src/lib.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | Employee::with_transaction(transaction)?.get(&id).await [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Employee` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Employee` [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | Employee::with_transaction(transaction)?.get_all(.., None).await [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Employee` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Employee` [INFO] [stdout] --> src/lib.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | Employee::with_transaction(transaction)?.get_all(&from_id..=&to_id, None).await [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Employee` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | .with_model::() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 110 | fn create_read_transaction(database: &Database) -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | .with_model::() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 117 | fn create_write_transaction(database: &Database) -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 127) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `AddEmployee` in this scope [INFO] [stdout] --> src/lib.rs:131:61 [INFO] [stdout] | [INFO] [stdout] 131 | async fn add_employee(transaction: &Transaction, employee: &AddEmployee) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Employee` [INFO] [stdout] --> src/lib.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | Employee::with_transaction(transaction)?.add(employee).await [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Employee` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Employee` in this scope [INFO] [stdout] --> src/lib.rs:99:22 [INFO] [stdout] | [INFO] [stdout] 99 | .add_model::() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 96 | async fn create_database() -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 421) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Transaction` in this scope [INFO] [stdout] --> src/lib.rs:434:45 [INFO] [stdout] | [INFO] [stdout] 434 | async fn get_employee_by_name(transaction: &Transaction, name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 420 + use deli::Transaction; [INFO] [stdout] | [INFO] [stdout] 420 + use idb::Transaction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:434:98 [INFO] [stdout] | [INFO] [stdout] 434 | async fn get_employee_by_name(transaction: &Transaction, name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 420 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 420 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 420 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 420 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 7 other candidates [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:435:56 [INFO] [stdout] | [INFO] [stdout] 435 | Employee::with_transaction(transaction)?.by_name().get(name).await [INFO] [stdout] | ---------------------------------------- ^^^ method not found in `Result, deli::Error>` [INFO] [stdout] | | [INFO] [stdout] | method `get` is available on `&EmployeeObjectStore<'_>` [INFO] [stdout] | [INFO] [stdout] note: the method `get` exists on the type `deli::Index<'_, EmployeeNameIndex>` [INFO] [stdout] --> /opt/rustwide/workdir/src/index.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub async fn get<'a, Q>( [INFO] [stdout] 38 | | &self, [INFO] [stdout] 39 | | key_range: impl Into>, [INFO] [stdout] 40 | | ) -> Result, Error> [INFO] [stdout] 41 | | where [INFO] [stdout] 42 | | I::Key: Borrow, [INFO] [stdout] 43 | | Q: Serialize + ?Sized + 'a, [INFO] [stdout] | |___________________________________^ [INFO] [stdout] help: use the `?` operator to extract the `deli::Index<'_, EmployeeNameIndex>` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 435 | Employee::with_transaction(transaction)?.by_name()?.get(name).await [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 127) [INFO] [stdout] src/lib.rs - (line 166) [INFO] [stdout] src/lib.rs - (line 189) [INFO] [stdout] src/lib.rs - (line 421) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "59eb52eb14d58cbb74fcf1fcbc5ec24cb2e500d910dad797078e3bf211314350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59eb52eb14d58cbb74fcf1fcbc5ec24cb2e500d910dad797078e3bf211314350", kill_on_drop: false }` [INFO] [stdout] 59eb52eb14d58cbb74fcf1fcbc5ec24cb2e500d910dad797078e3bf211314350