[INFO] fetching crate farcaster-rs 1.0.1... [INFO] testing farcaster-rs-1.0.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] extracting crate farcaster-rs 1.0.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate farcaster-rs 1.0.1 [INFO] finished tweaking crates.io crate farcaster-rs 1.0.1 [INFO] tweaked toml for crates.io crate farcaster-rs 1.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate farcaster-rs 1.0.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 355 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding ethers v1.0.2 (available: v2.0.14) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2987ad5a6c3671ed1685e3ec87e83b0b0f841915a0449fe5d57a3a4f8d38e7b4 [INFO] running `Command { std: "docker" "start" "-a" "2987ad5a6c3671ed1685e3ec87e83b0b0f841915a0449fe5d57a3a4f8d38e7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2987ad5a6c3671ed1685e3ec87e83b0b0f841915a0449fe5d57a3a4f8d38e7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2987ad5a6c3671ed1685e3ec87e83b0b0f841915a0449fe5d57a3a4f8d38e7b4", kill_on_drop: false }` [INFO] [stdout] 2987ad5a6c3671ed1685e3ec87e83b0b0f841915a0449fe5d57a3a4f8d38e7b4 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] f67eac6b9c1faa2a972dab9b8b861e7bfdefcc576222149af8f670020de3b2f1 [INFO] running `Command { std: "docker" "start" "-a" "f67eac6b9c1faa2a972dab9b8b861e7bfdefcc576222149af8f670020de3b2f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling zmij v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling base58check v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling coins-core v0.7.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde-aux v4.7.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling coins-bip32 v0.7.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling coins-bip39 v0.7.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethers-core v1.0.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling ethers-signers v1.0.2 [INFO] [stderr] Compiling ethers-addressbook v1.0.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ethers-providers v1.0.2 [INFO] [stderr] Compiling ethers-contract-abigen v1.0.2 [INFO] [stderr] Compiling ethers-etherscan v1.0.2 [INFO] [stderr] Compiling ethers-contract-derive v1.0.2 [INFO] [stderr] Compiling ethers-contract v1.0.2 [INFO] [stderr] Compiling ethers-middleware v1.0.2 [INFO] [stderr] Compiling ethers v1.0.2 [INFO] [stderr] Compiling farcaster-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [INFO] running `Command { std: "docker" "inspect" "f67eac6b9c1faa2a972dab9b8b861e7bfdefcc576222149af8f670020de3b2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67eac6b9c1faa2a972dab9b8b861e7bfdefcc576222149af8f670020de3b2f1", kill_on_drop: false }` [INFO] [stdout] f67eac6b9c1faa2a972dab9b8b861e7bfdefcc576222149af8f670020de3b2f1 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] bba93a194de610df4f172fa6b3fb4119ee3704894b2b1b625dcc6460421475e9 [INFO] running `Command { std: "docker" "start" "-a" "bba93a194de610df4f172fa6b3fb4119ee3704894b2b1b625dcc6460421475e9", kill_on_drop: false }` [INFO] [stderr] Compiling farcaster-rs v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.11s [INFO] running `Command { std: "docker" "inspect" "bba93a194de610df4f172fa6b3fb4119ee3704894b2b1b625dcc6460421475e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba93a194de610df4f172fa6b3fb4119ee3704894b2b1b625dcc6460421475e9", kill_on_drop: false }` [INFO] [stdout] bba93a194de610df4f172fa6b3fb4119ee3704894b2b1b625dcc6460421475e9 [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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 01765c5cf4c208a3e93919ae1cc491ac61f490c68ff892747a43b2c730745eb5 [INFO] running `Command { std: "docker" "start" "-a" "01765c5cf4c208a3e93919ae1cc491ac61f490c68ff892747a43b2c730745eb5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/farcaster-rs/40ccb7b47f854666/deps/farcaster_rs-40ccb7b47f854666) [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 farcaster_rs [INFO] [stdout] [INFO] [stdout] running 45 tests [INFO] [stdout] test src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_fid (line 8) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account (line 20) - compile ... FAILED [INFO] [stdout] test src/assets/mod.rs - assets (line 20) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account (line 13) - compile ... FAILED [INFO] [stdout] test src/assets/mod.rs - assets (line 6) - compile ... FAILED [INFO] [stdout] test src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_fid (line 16) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 37) - compile ... FAILED [INFO] [stdout] test src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_address (line 64) - compile ... FAILED [INFO] [stdout] test src/casts/delete_cast.rs - casts::delete_cast::Farcaster::delete_cast_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_username (line 51) - compile ... FAILED [INFO] [stdout] test src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_address (line 64) - compile ... FAILED [INFO] [stdout] test src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_username (line 41) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 32) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account (line 6) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 20) - compile ... FAILED [INFO] [stdout] test src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_address (line 75) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts::publish_cast (line 49) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account::Account::from_mnemonic (line 48) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account::Account::from_private_key (line 85) - compile ... FAILED [INFO] [stdout] test src/notifications/mod.rs - notifications (line 6) - compile ... FAILED [INFO] [stdout] test src/reactions/delete_like.rs - reactions::delete_like::Farcaster::delete_like_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/casts/publish_cast.rs - casts::publish_cast::Farcaster::publish_cast (line 9) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 6) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 6) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 19) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 45) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 17) - compile ... FAILED [INFO] [stdout] test src/notifications/get_notifications.rs - notifications::get_notifications::Farcaster::get_notifications (line 14) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 39) - compile ... FAILED [INFO] [stdout] test src/users/mod.rs - users (line 19) - compile ... FAILED [INFO] [stdout] test src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_fid (line 14) - compile ... FAILED [INFO] [stdout] test src/reactions/delete_recast.rs - reactions::delete_recast::Farcaster::delete_recast_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_username (line 44) - compile ... FAILED [INFO] [stdout] test src/users/mod.rs - users (line 6) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 50) - compile ... FAILED [INFO] [stdout] test src/reactions/get_likes.rs - reactions::get_likes::Farcaster::get_likes_by_cast_hash (line 15) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 6) - compile ... FAILED [INFO] [stdout] test src/reactions/get_recasters.rs - reactions::get_recasters::Farcaster::get_recasters_by_cast_hash (line 15) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 28) - compile ... FAILED [INFO] [stdout] test src/reactions/like_cast.rs - reactions::like_cast::Farcaster::like_cast_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 61) - compile ... FAILED [INFO] [stdout] test src/verifications/mod.rs - verifications (line 6) - compile ... FAILED [INFO] [stdout] test src/reactions/recast.rs - reactions::recast::Farcaster::recast_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/users/mod.rs - users (line 32) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_fid (line 8) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:12:72 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_8_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_8_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:16:67 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_8_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let collections = farcaster.get_collections_by_fid(5, None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account/mod.rs - account (line 20) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:24:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_20_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:25:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_20_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let mut farcaster: Farcaster = Farcaster::new("eth provider", account).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assets/mod.rs - assets (line 20) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:24:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_20_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_20_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:28:86 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_20_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 28 | let collections_owners = farcaster.get_collection_owners("collectionID", None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account/mod.rs - account (line 13) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:17:71 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_13_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | let account: Account = Account::from_private_key("private key", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assets/mod.rs - assets (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_6_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_6_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:15:89 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_6_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let collections_username = farcaster.get_collections_by_username("lndnnft", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:16:71 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_6_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let collections_fid = farcaster.get_collections_by_fid(2, None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/mod.rs:17:90 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_mod_rs_6_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | let collections_address = farcaster.get_collections_by_address("0xef......", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_fid (line 16) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/casts/get_casts.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let casts = farcaster.get_casts_by_fid(0, None, None).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/casts/get_casts.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 16 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_16_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 17 | let casts = farcaster.get_casts_by_fid(0, None, None).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/casts/mod.rs - casts (line 37) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:41:72 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_37_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 41 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:42:68 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_37_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 42 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:44:67 [INFO] [stdout] | [INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_37_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 44 | let delete_cast = farcaster.delete_cast_by_cast_hash("cast hash").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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_address (line 64) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_64_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 68 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:69:68 [INFO] [stdout] | [INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_64_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 69 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:72:82 [INFO] [stdout] | [INFO] [stdout] 65 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_64_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 72 | let collections = farcaster.get_collections_by_address("0x000.....", None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/casts/delete_cast.rs - casts::delete_cast::Farcaster::delete_cast_by_cast_hash (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/casts/delete_cast.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let casts = farcaster.delete_cast_by_cast_hash("cast_hash").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/casts/delete_cast.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_delete_cast_rs_14_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] 15 | let casts = farcaster.delete_cast_by_cast_hash("cast_hash").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/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_username (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/casts/get_casts.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let casts = farcaster.get_casts_by_username("cassie", None, None).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/casts/get_casts.rs:52:67 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_51_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 52 | let casts = farcaster.get_casts_by_username("cassie", None, None).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/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_address (line 64) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/follows/follow_user.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | let follow = farcaster.follow_user_by_address("0x000....").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/follows/follow_user.rs:65:60 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_64_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 65 | let follow = farcaster.follow_user_by_address("0x000....").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/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_username (line 41) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:45:72 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_41_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 45 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:46:68 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_41_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 46 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/assets/get_user_collections.rs:49:76 [INFO] [stdout] | [INFO] [stdout] 42 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_assets_get_user_collections_rs_41_0() { [INFO] [stdout] | ---------------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 49 | let collections = farcaster.get_collections_by_username("ace", None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/follows/mod.rs - follows (line 32) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:36:72 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_32_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_32_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 37 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:40:72 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_32_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 40 | let followers = farcaster.get_followers_by_address("juan", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:41:63 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_32_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 41 | let followers = farcaster.get_followers_by_fid(0, None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:42:78 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_32_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 42 | let followers = farcaster.get_followers_by_address("0x0000....", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account/mod.rs - account (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/casts/mod.rs - casts (line 20) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:24:72 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 32 | let casts = farcaster.get_casts_by_fid(0, None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:33:64 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 33 | let casts = farcaster.get_casts_by_username("dwr", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:34:68 [INFO] [stdout] | [INFO] [stdout] 21 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_20_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | let casts = farcaster.get_casts_by_address("0x000...", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_address (line 75) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/casts/get_casts.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let casts = farcaster.get_casts_by_address("0x0000....", None, None).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/casts/get_casts.rs:76:70 [INFO] [stdout] | [INFO] [stdout] 75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_75_0() { [INFO] [stdout] | ---------------------------------------------- this is not `async` [INFO] [stdout] 76 | let casts = farcaster.get_casts_by_address("0x0000....", None, None).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/casts/mod.rs - casts::publish_cast (line 49) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:53:72 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_49_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 53 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:54:68 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_49_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 54 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:60:102 [INFO] [stdout] | [INFO] [stdout] 50 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_49_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 60 | let cast = farcaster.publish_cast("cast content", Some("optional parent hash to reply to"), Some(0)).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account/mod.rs - account::Account::from_mnemonic (line 48) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 49 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_48_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 50 | let account = farcaster_rs::Account::from_mnemonic("phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/account/mod.rs - account::Account::from_private_key (line 85) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/account/mod.rs:87:76 [INFO] [stdout] | [INFO] [stdout] 86 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_85_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 87 | let account = farcaster_rs::Account::from_private_key("private key", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notifications/mod.rs - notifications (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/notifications/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_notifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/notifications/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_notifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/notifications/mod.rs:14:61 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_notifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let notifications = farcaster.get_notifications(None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/delete_like.rs - reactions::delete_like::Farcaster::delete_like_by_cast_hash (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/delete_like.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | farcaster.delete_like_by_cast_hash("cast hash").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/reactions/delete_like.rs:15:49 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_delete_like_rs_14_0() { [INFO] [stdout] | ---------------------------------------------------- this is not `async` [INFO] [stdout] 15 | farcaster.delete_like_by_cast_hash("cast hash").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/casts/publish_cast.rs - casts::publish_cast::Farcaster::publish_cast (line 9) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/publish_cast.rs:13:72 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_publish_cast_rs_9_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 13 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/publish_cast.rs:14:68 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_publish_cast_rs_9_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/publish_cast.rs:20:102 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_publish_cast_rs_9_0() { [INFO] [stdout] | ------------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 20 | let cast = farcaster.publish_cast("cast content", Some("optional parent hash to reply to"), Some(0)).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/casts/mod.rs - casts (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/casts/mod.rs:17:102 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | let cast = farcaster.publish_cast("cast content", Some("optional parent hash to reply to"), Some(0)).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/follows/mod.rs - follows (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let follow = farcaster.follow_user_by_username("dwr").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let follow = farcaster.follow_user_by_fid(0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:16:61 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let follow = farcaster.follow_user_by_address("0x0000....").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/follows/mod.rs - follows (line 19) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_19_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_19_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:27:59 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_19_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | let unfollow = farcaster.unfollow_user_by_username("dwr").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_19_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 28 | let unfollow = farcaster.unfollow_user_by_fid(0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:29:65 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_19_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | let unfollow = farcaster.unfollow_user_by_address("0x0000....").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/follows/mod.rs - follows (line 45) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:49:72 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_45_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 49 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_45_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 50 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:53:74 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_45_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 53 | let following = farcaster.get_following_by_username("jayme", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_45_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 54 | let following = farcaster.get_following_by_fid(0, None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/follows/mod.rs:55:77 [INFO] [stdout] | [INFO] [stdout] 46 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_mod_rs_45_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 55 | let following = farcaster.get_following_by_address("0x000....", None, None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/mod.rs - reactions (line 17) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_17_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 21 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:22:68 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_17_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:25:71 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_17_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let likes = farcaster.get_likes_by_cast_hash("cast_hash", None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/notifications/get_notifications.rs - notifications::get_notifications::Farcaster::get_notifications (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/notifications/get_notifications.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let notifications = farcaster.get_notifications(None, None).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/notifications/get_notifications.rs:15:61 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_notifications_get_notifications_rs_14_0() { [INFO] [stdout] | -------------------------------------------------------------- this is not `async` [INFO] [stdout] 15 | let notifications = farcaster.get_notifications(None, None).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/reactions/mod.rs - reactions (line 39) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:43:72 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_39_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 43 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_39_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 44 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:47:79 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_39_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 47 | let recasters = farcaster.get_recasters_by_cast_hash("cast hash", None, None).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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/users/mod.rs - users (line 19) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_19_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:24:68 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_19_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:27:70 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_19_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | let custody_address = farcaster.get_custody_address_by_username("v").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:28:63 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_19_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 28 | let custody_address = farcaster.get_custody_address_by_fid(0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_19_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | let custody_address = farcaster.get_custody_address_by_address("0x0000").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_fid (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/follows/follow_user.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let follow = farcaster.follow_user_by_fid(0).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/follows/follow_user.rs:15:46 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_14_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 15 | let follow = farcaster.follow_user_by_fid(0).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/reactions/delete_recast.rs - reactions::delete_recast::Farcaster::delete_recast_by_cast_hash (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/delete_recast.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let delete = farcaster.delete_recast_by_cast_hash("cast hash").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/reactions/delete_recast.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_delete_recast_rs_14_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 15 | let delete = farcaster.delete_recast_by_cast_hash("cast hash").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/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_username (line 44) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/follows/follow_user.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let follow = farcaster.follow_user_by_username("abc").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/follows/follow_user.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 44 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_44_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 45 | let follow = farcaster.follow_user_by_username("abc").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/users/mod.rs - users (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:14:50 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let user = farcaster.get_user_by_username("ace").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:15:54 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let user = farcaster.get_user_by_address("0X000...").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_6_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let user = farcaster.get_user_by_fid(0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/mod.rs - reactions (line 50) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:54:72 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_50_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 54 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_50_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 55 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:58:57 [INFO] [stdout] | [INFO] [stdout] 51 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_50_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 58 | let recast = farcaster.recast_by_cast_hash("cast hash").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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/get_likes.rs - reactions::get_likes::Farcaster::get_likes_by_cast_hash (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/get_likes.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | farcaster.get_likes_by_cast_hash("cast hash", None, None).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/reactions/get_likes.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_get_likes_rs_15_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 16 | farcaster.get_likes_by_cast_hash("cast hash", None, None).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/reactions/mod.rs - reactions (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_6_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_6_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:14:58 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_6_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let like = farcaster.like_cast_by_cast_hash("cast hash").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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/get_recasters.rs - reactions::get_recasters::Farcaster::get_recasters_by_cast_hash (line 15) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/get_recasters.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let recasters = farcaster.get_recasters.by_cast_hash("cast hash", None, None).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/reactions/get_recasters.rs:16:79 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_get_recasters_rs_15_0() { [INFO] [stdout] | ------------------------------------------------------ this is not `async` [INFO] [stdout] 16 | let recasters = farcaster.get_recasters.by_cast_hash("cast hash", None, None).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/reactions/mod.rs - reactions (line 28) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:32:72 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_28_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 32 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:33:68 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_28_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 33 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:36:61 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_28_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | let likes = farcaster.delete_like_by_cast_hash("cast hash").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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/like_cast.rs - reactions::like_cast::Farcaster::like_cast_by_cast_hash (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/like_cast.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | farcaster.like_cast_by_cast_hash("cast hash").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/reactions/like_cast.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_like_cast_rs_14_0() { [INFO] [stdout] | -------------------------------------------------- this is not `async` [INFO] [stdout] 15 | farcaster.like_cast_by_cast_hash("cast hash").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/reactions/mod.rs - reactions (line 61) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:65:72 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_61_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 65 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:66:68 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_61_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 66 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/reactions/mod.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 62 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_mod_rs_61_0() { [INFO] [stdout] | -------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 69 | let delete = farcaster.delete_recast_by_cast_hash("cast hash").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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/verifications/mod.rs - verifications (line 6) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/verifications/mod.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_verifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/verifications/mod.rs:11:68 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_verifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/verifications/mod.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_verifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let verif = farcaster.get_verifications_by_username("giu").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/verifications/mod.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_verifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 15 | let verif = farcaster.get_verifications_by_address("0x000...").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/verifications/mod.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_verifications_mod_rs_6_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | let verif = farcaster.get_verifications_by_fid(0).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/reactions/recast.rs - reactions::recast::Farcaster::recast_by_cast_hash (line 14) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `farcaster` in this scope [INFO] [stdout] --> src/reactions/recast.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | let recast = farcaster.recast_by_cast_hash("cast hash").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/reactions/recast.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_recast_rs_14_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 15 | let recast = farcaster.recast_by_cast_hash("cast hash").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/users/mod.rs - users (line 32) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:36:72 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_32_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | let account: Account = Account::from_mnemonic("mnemonic phrase", None).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_32_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 37 | let farcaster: Farcaster = Farcaster::new("eth provider", account).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/users/mod.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 33 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_users_mod_rs_32_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 40 | let me = farcaster.get_me().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] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/account/mod.rs - account (line 13) [INFO] [stdout] src/account/mod.rs - account (line 20) [INFO] [stdout] src/account/mod.rs - account (line 6) [INFO] [stdout] src/account/mod.rs - account::Account::from_mnemonic (line 48) [INFO] [stdout] src/account/mod.rs - account::Account::from_private_key (line 85) [INFO] [stdout] src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_address (line 64) [INFO] [stdout] src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_fid (line 8) [INFO] [stdout] src/assets/get_user_collections.rs - assets::get_user_collections::Farcaster::get_collections_by_username (line 41) [INFO] [stdout] src/assets/mod.rs - assets (line 20) [INFO] [stdout] src/assets/mod.rs - assets (line 6) [INFO] [stdout] src/casts/delete_cast.rs - casts::delete_cast::Farcaster::delete_cast_by_cast_hash (line 14) [INFO] [stdout] src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_address (line 75) [INFO] [stdout] src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_fid (line 16) [INFO] [stdout] src/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_username (line 51) [INFO] [stdout] src/casts/mod.rs - casts (line 20) [INFO] [stdout] src/casts/mod.rs - casts (line 37) [INFO] [stdout] src/casts/mod.rs - casts (line 6) [INFO] [stdout] src/casts/mod.rs - casts::publish_cast (line 49) [INFO] [stdout] src/casts/publish_cast.rs - casts::publish_cast::Farcaster::publish_cast (line 9) [INFO] [stdout] src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_address (line 64) [INFO] [stdout] src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_fid (line 14) [INFO] [stdout] src/follows/follow_user.rs - follows::follow_user::Farcaster::follow_user_by_username (line 44) [INFO] [stdout] src/follows/mod.rs - follows (line 19) [INFO] [stdout] src/follows/mod.rs - follows (line 32) [INFO] [stdout] src/follows/mod.rs - follows (line 45) [INFO] [stdout] src/follows/mod.rs - follows (line 6) [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] src/notifications/get_notifications.rs - notifications::get_notifications::Farcaster::get_notifications (line 14) [INFO] [stdout] src/notifications/mod.rs - notifications (line 6) [INFO] [stdout] src/reactions/delete_like.rs - reactions::delete_like::Farcaster::delete_like_by_cast_hash (line 14) [INFO] [stdout] src/reactions/delete_recast.rs - reactions::delete_recast::Farcaster::delete_recast_by_cast_hash (line 14) [INFO] [stdout] src/reactions/get_likes.rs - reactions::get_likes::Farcaster::get_likes_by_cast_hash (line 15) [INFO] [stdout] src/reactions/get_recasters.rs - reactions::get_recasters::Farcaster::get_recasters_by_cast_hash (line 15) [INFO] [stdout] src/reactions/like_cast.rs - reactions::like_cast::Farcaster::like_cast_by_cast_hash (line 14) [INFO] [stdout] src/reactions/mod.rs - reactions (line 17) [INFO] [stdout] src/reactions/mod.rs - reactions (line 28) [INFO] [stdout] src/reactions/mod.rs - reactions (line 39) [INFO] [stdout] src/reactions/mod.rs - reactions (line 50) [INFO] [stdout] src/reactions/mod.rs - reactions (line 6) [INFO] [stdout] src/reactions/mod.rs - reactions (line 61) [INFO] [stdout] src/reactions/recast.rs - reactions::recast::Farcaster::recast_by_cast_hash (line 14) [INFO] [stdout] src/users/mod.rs - users (line 19) [INFO] [stdout] src/users/mod.rs - users (line 32) [INFO] [stdout] src/users/mod.rs - users (line 6) [INFO] [stdout] src/verifications/mod.rs - verifications (line 6) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 45 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "01765c5cf4c208a3e93919ae1cc491ac61f490c68ff892747a43b2c730745eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01765c5cf4c208a3e93919ae1cc491ac61f490c68ff892747a43b2c730745eb5", kill_on_drop: false }` [INFO] [stdout] 01765c5cf4c208a3e93919ae1cc491ac61f490c68ff892747a43b2c730745eb5