[INFO] fetching crate indexed_db_futures 0.2.3... [INFO] testing indexed_db_futures-0.2.3 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate indexed_db_futures 0.2.3 into /workspace/builds/worker-35/source [INFO] validating manifest of crates.io crate indexed_db_futures 0.2.3 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-35/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a6162acadb5eec8e57e7c8396d401e503ce28d9b4ca3b01986519f21c279b0c [INFO] running `Command { std: "docker" "start" "-a" "1a6162acadb5eec8e57e7c8396d401e503ce28d9b4ca3b01986519f21c279b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a6162acadb5eec8e57e7c8396d401e503ce28d9b4ca3b01986519f21c279b0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6162acadb5eec8e57e7c8396d401e503ce28d9b4ca3b01986519f21c279b0c", kill_on_drop: false }` [INFO] [stdout] 1a6162acadb5eec8e57e7c8396d401e503ce28d9b4ca3b01986519f21c279b0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3353e52f55f14ca0bb33000016dc15cbe66aea2fbbcfe1c867b41c50fd16f735 [INFO] running `Command { std: "docker" "start" "-a" "3353e52f55f14ca0bb33000016dc15cbe66aea2fbbcfe1c867b41c50fd16f735", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling indexed_db_futures v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.82s [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] running `Command { std: "docker" "inspect" "3353e52f55f14ca0bb33000016dc15cbe66aea2fbbcfe1c867b41c50fd16f735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3353e52f55f14ca0bb33000016dc15cbe66aea2fbbcfe1c867b41c50fd16f735", kill_on_drop: false }` [INFO] [stdout] 3353e52f55f14ca0bb33000016dc15cbe66aea2fbbcfe1c867b41c50fd16f735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b121aa570367d3571111c0d79af7718f109136d1de4eb59e5a124f8ea264d586 [INFO] running `Command { std: "docker" "start" "-a" "b121aa570367d3571111c0d79af7718f109136d1de4eb59e5a124f8ea264d586", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [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.30 [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 13.08s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/indexed_db_futures-8eb0f8dd9fd583b4) [INFO] running `Command { std: "docker" "inspect" "b121aa570367d3571111c0d79af7718f109136d1de4eb59e5a124f8ea264d586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b121aa570367d3571111c0d79af7718f109136d1de4eb59e5a124f8ea264d586", kill_on_drop: false }` [INFO] [stdout] b121aa570367d3571111c0d79af7718f109136d1de4eb59e5a124f8ea264d586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-35/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 959205f22f12f1f9057d2fb6d85eb29039fb9b60acfa1cd10e124392c9568a54 [INFO] running `Command { std: "docker" "start" "-a" "959205f22f12f1f9057d2fb6d85eb29039fb9b60acfa1cd10e124392c9568a54", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/indexed_db_futures-8eb0f8dd9fd583b4) [INFO] [stderr] Doc-tests indexed_db_futures [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] [stdout] running 2 tests [INFO] [stdout] test src/idb_cursor.rs - idb_cursor (line 7) ... FAILED [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] 2 | 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] 2 | 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] 2 | 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] 2 | 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.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "959205f22f12f1f9057d2fb6d85eb29039fb9b60acfa1cd10e124392c9568a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959205f22f12f1f9057d2fb6d85eb29039fb9b60acfa1cd10e124392c9568a54", kill_on_drop: false }` [INFO] [stdout] 959205f22f12f1f9057d2fb6d85eb29039fb9b60acfa1cd10e124392c9568a54