[INFO] fetching crate filemaker-lib 0.2.2... [INFO] testing filemaker-lib-0.2.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate filemaker-lib 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate filemaker-lib 0.2.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate filemaker-lib 0.2.2 [INFO] tweaked toml for crates.io crate filemaker-lib 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate filemaker-lib 0.2.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate filemaker-lib 0.2.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd55dc3a0a4ea60988455eb8071b58413087363ca25ce4e6ab80badc4634898f [INFO] running `Command { std: "docker" "start" "-a" "bd55dc3a0a4ea60988455eb8071b58413087363ca25ce4e6ab80badc4634898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd55dc3a0a4ea60988455eb8071b58413087363ca25ce4e6ab80badc4634898f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd55dc3a0a4ea60988455eb8071b58413087363ca25ce4e6ab80badc4634898f", kill_on_drop: false }` [INFO] [stdout] bd55dc3a0a4ea60988455eb8071b58413087363ca25ce4e6ab80badc4634898f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e2ce097c69a12e5d74a2c3c1b43c833cc4b0f8d250314d4d3773d64f15df456 [INFO] running `Command { std: "docker" "start" "-a" "4e2ce097c69a12e5d74a2c3c1b43c833cc4b0f8d250314d4d3773d64f15df456", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.15 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tower-http v0.6.8 [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 url v2.5.4 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling filemaker-lib v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.77s [INFO] running `Command { std: "docker" "inspect" "4e2ce097c69a12e5d74a2c3c1b43c833cc4b0f8d250314d4d3773d64f15df456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2ce097c69a12e5d74a2c3c1b43c833cc4b0f8d250314d4d3773d64f15df456", kill_on_drop: false }` [INFO] [stdout] 4e2ce097c69a12e5d74a2c3c1b43c833cc4b0f8d250314d4d3773d64f15df456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee153f66b8fd80752ca9bcb29258697a44d2b6d262066a86d8ef390c7eac48c [INFO] running `Command { std: "docker" "start" "-a" "6ee153f66b8fd80752ca9bcb29258697a44d2b6d262066a86d8ef390c7eac48c", kill_on_drop: false }` [INFO] [stderr] Compiling filemaker-lib v0.2.2 (/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 6.87s [INFO] running `Command { std: "docker" "inspect" "6ee153f66b8fd80752ca9bcb29258697a44d2b6d262066a86d8ef390c7eac48c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee153f66b8fd80752ca9bcb29258697a44d2b6d262066a86d8ef390c7eac48c", kill_on_drop: false }` [INFO] [stdout] 6ee153f66b8fd80752ca9bcb29258697a44d2b6d262066a86d8ef390c7eac48c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b737a9c9061f8a8051b69234a542252d0909e221ea870f2a173a6eb1b03111d [INFO] running `Command { std: "docker" "start" "-a" "8b737a9c9061f8a8051b69234a542252d0909e221ea870f2a173a6eb1b03111d", 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.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/filemaker_lib-8b82fd1138dd46bf) [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 70) ... FAILED [INFO] [stdout] test src/../README.MD - (line 85) ... FAILED [INFO] [stdout] test src/../README.MD - (line 199) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::get_fm_url (line 203) ... FAILED [INFO] [stdout] test src/../README.MD - (line 63) ... FAILED [INFO] [stdout] test src/../README.MD - (line 227) ... FAILED [INFO] [stdout] test src/../README.MD - (line 78) ... FAILED [INFO] [stdout] test src/../README.MD - (line 209) ... FAILED [INFO] [stdout] test src/../README.MD - (line 249) ... FAILED [INFO] [stdout] test src/../README.MD - (line 111) ... FAILED [INFO] [stdout] test src/../README.MD - (line 184) ... FAILED [INFO] [stdout] test src/../README.MD - (line 167) ... FAILED [INFO] [stdout] test src/../README.MD - (line 158) ... FAILED [INFO] [stdout] test src/../README.MD - (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::get_all_records (line 426) ... FAILED [INFO] [stdout] test src/../README.MD - (line 218) ... FAILED [INFO] [stdout] test src/../README.MD - (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::set_fm_url (line 164) ... FAILED [INFO] [stdout] test src/../README.MD - (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.MD - (line 70) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Filemaker` in this scope [INFO] [stdout] --> src/../README.MD:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 70 + 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/../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] 86 | 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] 85 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_85_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 86 | 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 199) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 199 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_199_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 200 | let record_id = 123; [INFO] [stdout] 201 | 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/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] 204 | 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 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] 64 | 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 227) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | 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] 227 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_227_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 228 | 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 78) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 78 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_78_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] 79 | 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 209) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Filemaker` in this scope [INFO] [stdout] --> src/../README.MD:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | 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] 209 + 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] 209 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_209_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 210 | 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/../README.MD - (line 249) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `env_logger` [INFO] [stdout] --> src/../README.MD:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | 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 111) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:119:14 [INFO] [stdout] | [INFO] [stdout] 119 | 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] 111 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_111_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 119 | 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 184) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/../README.MD:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | 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] 184 + 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] 191 | 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] 184 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_184_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 191 | 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 167) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | 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] 167 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_167_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 176 | 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 158) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | 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] 158 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_158_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 159 | 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 127) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | 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] 127 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_127_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 147 | 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_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] 426 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_426_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 434 | 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]: cannot find type `MyDataSource` in this scope [INFO] [stdout] --> src/lib.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | 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 218) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Filemaker` in this scope [INFO] [stdout] --> src/../README.MD:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | 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] 218 + 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] 218 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_218_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 219 | 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 91) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | 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] 91 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_91_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 98 | 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/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] 165 | 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 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 [INFO] [stdout] 2: failed to lookup address information: Temporary failure in name resolution [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: >::from [INFO] [stdout] 1: >::into [INFO] [stdout] 2: ::new:: [INFO] [stdout] 3: ::get_session_token::{closure#0}::{closure#0} [INFO] [stdout] 4: >::map_err::::get_session_token::{closure#0}::{closure#0}> [INFO] [stdout] 5: ::get_session_token::{closure#0} [INFO] [stdout] 6: ::new::{closure#0} [INFO] [stdout] 7: rust_out::main::{closure#0} [INFO] [stdout] 8: ::block_on::::{closure#0} [INFO] [stdout] 9: ::block_on:: [INFO] [stdout] 10: ::block_on:: [INFO] [stdout] 11: ::block_on::::{closure#0} [INFO] [stdout] 12: tokio::runtime::context::runtime::enter_runtime::<::block_on::{closure#0}, core::result::Result<(), anyhow::Error>> [INFO] [stdout] 13: ::block_on:: [INFO] [stdout] 14: ::block_on_inner:: [INFO] [stdout] 15: ::block_on:: [INFO] [stdout] 16: rust_out::main [INFO] [stdout] 17: core::result::Result<(), anyhow::Error> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] 18: std::sys::backtrace::__rust_begin_short_backtrace:: core::result::Result<(), anyhow::Error>, core::result::Result<(), anyhow::Error>> [INFO] [stdout] 19: std::rt::lang_start::>::{closure#0} [INFO] [stdout] 20: <&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 21: std::panicking::catch_unwind::do_call::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 22: std::panicking::catch_unwind:: + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 23: std::panic::catch_unwind::<&dyn core::ops::function::Fn<(), Output = i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 24: std::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 25: std::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 26: std::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 27: std::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: std::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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.77s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.14s; merged doctests compilation took 0.37s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8b737a9c9061f8a8051b69234a542252d0909e221ea870f2a173a6eb1b03111d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b737a9c9061f8a8051b69234a542252d0909e221ea870f2a173a6eb1b03111d", kill_on_drop: false }` [INFO] [stdout] 8b737a9c9061f8a8051b69234a542252d0909e221ea870f2a173a6eb1b03111d