[INFO] fetching crate fdb_derive 0.1.9... [INFO] testing fdb_derive-0.1.9 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fdb_derive 0.1.9 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate fdb_derive 0.1.9 [INFO] finished tweaking crates.io crate fdb_derive 0.1.9 [INFO] tweaked toml for crates.io crate fdb_derive 0.1.9 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fdb_derive 0.1.9 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fdb_derive 0.1.9 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded foundationdb-macros v0.3.2 [INFO] [stderr] Downloaded ulid v1.2.1 [INFO] [stderr] Downloaded try_map v0.3.1 [INFO] [stderr] Downloaded fdb_trait v0.1.5 [INFO] [stderr] Downloaded foundationdb-tuple v0.9.1 [INFO] [stderr] Downloaded foundationdb-gen v0.9.2 [INFO] [stderr] Downloaded foundationdb v0.9.2 [INFO] [stderr] Downloaded foundationdb-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa9b9a4d25f5d8f067c8a33f459683e72cf46b1f1e19b4a11bffce98e5a621ae [INFO] running `Command { std: "docker" "start" "-a" "aa9b9a4d25f5d8f067c8a33f459683e72cf46b1f1e19b4a11bffce98e5a621ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa9b9a4d25f5d8f067c8a33f459683e72cf46b1f1e19b4a11bffce98e5a621ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa9b9a4d25f5d8f067c8a33f459683e72cf46b1f1e19b4a11bffce98e5a621ae", kill_on_drop: false }` [INFO] [stdout] aa9b9a4d25f5d8f067c8a33f459683e72cf46b1f1e19b4a11bffce98e5a621ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60cf2311773f7b3d34e28dcf948e50f250a8009a71b2eacee481d5dfb7418539 [INFO] running `Command { std: "docker" "start" "-a" "60cf2311773f7b3d34e28dcf948e50f250a8009a71b2eacee481d5dfb7418539", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling prettyplease v0.2.32 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling xml-rs v0.8.26 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling try_map v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling foundationdb-gen v0.9.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling foundationdb v0.9.2 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling foundationdb-tuple v0.9.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling foundationdb-macros v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling foundationdb-sys v0.9.1 [INFO] [stderr] Compiling fdb_trait v0.1.5 [INFO] [stderr] Compiling fdb_derive v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.43s [INFO] running `Command { std: "docker" "inspect" "60cf2311773f7b3d34e28dcf948e50f250a8009a71b2eacee481d5dfb7418539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60cf2311773f7b3d34e28dcf948e50f250a8009a71b2eacee481d5dfb7418539", kill_on_drop: false }` [INFO] [stdout] 60cf2311773f7b3d34e28dcf948e50f250a8009a71b2eacee481d5dfb7418539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 012fc32a6a1b85bb715dfcf9fd05af384b482970a817f0c2c9c9e831cc4ee41a [INFO] running `Command { std: "docker" "start" "-a" "012fc32a6a1b85bb715dfcf9fd05af384b482970a817f0c2c9c9e831cc4ee41a", kill_on_drop: false }` [INFO] [stderr] Compiling fdb_derive v0.1.9 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "012fc32a6a1b85bb715dfcf9fd05af384b482970a817f0c2c9c9e831cc4ee41a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012fc32a6a1b85bb715dfcf9fd05af384b482970a817f0c2c9c9e831cc4ee41a", kill_on_drop: false }` [INFO] [stdout] 012fc32a6a1b85bb715dfcf9fd05af384b482970a817f0c2c9c9e831cc4ee41a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 812b0cca67353d12badfff01afcb87e680034afc4515a0151eb398b4fc04d246 [INFO] running `Command { std: "docker" "start" "-a" "812b0cca67353d12badfff01afcb87e680034afc4515a0151eb398b4fc04d246", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fdb_derive-8e4796f28347a976) [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 fdb_derive [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - (line 54) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 54) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize, FdbStore, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize, FdbStore, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FdbStore` in this scope [INFO] [stdout] --> src/lib.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Serialize, Deserialize, FdbStore, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 2 + use fdb_derive::FdbStore; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fdb_key` in this scope [INFO] [stdout] --> src/lib.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[fdb_key] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fdb_unique_index` in this scope [INFO] [stdout] --> src/lib.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[fdb_unique_index] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `fdb_index` in this scope [INFO] [stdout] --> src/lib.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[fdb_index] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ulid` [INFO] [stdout] --> src/lib.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 65 | marker: ulid::Ulid::new(), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `ulid` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `ulid`, use `cargo add ulid` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ulid` in this scope [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 11 | marker: Ulid, // This will be used as a unique secondary index, one marker -> one primary key [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 27 | ak1.save(db.clone()).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 30 | let recorded_ak1 = Ak::load(db.clone(), &"4H2EKB28NOXPF6K40QOT").await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 33 | let r = Ak::load_by_sk(db.clone(),"EIMEIGHOH2GA5AEM4TAE6JIEROER0INGOOZEACAI".to_string(),).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 36 | let r = Ak::load_by_index(db.clone(), "owner", "Bob".to_string()).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 46 | ak1.update(db.clone(), ak_updated.clone()).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 49 | ak1.delete(db.clone()).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 70 | ele.save(db.clone()).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 75 | Ak::load_by_unique_index_range_sk(db.clone(), RangeQuery::NFirstResults(5), false) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeQuery` [INFO] [stdout] --> src/lib.rs:127:51 [INFO] [stdout] | [INFO] [stdout] 75 | Ak::load_by_unique_index_range_sk(db.clone(), RangeQuery::NFirstResults(5), false) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RangeQuery` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fdb_trait::RangeQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 83 | db.clone(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeQuery` [INFO] [stdout] --> src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 84 | RangeQuery::StartAndStop("sk-4".to_owned(), "sk-9".to_owned()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RangeQuery` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fdb_trait::RangeQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 92 | let all = Ak::load_by_primary_range(db.clone(), RangeQuery::All).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeQuery` [INFO] [stdout] --> src/lib.rs:144:49 [INFO] [stdout] | [INFO] [stdout] 92 | let all = Ak::load_by_primary_range(db.clone(), RangeQuery::All).await?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RangeQuery` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fdb_trait::RangeQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `db` in this scope [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 96 | db.clone(), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeQuery` [INFO] [stdout] --> src/lib.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 97 | RangeQuery::StartAndStop("id-3".to_owned(), "id-6".to_owned()), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RangeQuery` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use fdb_trait::RangeQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | ak1.save(db.clone()).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/lib.rs:82:66 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 30 | let recorded_ak1 = Ak::load(db.clone(), &"4H2EKB28NOXPF6K40QOT").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/lib.rs:85:92 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 33 | let r = Ak::load_by_sk(db.clone(),"EIMEIGHOH2GA5AEM4TAE6JIEROER0INGOOZEACAI".to_string(),).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/lib.rs:88:67 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | let r = Ak::load_by_index(db.clone(), "owner", "Bob".to_string()).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/lib.rs:98:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 46 | ak1.update(db.clone(), ak_updated.clone()).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/lib.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 49 | ak1.delete(db.clone()).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/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 70 | ele.save(db.clone()).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/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 76 | .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/lib.rs:139:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 87 | .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/lib.rs:144:66 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 92 | let all = Ak::load_by_primary_range(db.clone(), RangeQuery::All).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/lib.rs:151:2 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 99 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ulid` [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 22 | marker: Ulid::from_str("01JRX2VBGFD15EH6H5H9AD5WC8").unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Ulid` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `save` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 27 | ak1.save(db.clone()).await?; [INFO] [stdout] | ^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:82:24 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | let recorded_ak1 = Ak::load(db.clone(), &"4H2EKB28NOXPF6K40QOT").await?; [INFO] [stdout] | ^^^^ function or associated item not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_sk` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_sk` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | let r = Ak::load_by_sk(db.clone(),"EIMEIGHOH2GA5AEM4TAE6JIEROER0INGOOZEACAI".to_string(),).await?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_index` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_index` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let r = Ak::load_by_index(db.clone(), "owner", "Bob".to_string()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `load_by_index`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ulid` [INFO] [stdout] --> src/lib.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 39 | let new_marker = Ulid::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Ulid` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 44 | ..ak1.clone() [INFO] [stdout] | ^^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `update` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | ak1.update(db.clone(), ak_updated.clone()).await?; [INFO] [stdout] | ^^^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `update`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:98:35 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | ak1.update(db.clone(), ak_updated.clone()).await?; [INFO] [stdout] | ^^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `delete` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `delete` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 49 | ak1.delete(db.clone()).await?; [INFO] [stdout] | ^^^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `delete`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ulid` [INFO] [stdout] --> src/lib.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 57 | marker: Ulid::from_str("01JRX2VBGFD15EH6H5H9AD5WC8").unwrap(), [INFO] [stdout] | ^^^^ use of undeclared type `Ulid` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 66 | ..ak1.clone() [INFO] [stdout] | ^^^^^ method not found in `Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `save` found for reference `&Ak` in the current scope [INFO] [stdout] --> src/lib.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 70 | ele.save(db.clone()).await?; [INFO] [stdout] | ^^^^ method not found in `&Ak` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `save`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `fdb_trait::FdbStore` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_unique_index_range_sk` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_unique_index_range_sk` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 75 | Ak::load_by_unique_index_range_sk(db.clone(), RangeQuery::NFirstResults(5), false) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_unique_index_range_sk` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_unique_index_range_sk` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 82 | let range = Ak::load_by_unique_index_range_sk( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_primary_range` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_primary_range` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 92 | let all = Ak::load_by_primary_range(db.clone(), RangeQuery::All).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_by_primary_range` found for struct `Ak` in the current scope [INFO] [stdout] --> src/lib.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 4 | struct Ak { [INFO] [stdout] | --------- function or associated item `load_by_primary_range` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 95 | let range1 = Ak::load_by_primary_range( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Ak` [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 54) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.17s; merged doctests compilation took 0.78s [INFO] running `Command { std: "docker" "inspect" "812b0cca67353d12badfff01afcb87e680034afc4515a0151eb398b4fc04d246", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "812b0cca67353d12badfff01afcb87e680034afc4515a0151eb398b4fc04d246", kill_on_drop: false }` [INFO] [stdout] 812b0cca67353d12badfff01afcb87e680034afc4515a0151eb398b4fc04d246