[INFO] fetching crate deli 0.2.0... [INFO] testing deli-0.2.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate deli 0.2.0 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate deli 0.2.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 79 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b45030ec67ed018a031ab190c5985a93aca556957e30691d71d42cbbfb835fc [INFO] running `Command { std: "docker" "start" "-a" "4b45030ec67ed018a031ab190c5985a93aca556957e30691d71d42cbbfb835fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b45030ec67ed018a031ab190c5985a93aca556957e30691d71d42cbbfb835fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b45030ec67ed018a031ab190c5985a93aca556957e30691d71d42cbbfb835fc", kill_on_drop: false }` [INFO] [stdout] 4b45030ec67ed018a031ab190c5985a93aca556957e30691d71d42cbbfb835fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf137e0724e594aed486ecd4bac67d255df70d791b6fe8babac13dd518abb27a [INFO] running `Command { std: "docker" "start" "-a" "cf137e0724e594aed486ecd4bac67d255df70d791b6fe8babac13dd518abb27a", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling deli-derive v0.2.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling web-sys v0.3.77 [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 21.01s [INFO] running `Command { std: "docker" "inspect" "cf137e0724e594aed486ecd4bac67d255df70d791b6fe8babac13dd518abb27a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf137e0724e594aed486ecd4bac67d255df70d791b6fe8babac13dd518abb27a", kill_on_drop: false }` [INFO] [stdout] cf137e0724e594aed486ecd4bac67d255df70d791b6fe8babac13dd518abb27a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2479987e97054cf6f82d3bc1c8a941dd021a38e584ddc0195baee5ca5e49215 [INFO] running `Command { std: "docker" "start" "-a" "c2479987e97054cf6f82d3bc1c8a941dd021a38e584ddc0195baee5ca5e49215", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [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.50 [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] [stdout] warning: struct `Employee` is never constructed [INFO] [stdout] --> tests/web.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Employee { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_database` is never used [INFO] [stdout] --> tests/web.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | async fn create_database() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin_read_transaction` is never used [INFO] [stdout] --> tests/web.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn begin_read_transaction(database: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `begin_write_transaction` is never used [INFO] [stdout] --> tests/web.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn begin_write_transaction(database: &Database) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `close_and_delete_database` is never used [INFO] [stdout] --> tests/web.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | async fn close_and_delete_database(database: Database) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_db_creation_and_deletion` is never used [INFO] [stdout] --> tests/web.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | async fn test_db_creation_and_deletion() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_value_add` is never used [INFO] [stdout] --> tests/web.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | async fn test_value_add() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_value_update` is never used [INFO] [stdout] --> tests/web.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | async fn test_value_update() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_count` is never used [INFO] [stdout] --> tests/web.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | async fn test_count() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_all` is never used [INFO] [stdout] --> tests/web.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | async fn test_get_all() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_all_keys` is never used [INFO] [stdout] --> tests/web.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | async fn test_get_all_keys() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_delete` is never used [INFO] [stdout] --> tests/web.rs:309:10 [INFO] [stdout] | [INFO] [stdout] 309 | async fn test_delete() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_unique_index` is never used [INFO] [stdout] --> tests/web.rs:359:10 [INFO] [stdout] | [INFO] [stdout] 359 | async fn test_unique_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_count_by_index` is never used [INFO] [stdout] --> tests/web.rs:393:10 [INFO] [stdout] | [INFO] [stdout] 393 | async fn test_count_by_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_by_index` is never used [INFO] [stdout] --> tests/web.rs:447:10 [INFO] [stdout] | [INFO] [stdout] 447 | async fn test_get_by_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_key_by_index` is never used [INFO] [stdout] --> tests/web.rs:499:10 [INFO] [stdout] | [INFO] [stdout] 499 | async fn test_get_key_by_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_all_by_index` is never used [INFO] [stdout] --> tests/web.rs:531:10 [INFO] [stdout] | [INFO] [stdout] 531 | async fn test_get_all_by_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_all_keys_by_index` is never used [INFO] [stdout] --> tests/web.rs:611:10 [INFO] [stdout] | [INFO] [stdout] 611 | async fn test_get_all_keys_by_index() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.06s [INFO] running `Command { std: "docker" "inspect" "c2479987e97054cf6f82d3bc1c8a941dd021a38e584ddc0195baee5ca5e49215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2479987e97054cf6f82d3bc1c8a941dd021a38e584ddc0195baee5ca5e49215", kill_on_drop: false }` [INFO] [stdout] c2479987e97054cf6f82d3bc1c8a941dd021a38e584ddc0195baee5ca5e49215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d907f72ca4c62863458f35e841096f6e9941541294b7a95a562bde89cc09bb58 [INFO] running `Command { std: "docker" "start" "-a" "d907f72ca4c62863458f35e841096f6e9941541294b7a95a562bde89cc09bb58", 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: struct `Employee` is never constructed [INFO] [stderr] --> tests/web.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct Employee { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `create_database` is never used [INFO] [stderr] --> tests/web.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | async fn create_database() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `begin_read_transaction` is never used [INFO] [stderr] --> tests/web.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn begin_read_transaction(database: &Database) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `begin_write_transaction` is never used [INFO] [stderr] --> tests/web.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | fn begin_write_transaction(database: &Database) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `close_and_delete_database` is never used [INFO] [stderr] --> tests/web.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | async fn close_and_delete_database(database: Database) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_db_creation_and_deletion` is never used [INFO] [stderr] --> tests/web.rs:46:10 [INFO] [stderr] | [INFO] [stderr] 46 | async fn test_db_creation_and_deletion() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_value_add` is never used [INFO] [stderr] --> tests/web.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | async fn test_value_add() { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_value_update` is never used [INFO] [stderr] --> tests/web.rs:91:10 [INFO] [stderr] | [INFO] [stderr] 91 | async fn test_value_update() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_count` is never used [INFO] [stderr] --> tests/web.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | async fn test_count() { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_all` is never used [INFO] [stderr] --> tests/web.rs:179:10 [INFO] [stderr] | [INFO] [stderr] 179 | async fn test_get_all() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_all_keys` is never used [INFO] [stderr] --> tests/web.rs:260:10 [INFO] [stderr] | [INFO] [stderr] 260 | async fn test_get_all_keys() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_delete` is never used [INFO] [stderr] --> tests/web.rs:309:10 [INFO] [stderr] | [INFO] [stderr] 309 | async fn test_delete() { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_unique_index` is never used [INFO] [stderr] --> tests/web.rs:359:10 [INFO] [stderr] | [INFO] [stderr] 359 | async fn test_unique_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_count_by_index` is never used [INFO] [stderr] --> tests/web.rs:393:10 [INFO] [stderr] | [INFO] [stderr] 393 | async fn test_count_by_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_by_index` is never used [INFO] [stderr] --> tests/web.rs:447:10 [INFO] [stderr] | [INFO] [stderr] 447 | async fn test_get_by_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_key_by_index` is never used [INFO] [stderr] --> tests/web.rs:499:10 [INFO] [stderr] | [INFO] [stderr] 499 | async fn test_get_key_by_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_all_by_index` is never used [INFO] [stderr] --> tests/web.rs:531:10 [INFO] [stderr] | [INFO] [stderr] 531 | async fn test_get_all_by_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test_get_all_keys_by_index` is never used [INFO] [stderr] --> tests/web.rs:611:10 [INFO] [stderr] | [INFO] [stderr] 611 | async fn test_get_all_keys_by_index() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `deli` (test "web") generated 18 warnings [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-f254dd2d955708d8) [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] [stdout] [INFO] [stderr] Running tests/web.rs (/opt/rustwide/target/debug/deps/web-aa08f96f2f47b042) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests deli [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 21 tests [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [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 127) ... FAILED [INFO] [stdout] test src/lib.rs - (line 294) ... ok [INFO] [stdout] test src/lib.rs - (line 367) ... ok [INFO] [stdout] test src/lib.rs - (line 277) ... ok [INFO] [stdout] test src/lib.rs - (line 349) ... ok [INFO] [stdout] test src/lib.rs - (line 385) ... ok [INFO] [stdout] test src/lib.rs - (line 249) ... ok [INFO] [stdout] test src/lib.rs - (line 421) ... FAILED [INFO] [stdout] test src/lib.rs - (line 312) ... ok [INFO] [stdout] test src/lib.rs - (line 233) ... ok [INFO] [stdout] test src/lib.rs - (line 452) ... ok [INFO] [stdout] test src/lib.rs - (line 403) ... ok [INFO] [stdout] test src/lib.rs - (line 218) ... ok [INFO] [stdout] test src/lib.rs - (line 332) ... ok [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 10 | .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] 7 | 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] 18 | .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] 14 | 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 189) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 7 | 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] 7 | 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] 11 | 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] 11 | 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] 20 | ) -> 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] 16 | 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] 8 | 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] 13 | 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] 21 | 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 127) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `AddEmployee` in this scope [INFO] [stdout] --> src/lib.rs:131:61 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 8 | 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 421) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Transaction` in this scope [INFO] [stdout] --> src/lib.rs:434:45 [INFO] [stdout] | [INFO] [stdout] 16 | 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] 2 + use deli::Transaction; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 16 | 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] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 17 | 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] 17 | 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] ---- 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] 10 | .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] 7 | 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] [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.85s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d907f72ca4c62863458f35e841096f6e9941541294b7a95a562bde89cc09bb58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d907f72ca4c62863458f35e841096f6e9941541294b7a95a562bde89cc09bb58", kill_on_drop: false }` [INFO] [stdout] d907f72ca4c62863458f35e841096f6e9941541294b7a95a562bde89cc09bb58