[INFO] fetching crate perspective-client 3.8.0... [INFO] testing perspective-client-3.8.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate perspective-client 3.8.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate perspective-client 3.8.0 [INFO] finished tweaking crates.io crate perspective-client 3.8.0 [INFO] tweaked toml for crates.io crate perspective-client 3.8.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate perspective-client 3.8.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate perspective-client 3.8.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ts-rs v11.0.1 [INFO] [stderr] Downloaded rand-unique v0.2.2 [INFO] [stderr] Downloaded ts-rs-macros v11.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded talc v4.4.3 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded syn v2.0.99 [INFO] [stderr] Downloaded protobuf-src v2.0.1+26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3153c15bd78f784389c8920ece4e3a0403c7dfb55a9189c839503124b3d1b5c [INFO] running `Command { std: "docker" "start" "-a" "e3153c15bd78f784389c8920ece4e3a0403c7dfb55a9189c839503124b3d1b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3153c15bd78f784389c8920ece4e3a0403c7dfb55a9189c839503124b3d1b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3153c15bd78f784389c8920ece4e3a0403c7dfb55a9189c839503124b3d1b5c", kill_on_drop: false }` [INFO] [stdout] e3153c15bd78f784389c8920ece4e3a0403c7dfb55a9189c839503124b3d1b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c2fb5d3c21edf377c1b7f735e4c269d6d9c374aa2eccb9db7838ec3f5a61bca [INFO] running `Command { std: "docker" "start" "-a" "2c2fb5d3c21edf377c1b7f735e4c269d6d9c374aa2eccb9db7838ec3f5a61bca", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rand-unique v0.2.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling ts-rs-macros v11.0.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling perspective-client v3.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling ts-rs v11.0.1 [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/rust/view.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.65s [INFO] running `Command { std: "docker" "inspect" "2c2fb5d3c21edf377c1b7f735e4c269d6d9c374aa2eccb9db7838ec3f5a61bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c2fb5d3c21edf377c1b7f735e4c269d6d9c374aa2eccb9db7838ec3f5a61bca", kill_on_drop: false }` [INFO] [stdout] 2c2fb5d3c21edf377c1b7f735e4c269d6d9c374aa2eccb9db7838ec3f5a61bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 228515d178a6e0983fb8209545fbfe6f694fdbd2c99a86cb6977aa8fafb5469e [INFO] running `Command { std: "docker" "start" "-a" "228515d178a6e0983fb8209545fbfe6f694fdbd2c99a86cb6977aa8fafb5469e", kill_on_drop: false }` [INFO] [stderr] Compiling perspective-client v3.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/rust/view.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dimensions` is never constructed [INFO] [stdout] --> src/rust/view.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Dimensions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "228515d178a6e0983fb8209545fbfe6f694fdbd2c99a86cb6977aa8fafb5469e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228515d178a6e0983fb8209545fbfe6f694fdbd2c99a86cb6977aa8fafb5469e", kill_on_drop: false }` [INFO] [stdout] 228515d178a6e0983fb8209545fbfe6f694fdbd2c99a86cb6977aa8fafb5469e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0762330f047fbfb1adb64cd980639ade5d1fd52505a83f1cd9d5605ca4a33b74 [INFO] running `Command { std: "docker" "start" "-a" "0762330f047fbfb1adb64cd980639ade5d1fd52505a83f1cd9d5605ca4a33b74", kill_on_drop: false }` [INFO] [stderr] warning: struct `Dimensions` is never constructed [INFO] [stderr] --> src/rust/view.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub struct Dimensions { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `perspective-client` (lib) generated 1 warning [INFO] [stderr] warning: `perspective-client` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/rust/lib.rs (/opt/rustwide/target/debug/deps/perspective_client-d1b9530d1b1db542) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test utils::tests::clone::test_alias ... ok [INFO] [stdout] test utils::tests::clone::test_complex ... ok [INFO] [stdout] test utils::tests::clone::test_one_ident ... ok [INFO] [stdout] test utils::tests::clone::test_struct_field ... ok [INFO] [stdout] test config::expressions::test_completions_insert_text_matches_label ... ok [INFO] [stdout] test utils::tests::clone::test_struct_struct_field ... ok [INFO] [stdout] test utils::tests::clone::test_tuple ... ok [INFO] [stdout] test utils::tests::clone::test_two_idents ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests perspective_client [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/rust/table.rs - table::Table::replace (line 444) ... FAILED [INFO] [stdout] test src/rust/client.rs - client::Client::get_hosted_table_names (line 632) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View (line 229) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View::remove_update (line 526) ... FAILED [INFO] [stdout] test src/rust/client.rs - client::Client::open_table (line 603) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View (line 202) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View (line 184) ... FAILED [INFO] [stdout] test src/rust/client.rs - client::Client (line 201) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::columns (line 306) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::remove (line 417) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::delete (line 281) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View (line 174) ... FAILED [INFO] [stdout] test src/rust/utils/clone.rs - utils::clone::clone (line 21) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::view (line 525) ... FAILED [INFO] [stdout] test src/rust/view.rs - view::View (line 213) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::update (line 478) ... FAILED [INFO] [stdout] test src/rust/table.rs - table::Table::get_index (line 229) ... FAILED [INFO] [stdout] test src/rust/client.rs - client::Client::table (line 519) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/rust/table.rs - table::Table::replace (line 444) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/table.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = UpdateData::Csv("x,y\n1,2".into()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateOptions` [INFO] [stdout] --> src/rust/table.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 4 | let opts = UpdateOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `UpdateOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/table.rs:447:1 [INFO] [stdout] | [INFO] [stdout] 5 | table.replace(data, opts).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:447:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_444_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | table.replace(data, opts).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/client.rs - client::Client::get_hosted_table_names (line 632) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/client.rs:633:14 [INFO] [stdout] | [INFO] [stdout] 3 | let tables = client.get_hosted_table_names().await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/client.rs:633:46 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_client_rs_632_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 3 | let tables = client.get_hosted_table_names().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View (line 229) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableInitOptions` [INFO] [stdout] --> src/rust/view.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 3 | let opts = TableInitOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TableInitOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableInitOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableData` [INFO] [stdout] --> src/rust/view.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TableData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/view.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/view.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 5 | let table = client.table(data, opts).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/view.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 7 | let table2 = client.table(TableData::View(view)).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableData` [INFO] [stdout] --> src/rust/view.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 7 | let table2 = client.table(TableData::View(view)).await?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TableData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:232:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_229_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let table = client.table(data, opts).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/rust/view.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_229_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | let view = table.view(None).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/rust/view.rs:234:50 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_229_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let table2 = client.table(TableData::View(view)).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/rust/view.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_229_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | table.update(data).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View::remove_update (line 526) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `view` in this scope [INFO] [stdout] --> src/rust/view.rs:528:11 [INFO] [stdout] | [INFO] [stdout] 4 | let cid = view.on_update(callback, OnUpdateOptions::default()).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OnUpdateOptions` [INFO] [stdout] --> src/rust/view.rs:528:36 [INFO] [stdout] | [INFO] [stdout] 4 | let cid = view.on_update(callback, OnUpdateOptions::default()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `OnUpdateOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::OnUpdateOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `view` in this scope [INFO] [stdout] --> src/rust/view.rs:529:1 [INFO] [stdout] | [INFO] [stdout] 5 | view.remove_update(cid).await?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:528:64 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_526_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let callback = |_| async { print!("Updated!") }; [INFO] [stdout] 4 | let cid = view.on_update(callback, OnUpdateOptions::default()).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/rust/view.rs:529:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_526_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | view.remove_update(cid).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/client.rs - client::Client::open_table (line 603) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/client.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 3 | let tables = client.open_table("table_one").await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/client.rs:604:45 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_client_rs_603_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 3 | let tables = client.open_table("table_one").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View (line 202) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/view.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 3 | let view = table [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ViewConfigUpdate` in this scope [INFO] [stdout] --> src/rust/view.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 4 | .view(Some(ViewConfigUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::config::ViewConfigUpdate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ViewConfigUpdate` [INFO] [stdout] --> src/rust/view.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 6 | ..ViewConfigUpdate::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ViewConfigUpdate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::config::ViewConfigUpdate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:208:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_202_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View (line 184) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/rust/view.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::config::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `perspective_client::config` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_184_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/client.rs - client::Client (line 201) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `perspective` [INFO] [stdout] --> src/rust/client.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 4 | use perspective::server::Server; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `perspective` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `perspective`, use `cargo add perspective` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `perspective` [INFO] [stdout] --> src/rust/client.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 3 | use perspective::LocalClient; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `perspective` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `perspective`, use `cargo add perspective` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `perspective` [INFO] [stdout] --> src/rust/client.rs:206:14 [INFO] [stdout] | [INFO] [stdout] 7 | let client = perspective::LocalClient::new(&server); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `perspective` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `perspective`, use `cargo add perspective` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::columns (line 306) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/table.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 3 | let columns = table.columns().await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:307:31 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_306_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | let columns = table.columns().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::remove (line 417) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/table.rs:418:1 [INFO] [stdout] | [INFO] [stdout] 3 | table.remove(UpdateData::Csv("index\n1\n2\n3")).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/table.rs:418:14 [INFO] [stdout] | [INFO] [stdout] 3 | table.remove(UpdateData::Csv("index\n1\n2\n3")).await?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:418:49 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_417_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | table.remove(UpdateData::Csv("index\n1\n2\n3")).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::delete (line 281) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableInitOptions` [INFO] [stdout] --> src/rust/table.rs:282:12 [INFO] [stdout] | [INFO] [stdout] 3 | let opts = TableInitOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TableInitOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableInitOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableData` [INFO] [stdout] --> src/rust/table.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TableData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/table.rs:283:30 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/table.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 5 | let table = client.table(data, opts).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DeleteOptions` [INFO] [stdout] --> src/rust/table.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 9 | table.delete(DeleteOptions::default()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `DeleteOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::DeleteOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:284:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_281_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let table = client.table(data, opts).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/rust/table.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_281_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | table.delete(DeleteOptions::default()).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View (line 174) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableInitOptions` [INFO] [stdout] --> src/rust/view.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 3 | let opts = TableInitOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TableInitOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableInitOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableData` [INFO] [stdout] --> src/rust/view.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TableData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/view.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/view.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 5 | let table = client.table(data, opts).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:177:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let table = client.table(data, opts).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/rust/view.rs:179:29 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let view = table.view(None).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/rust/view.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let arrow = view.to_arrow().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/rust/view.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_174_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | view.delete().await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/utils/clone.rs - utils::clone::clone (line 21) stdout ---- [INFO] [stdout] error: cannot find macro `clone` in this scope [INFO] [stdout] --> src/rust/utils/clone.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 3 | clone!(my_struct.option_method(), alias = my_struct.prop1.my_rc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `option_method` in this scope [INFO] [stdout] --> src/rust/utils/clone.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 4 | println!("These bindings exist: {:?} {:?}", option_method, alias); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `alias` in this scope [INFO] [stdout] --> src/rust/utils/clone.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 4 | println!("These bindings exist: {:?} {:?}", option_method, alias); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::view (line 525) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/rust/table.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::config::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `perspective_client::config` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:538:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_525_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/view.rs - view::View (line 213) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/view.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 3 | let view = table [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ViewConfigUpdate` in this scope [INFO] [stdout] --> src/rust/view.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 4 | .view(Some(ViewConfigUpdate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::config::ViewConfigUpdate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ViewConfigUpdate` [INFO] [stdout] --> src/rust/view.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 6 | ..ViewConfigUpdate::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ViewConfigUpdate` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::config::ViewConfigUpdate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/view.rs:219:6 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_view_rs_213_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::update (line 478) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/table.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = UpdateData::Csv("x,y\n1,2".into()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateOptions` [INFO] [stdout] --> src/rust/table.rs:480:12 [INFO] [stdout] | [INFO] [stdout] 4 | let opts = UpdateOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `UpdateOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/rust/table.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 5 | table.update(data, opts).await?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:481:26 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_478_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | table.update(data, opts).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/table.rs - table::Table::get_index (line 229) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/rust/table.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 8 | let index = table.get_index() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 9 | } _doctest_main_src_rust_table_rs_229_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TableInitOptions` in this scope [INFO] [stdout] --> src/rust/table.rs:230:15 [INFO] [stdout] | [INFO] [stdout] 3 | let options = TableInitOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableInitOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/table.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 7 | let table = client.table("x,y\n1,2\n3,4", options).await; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/table.rs:234:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_table_rs_229_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let table = client.table("x,y\n1,2\n3,4", options).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `default` in this scope [INFO] [stdout] --> src/rust/table.rs:232:7 [INFO] [stdout] | [INFO] [stdout] 5 | ..default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/rust/client.rs - client::Client::table (line 519) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableInitOptions` [INFO] [stdout] --> src/rust/client.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 3 | let opts = TableInitOptions::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TableInitOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableInitOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TableData` [INFO] [stdout] --> src/rust/client.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `TableData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::TableData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateData` [INFO] [stdout] --> src/rust/client.rs:521:30 [INFO] [stdout] | [INFO] [stdout] 4 | let data = TableData::Update(UpdateData::Csv("x,y\n1,2\n3,4".into())); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UpdateData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use perspective_client::UpdateData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/rust/client.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 5 | let table = client.table(data, opts).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/rust/client.rs:522:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_rust_client_rs_519_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let table = client.table(data, opts).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/rust/client.rs - client::Client (line 201) [INFO] [stdout] src/rust/client.rs - client::Client::get_hosted_table_names (line 632) [INFO] [stdout] src/rust/client.rs - client::Client::open_table (line 603) [INFO] [stdout] src/rust/client.rs - client::Client::table (line 519) [INFO] [stdout] src/rust/table.rs - table::Table::columns (line 306) [INFO] [stdout] src/rust/table.rs - table::Table::delete (line 281) [INFO] [stdout] src/rust/table.rs - table::Table::get_index (line 229) [INFO] [stdout] src/rust/table.rs - table::Table::remove (line 417) [INFO] [stdout] src/rust/table.rs - table::Table::replace (line 444) [INFO] [stdout] src/rust/table.rs - table::Table::update (line 478) [INFO] [stdout] src/rust/table.rs - table::Table::view (line 525) [INFO] [stdout] src/rust/utils/clone.rs - utils::clone::clone (line 21) [INFO] [stdout] src/rust/view.rs - view::View (line 174) [INFO] [stdout] src/rust/view.rs - view::View (line 184) [INFO] [stdout] src/rust/view.rs - view::View (line 202) [INFO] [stdout] src/rust/view.rs - view::View (line 213) [INFO] [stdout] src/rust/view.rs - view::View (line 229) [INFO] [stdout] src/rust/view.rs - view::View::remove_update (line 526) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.94s; merged doctests compilation took 0.25s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0762330f047fbfb1adb64cd980639ade5d1fd52505a83f1cd9d5605ca4a33b74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0762330f047fbfb1adb64cd980639ade5d1fd52505a83f1cd9d5605ca4a33b74", kill_on_drop: false }` [INFO] [stdout] 0762330f047fbfb1adb64cd980639ade5d1fd52505a83f1cd9d5605ca4a33b74