[INFO] fetching crate indexed_db_futures 0.2.3... [INFO] testing indexed_db_futures-0.2.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate indexed_db_futures 0.2.3 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate indexed_db_futures 0.2.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate indexed_db_futures 0.2.3 [INFO] finished tweaking crates.io crate indexed_db_futures 0.2.3 [INFO] tweaked toml for crates.io crate indexed_db_futures 0.2.3 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63d57c00224f68d8c2eec0af944ef368198be40e8e7821468bd540df7b2bca35 [INFO] running `Command { std: "docker" "start" "-a" "63d57c00224f68d8c2eec0af944ef368198be40e8e7821468bd540df7b2bca35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63d57c00224f68d8c2eec0af944ef368198be40e8e7821468bd540df7b2bca35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d57c00224f68d8c2eec0af944ef368198be40e8e7821468bd540df7b2bca35", kill_on_drop: false }` [INFO] [stdout] 63d57c00224f68d8c2eec0af944ef368198be40e8e7821468bd540df7b2bca35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87cfdc10007f9594b19e32c0501bfe7e282b659d8c270bd04d53c8b0a4a4a904 [INFO] running `Command { std: "docker" "start" "-a" "87cfdc10007f9594b19e32c0501bfe7e282b659d8c270bd04d53c8b0a4a4a904", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling indexed_db_futures v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | on_success: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_abort` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | on_abort: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_error` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | on_error: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `listeners` [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | listeners: OpenDbRequestListeners, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbOpenDbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/request/futures/idb_request_future.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | on_success: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_request_future.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "87cfdc10007f9594b19e32c0501bfe7e282b659d8c270bd04d53c8b0a4a4a904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87cfdc10007f9594b19e32c0501bfe7e282b659d8c270bd04d53c8b0a4a4a904", kill_on_drop: false }` [INFO] [stdout] 87cfdc10007f9594b19e32c0501bfe7e282b659d8c270bd04d53c8b0a4a4a904 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ccd182ada0ff27935d84aace743e2376641c188fb16c89fe77695df956fe69 [INFO] running `Command { std: "docker" "start" "-a" "c0ccd182ada0ff27935d84aace743e2376641c188fb16c89fe77695df956fe69", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.29 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | on_success: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_abort` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | on_abort: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_error` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | on_error: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `listeners` [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | listeners: OpenDbRequestListeners, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbOpenDbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/request/futures/idb_request_future.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | on_success: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_request_future.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.29 [INFO] [stderr] Compiling indexed_db_futures v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | on_success: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_abort` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | on_abort: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_error` [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | on_error: Closure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `listeners` [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | listeners: OpenDbRequestListeners, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbOpenDbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_open_db_request_future.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `on_success` [INFO] [stdout] --> src/request/futures/idb_request_future.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | on_success: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IdbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/request/futures/idb_request_future.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.40s [INFO] running `Command { std: "docker" "inspect" "c0ccd182ada0ff27935d84aace743e2376641c188fb16c89fe77695df956fe69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ccd182ada0ff27935d84aace743e2376641c188fb16c89fe77695df956fe69", kill_on_drop: false }` [INFO] [stdout] c0ccd182ada0ff27935d84aace743e2376641c188fb16c89fe77695df956fe69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7aefb1b53cb6f5543042d768c09251996398747292b6c5b6db3fdbb71e1743a9 [INFO] running `Command { std: "docker" "start" "-a" "7aefb1b53cb6f5543042d768c09251996398747292b6c5b6db3fdbb71e1743a9", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `on_success` [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | on_success: Closure, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `on_abort` [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | on_abort: Closure, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `on_error` [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | on_error: Closure, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdbTransactionListeners` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/idb_transaction/idb_transaction_listeners.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `listeners` [INFO] [stderr] --> src/request/futures/idb_open_db_request_future.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | listeners: OpenDbRequestListeners, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdbOpenDbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/request/futures/idb_open_db_request_future.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `on_success` [INFO] [stderr] --> src/request/futures/idb_request_future.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | on_success: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdbRequestFuture` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/request/futures/idb_request_future.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `indexed_db_futures` (lib) generated 5 warnings [INFO] [stderr] warning: `indexed_db_futures` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/indexed_db_futures-7166f778e394ff29) [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 indexed_db_futures [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/idb_cursor.rs - idb_cursor (line 7) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/idb_cursor.rs - idb_cursor (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `object_store` in this scope [INFO] [stdout] --> src/idb_cursor.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 3 | match object_store.open_cursor()?.await? { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/idb_cursor.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 5 | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/idb_cursor.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 6 | let first_value: JsValue = cursor.value(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/idb_cursor.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 10 | let subsequent_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/idb_cursor.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 11 | let subsequent_value: JsValue = cursor.value(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyVal` in this scope [INFO] [stdout] --> src/idb_cursor.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 15 | let cursor_contents: Vec = cursor.into_vec(0).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use indexed_db_futures::idb_cursor::KeyVal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/idb_cursor.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 3 | match object_store.open_cursor()?.await? { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/idb_cursor.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | while cursor.continue_cursor()?.await? { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/idb_cursor.rs:20:62 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let cursor_contents: Vec = cursor.into_vec(0).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/idb_cursor.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | match object_store.open_cursor()?.await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | Some(cursor) => { [INFO] [stdout] 5 | | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } _doctest_main_src_idb_cursor_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/idb_cursor.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | match object_store.open_cursor()?.await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | Some(cursor) => { [INFO] [stdout] 5 | | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } _doctest_main_src_idb_cursor_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/idb_cursor.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | match object_store.open_cursor()?.await? { [INFO] [stdout] 4 | | Some(cursor) => { [INFO] [stdout] 5 | | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 9 | | while cursor.continue_cursor()?.await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } _doctest_main_src_idb_cursor_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/idb_cursor.rs:14:46 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | match object_store.open_cursor()?.await? { [INFO] [stdout] 4 | | Some(cursor) => { [INFO] [stdout] 5 | | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 9 | | while cursor.continue_cursor()?.await? { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } _doctest_main_src_idb_cursor_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/idb_cursor.rs:20:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_idb_cursor_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | match object_store.open_cursor()?.await? { [INFO] [stdout] 4 | | Some(cursor) => { [INFO] [stdout] 5 | | let first_key: JsValue = cursor.key().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 15 | | let cursor_contents: Vec = cursor.into_vec(0).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 20 | | }; [INFO] [stdout] 21 | | } _doctest_main_src_idb_cursor_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 36) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `DomException` in this scope [INFO] [stdout] --> src/lib.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn example() -> Result<(), DomException> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::DomException; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:42:83 [INFO] [stdout] | [INFO] [stdout] 9 | db_req.set_on_upgrade_needed(Some(|evt: &IdbVersionChangeEvent| -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 24 | let value_to_put: JsValue = get_some_js_value(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_some_js_value` in this scope [INFO] [stdout] --> src/lib.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 24 | let value_to_put: JsValue = get_some_js_value(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 41 | let value: Option = store.get_owned("my_key")?.await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::JsValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_value` in this scope [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 42 | use_value(value); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [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/idb_cursor.rs - idb_cursor (line 7) [INFO] [stdout] src/lib.rs - (line 36) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7aefb1b53cb6f5543042d768c09251996398747292b6c5b6db3fdbb71e1743a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aefb1b53cb6f5543042d768c09251996398747292b6c5b6db3fdbb71e1743a9", kill_on_drop: false }` [INFO] [stdout] 7aefb1b53cb6f5543042d768c09251996398747292b6c5b6db3fdbb71e1743a9