[INFO] fetching crate filemaker-lib 0.2.0... [INFO] testing filemaker-lib-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate filemaker-lib 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate filemaker-lib 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate filemaker-lib 0.2.0 [INFO] tweaked toml for crates.io crate filemaker-lib 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate filemaker-lib 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate filemaker-lib 0.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a057dedb4ee62bf8834418316416c1929c170a18241e232489016a0b9204c42 [INFO] running `Command { std: "docker" "start" "-a" "0a057dedb4ee62bf8834418316416c1929c170a18241e232489016a0b9204c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a057dedb4ee62bf8834418316416c1929c170a18241e232489016a0b9204c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a057dedb4ee62bf8834418316416c1929c170a18241e232489016a0b9204c42", kill_on_drop: false }` [INFO] [stdout] 0a057dedb4ee62bf8834418316416c1929c170a18241e232489016a0b9204c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15b0fb62a4b68da1c920b288ab5d3e1cd1b820bd4cd1209e976d60cf992c81e4 [INFO] running `Command { std: "docker" "start" "-a" "15b0fb62a4b68da1c920b288ab5d3e1cd1b820bd4cd1209e976d60cf992c81e4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling native-tls v0.2.12 [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 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 url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.2 [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.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.66s [INFO] running `Command { std: "docker" "inspect" "15b0fb62a4b68da1c920b288ab5d3e1cd1b820bd4cd1209e976d60cf992c81e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15b0fb62a4b68da1c920b288ab5d3e1cd1b820bd4cd1209e976d60cf992c81e4", kill_on_drop: false }` [INFO] [stdout] 15b0fb62a4b68da1c920b288ab5d3e1cd1b820bd4cd1209e976d60cf992c81e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c02f34d4889a9b359efd5238d84e69cf5d2324b5b31460589b5beb38c7e3441 [INFO] running `Command { std: "docker" "start" "-a" "5c02f34d4889a9b359efd5238d84e69cf5d2324b5b31460589b5beb38c7e3441", kill_on_drop: false }` [INFO] [stderr] Compiling filemaker-lib v0.2.0 (/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 3.09s [INFO] running `Command { std: "docker" "inspect" "5c02f34d4889a9b359efd5238d84e69cf5d2324b5b31460589b5beb38c7e3441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c02f34d4889a9b359efd5238d84e69cf5d2324b5b31460589b5beb38c7e3441", kill_on_drop: false }` [INFO] [stdout] 5c02f34d4889a9b359efd5238d84e69cf5d2324b5b31460589b5beb38c7e3441 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e87870019e82063c3ec76b32791724563edf2da7f5f08376e615b583fb7cb50 [INFO] running `Command { std: "docker" "start" "-a" "0e87870019e82063c3ec76b32791724563edf2da7f5f08376e615b583fb7cb50", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/filemaker_lib-216c894852acc387) [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 17 tests [INFO] [stdout] test src/../README.MD - (line 194) ... FAILED [INFO] [stdout] test src/../README.MD - (line 203) ... FAILED [INFO] [stdout] test src/../README.MD - (line 85) ... FAILED [INFO] [stdout] test src/../README.MD - (line 63) ... FAILED [INFO] [stdout] test src/../README.MD - (line 96) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::get_fm_url (line 202) ... FAILED [INFO] [stdout] test src/../README.MD - (line 169) ... FAILED [INFO] [stdout] test src/../README.MD - (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - Filemaker::set_fm_url (line 163) ... FAILED [INFO] [stdout] test src/../README.MD - (line 184) ... FAILED [INFO] [stdout] test src/../README.MD - (line 234) ... FAILED [INFO] [stdout] test src/../README.MD - (line 152) ... FAILED [INFO] [stdout] test src/../README.MD - (line 212) ... FAILED [INFO] [stdout] test src/../README.MD - (line 78) ... FAILED [INFO] [stdout] test src/../README.MD - (line 70) ... FAILED [INFO] [stdout] test src/../README.MD - (line 112) ... FAILED [INFO] [stdout] test src/../README.MD - (line 41) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.MD - (line 194) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filemaker` [INFO] [stdout] --> src/../README.MD:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | 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] 194 + 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:195:89 [INFO] [stdout] | [INFO] [stdout] 194 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_194_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 195 | 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 203) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Filemaker` [INFO] [stdout] --> src/../README.MD:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | 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] 203 + 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:204:76 [INFO] [stdout] | [INFO] [stdout] 203 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_203_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 204 | 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 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().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:47 [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().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] 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 96) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | 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:104:55 [INFO] [stdout] | [INFO] [stdout] 96 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_96_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 104 | 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/lib.rs - Filemaker::get_fm_url (line 202) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `get_fm_url` in this scope [INFO] [stdout] --> src/lib.rs:203:7 [INFO] [stdout] | [INFO] [stdout] 203 | 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 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/../README.MD:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | 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] 169 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | 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:176:68 [INFO] [stdout] | [INFO] [stdout] 169 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_169_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 176 | 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 143) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | 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:144:55 [INFO] [stdout] | [INFO] [stdout] 143 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_143_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 144 | 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/lib.rs - Filemaker::set_fm_url (line 163) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `set_fm_url` in this scope [INFO] [stdout] --> src/lib.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | 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 184) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | 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:186:36 [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] 185 | let record_id = 123; [INFO] [stdout] 186 | 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 234) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `env_logger` [INFO] [stdout] --> src/../README.MD:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | 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 152) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | 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:161:97 [INFO] [stdout] | [INFO] [stdout] 152 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_152_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 161 | 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 212) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:213:1 [INFO] [stdout] | [INFO] [stdout] 213 | 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:213:28 [INFO] [stdout] | [INFO] [stdout] 212 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_212_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 213 | 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 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] 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 112) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `filemaker` in this scope [INFO] [stdout] --> src/../README.MD:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | 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:132:43 [INFO] [stdout] | [INFO] [stdout] 112 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_MD_112_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 132 | 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/../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_database/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/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 21: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 22: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 23: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 24: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 25: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 26: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 27: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 28: std::rt::lang_start_internal [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/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 112) [INFO] [stdout] src/../README.MD - (line 143) [INFO] [stdout] src/../README.MD - (line 152) [INFO] [stdout] src/../README.MD - (line 169) [INFO] [stdout] src/../README.MD - (line 184) [INFO] [stdout] src/../README.MD - (line 194) [INFO] [stdout] src/../README.MD - (line 203) [INFO] [stdout] src/../README.MD - (line 212) [INFO] [stdout] src/../README.MD - (line 234) [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 96) [INFO] [stdout] src/lib.rs - Filemaker::get_fm_url (line 202) [INFO] [stdout] src/lib.rs - Filemaker::set_fm_url (line 163) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.37s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.56s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0e87870019e82063c3ec76b32791724563edf2da7f5f08376e615b583fb7cb50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e87870019e82063c3ec76b32791724563edf2da7f5f08376e615b583fb7cb50", kill_on_drop: false }` [INFO] [stdout] 0e87870019e82063c3ec76b32791724563edf2da7f5f08376e615b583fb7cb50