[INFO] cloning repository https://github.com/Drew-Chase/filemaker-lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Drew-Chase/filemaker-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrew-Chase%2Ffilemaker-lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrew-Chase%2Ffilemaker-lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6817850982bef2ce53c63e38536a6f69d7b638e6 [INFO] testing Drew-Chase/filemaker-lib/6817850982bef2ce53c63e38536a6f69d7b638e6 against 1.93.0 for beta-1.94-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrew-Chase%2Ffilemaker-lib" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Drew-Chase/filemaker-lib [INFO] finished tweaking git repo https://github.com/Drew-Chase/filemaker-lib [INFO] tweaked toml for git repo https://github.com/Drew-Chase/filemaker-lib written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Drew-Chase/filemaker-lib on toolchain 1.93.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.93.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Drew-Chase/filemaker-lib 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" "+1.93.0" "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-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41921987d4f440eed4d8a7f7331db395643a11b3ca49efd4980063cbad0c364a [INFO] running `Command { std: "docker" "start" "-a" "41921987d4f440eed4d8a7f7331db395643a11b3ca49efd4980063cbad0c364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41921987d4f440eed4d8a7f7331db395643a11b3ca49efd4980063cbad0c364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41921987d4f440eed4d8a7f7331db395643a11b3ca49efd4980063cbad0c364a", kill_on_drop: false }` [INFO] [stdout] 41921987d4f440eed4d8a7f7331db395643a11b3ca49efd4980063cbad0c364a [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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1cf53302e5e5610a19fb701bee8c7884ec91e74c98b2918668c47e81421eccf [INFO] running `Command { std: "docker" "start" "-a" "f1cf53302e5e5610a19fb701bee8c7884ec91e74c98b2918668c47e81421eccf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling filemaker-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.98s [INFO] running `Command { std: "docker" "inspect" "f1cf53302e5e5610a19fb701bee8c7884ec91e74c98b2918668c47e81421eccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1cf53302e5e5610a19fb701bee8c7884ec91e74c98b2918668c47e81421eccf", kill_on_drop: false }` [INFO] [stdout] f1cf53302e5e5610a19fb701bee8c7884ec91e74c98b2918668c47e81421eccf [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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ea246118a14242fa958f84f2563317fbd5b0d91afbe47eb893027b40a58d9e3 [INFO] running `Command { std: "docker" "start" "-a" "2ea246118a14242fa958f84f2563317fbd5b0d91afbe47eb893027b40a58d9e3", kill_on_drop: false }` [INFO] [stderr] Compiling filemaker-lib v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `filemaker` [INFO] [stdout] --> examples/filemaker_instance_creation.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let filemaker = Filemaker::new(username, password, database, table).await?; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filemaker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.06s [INFO] running `Command { std: "docker" "inspect" "2ea246118a14242fa958f84f2563317fbd5b0d91afbe47eb893027b40a58d9e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea246118a14242fa958f84f2563317fbd5b0d91afbe47eb893027b40a58d9e3", kill_on_drop: false }` [INFO] [stdout] 2ea246118a14242fa958f84f2563317fbd5b0d91afbe47eb893027b40a58d9e3 [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=warn" "-e" "RUSTDOCFLAGS=--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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+1.93.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15c22d3ec6d17a021a66b20631bc515d05b7c9710b25cf1a6cd173befffe386c [INFO] running `Command { std: "docker" "start" "-a" "15c22d3ec6d17a021a66b20631bc515d05b7c9710b25cf1a6cd173befffe386c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `filemaker` [INFO] [stderr] --> examples/filemaker_instance_creation.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let filemaker = Filemaker::new(username, password, database, table).await?; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filemaker` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `filemaker-lib` (example "filemaker_instance_creation") generated 1 warning (run `cargo fix --example "filemaker_instance_creation" -p filemaker-lib` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/filemaker_lib-9214554372482bf4) [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 filemaker_lib [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/../README.MD - (line 227) ... FAILED [INFO] [stdout] test src/../README.MD - (line 63) ... FAILED [INFO] [stdout] test src/../README.MD - (line 249) ... FAILED [INFO] [stdout] test src/../README.MD - (line 158) ... FAILED [INFO] [stdout] test src/../README.MD - (line 184) ... FAILED [INFO] [stdout] test src/../README.MD - (line 111) ... FAILED [INFO] [stdout] test src/../README.MD - (line 78) ... FAILED [INFO] [stdout] test src/../README.MD - (line 85) ... FAILED [INFO] [stdout] test src/../README.MD - (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::get_fm_url (line 203) ... FAILED [INFO] [stdout] test src/../README.MD - (line 199) ... FAILED [INFO] [stdout] test src/../README.MD - (line 218) ... FAILED [INFO] [stdout] test src/../README.MD - (line 167) ... FAILED [INFO] [stdout] test src/../README.MD - (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::set_fm_url (line 164) ... FAILED [INFO] [stdout] test src/../README.MD - (line 209) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::get_all_records (line 426) ... FAILED [INFO] [stdout] test src/../README.MD - (line 91) ... FAILED [INFO] [stdout] test src/../README.MD - (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.MD - (line 227) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:228:1 [INFO] [stdout] | [INFO] [stdout] 3 | filemaker.clear_database().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/../README.MD:228:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_227_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | filemaker.clear_database().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/../README.MD - (line 63) stdout ---- [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/../README.MD:64:1 [INFO] [stdout] | [INFO] [stdout] 3 | std::env::set_var("FM_URL", "https://fm.example.com/fmi/data/vLatest"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 249) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `env_logger` [INFO] [stdout] --> src/../README.MD:250:5 [INFO] [stdout] | [INFO] [stdout] 2 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ no external crate `env_logger` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:159:21 [INFO] [stdout] | [INFO] [stdout] 3 | let total_records = filemaker.get_number_of_records().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/../README.MD:159:55 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_158_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let total_records = filemaker.get_number_of_records().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/../README.MD - (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/../README.MD:188:22 [INFO] [stdout] | [INFO] [stdout] 6 | let mut field_data = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:191:21 [INFO] [stdout] | [INFO] [stdout] 9 | let update_result = filemaker.update_record(record_id, field_data).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/../README.MD:191:68 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_184_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let update_result = filemaker.update_record(record_id, field_data).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/../README.MD - (line 111) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:119:14 [INFO] [stdout] | [INFO] [stdout] 10 | let result = filemaker.add_record(single_record_data).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/../README.MD:119:55 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_111_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let result = filemaker.add_record(single_record_data).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/../README.MD - (line 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:79:15 [INFO] [stdout] | [INFO] [stdout] 3 | let records = filemaker.get_records(1, 10).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/../README.MD:79:44 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_78_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let records = filemaker.get_records(1, 10).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/../README.MD - (line 85) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:86:19 [INFO] [stdout] | [INFO] [stdout] 3 | let all_records = filemaker.get_all_records_raw().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/../README.MD:86:51 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_85_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 3 | let all_records = filemaker.get_all_records_raw().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/../README.MD - (line 127) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:147:9 [INFO] [stdout] | [INFO] [stdout] 22 | match filemaker.add_record(record_data).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/../README.MD:147:43 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_127_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | match filemaker.add_record(record_data).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/lib.rs - Filemaker::get_fm_url (line 203) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_fm_url` in this scope [INFO] [stdout] --> src/lib.rs:204:7 [INFO] [stdout] | [INFO] [stdout] 3 | match get_fm_url() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 199) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:201:1 [INFO] [stdout] | [INFO] [stdout] 4 | filemaker.delete_record(record_id).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/../README.MD:201:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_199_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let record_id = 123; [INFO] [stdout] 4 | filemaker.delete_record(record_id).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/../README.MD - (line 218) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filemaker` [INFO] [stdout] --> src/../README.MD:219:17 [INFO] [stdout] | [INFO] [stdout] 3 | let databases = Filemaker::get_databases("your_username", "your_password").await?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Filemaker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use filemaker_lib::Filemaker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.MD:219:76 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_218_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let databases = Filemaker::get_databases("your_username", "your_password").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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 167) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:176:22 [INFO] [stdout] | [INFO] [stdout] 11 | let search_results = filemaker.search::(vec![query], sort_fields, ascending).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/../README.MD:176:97 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_167_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let search_results = filemaker.search::(vec![query], sort_fields, ascending).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/../README.MD - (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filemaker` [INFO] [stdout] --> src/../README.MD:71:1 [INFO] [stdout] | [INFO] [stdout] 3 | Filemaker::set_fm_url("https://fm.example.com/fmi/data/vLatest")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Filemaker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use filemaker_lib::Filemaker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Filemaker::set_fm_url (line 164) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `set_fm_url` in this scope [INFO] [stdout] --> src/lib.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 3 | set_fm_url("https://example.com")?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 209) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filemaker` [INFO] [stdout] --> src/../README.MD:210:15 [INFO] [stdout] | [INFO] [stdout] 3 | let layouts = Filemaker::get_layouts("your_username", "your_password", "your_database").await?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Filemaker` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use filemaker_lib::Filemaker; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.MD:210:89 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_209_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let layouts = Filemaker::get_layouts("your_username", "your_password", "your_database").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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Filemaker::get_all_records (line 426) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:434:60 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_426_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let records: Vec = data_source.get_all_records().await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MyDataSource` [INFO] [stdout] --> src/lib.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 9 | let data_source = MyDataSource::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MyDataSource` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.MD - (line 91) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:98:19 [INFO] [stdout] | [INFO] [stdout] 9 | let all_records = filemaker.get_all_records::().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/../README.MD:98:57 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_91_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let all_records = filemaker.get_all_records::().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/../README.MD - (line 41) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: error sending request for url (https://fm.example.com/fmi/data/vLatest/databases/your%5Fdatabase/sessions) [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] 0: client error (Connect) [INFO] [stdout] 1: dns error: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] 2: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] 1: >::into [INFO] [stdout] 2: anyhow::kind::Trait::new [INFO] [stdout] 3: filemaker_lib::Filemaker::get_session_token::{{closure}}::{{closure}} [INFO] [stdout] 4: core::result::Result::map_err [INFO] [stdout] 5: filemaker_lib::Filemaker::get_session_token::{{closure}} [INFO] [stdout] 6: filemaker_lib::Filemaker::new::{{closure}} [INFO] [stdout] 7: rust_out::main::{{closure}} [INFO] [stdout] 8: tokio::runtime::park::CachedParkThread::block_on::{{closure}} [INFO] [stdout] 9: tokio::runtime::park::CachedParkThread::block_on [INFO] [stdout] 10: tokio::runtime::context::blocking::BlockingRegionGuard::block_on [INFO] [stdout] 11: tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}} [INFO] [stdout] 12: tokio::runtime::context::runtime::enter_runtime [INFO] [stdout] 13: tokio::runtime::scheduler::multi_thread::MultiThread::block_on [INFO] [stdout] 14: tokio::runtime::runtime::Runtime::block_on_inner [INFO] [stdout] 15: tokio::runtime::runtime::Runtime::block_on [INFO] [stdout] 16: rust_out::main [INFO] [stdout] 17: core::ops::function::FnOnce::call_once [INFO] [stdout] 18: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] 19: std::rt::lang_start::{{closure}} [INFO] [stdout] 20: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 21: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40 [INFO] [stdout] 22: std::panicking::catch_unwind [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14 [INFO] [stdout] 24: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/rt.rs:175:24 [INFO] [stdout] 25: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:581:40 [INFO] [stdout] 26: std::panicking::catch_unwind [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panicking.rs:544:19 [INFO] [stdout] 27: std::panic::catch_unwind [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: std::rt::lang_start_internal [INFO] [stdout] at /rustc/254b59607d4417e9dffbc307138ae5c86280fe4c/library/std/src/rt.rs:171:5 [INFO] [stdout] 29: std::rt::lang_start [INFO] [stdout] 30: main [INFO] [stdout] 31: [INFO] [stdout] 32: __libc_start_main [INFO] [stdout] 33: _start [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.MD - (line 111) [INFO] [stdout] src/../README.MD - (line 127) [INFO] [stdout] src/../README.MD - (line 158) [INFO] [stdout] src/../README.MD - (line 167) [INFO] [stdout] src/../README.MD - (line 184) [INFO] [stdout] src/../README.MD - (line 199) [INFO] [stdout] src/../README.MD - (line 209) [INFO] [stdout] src/../README.MD - (line 218) [INFO] [stdout] src/../README.MD - (line 227) [INFO] [stdout] src/../README.MD - (line 249) [INFO] [stdout] src/../README.MD - (line 41) [INFO] [stdout] src/../README.MD - (line 63) [INFO] [stdout] src/../README.MD - (line 70) [INFO] [stdout] src/../README.MD - (line 78) [INFO] [stdout] src/../README.MD - (line 85) [INFO] [stdout] src/../README.MD - (line 91) [INFO] [stdout] src/lib.rs - Filemaker::get_all_records (line 426) [INFO] [stdout] src/lib.rs - Filemaker::get_fm_url (line 203) [INFO] [stdout] src/lib.rs - Filemaker::set_fm_url (line 164) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.63s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.92s; merged doctests compilation took 0.28s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "15c22d3ec6d17a021a66b20631bc515d05b7c9710b25cf1a6cd173befffe386c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15c22d3ec6d17a021a66b20631bc515d05b7c9710b25cf1a6cd173befffe386c", kill_on_drop: false }` [INFO] [stdout] 15c22d3ec6d17a021a66b20631bc515d05b7c9710b25cf1a6cd173befffe386c