[INFO] fetching crate farcaster-rs 1.0.1... [INFO] testing farcaster-rs-1.0.1 against 1.77.0 for beta-1.78-1 [INFO] extracting crate farcaster-rs 1.0.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate farcaster-rs 1.0.1 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethers v1.0.2 [INFO] [stderr] Downloaded base58check v0.1.0 [INFO] [stderr] Downloaded ethers-addressbook v1.0.2 [INFO] [stderr] Downloaded radium v0.3.0 [INFO] [stderr] Downloaded bech32 v0.7.3 [INFO] [stderr] Downloaded coins-core v0.7.0 [INFO] [stderr] Downloaded coins-bip39 v0.7.0 [INFO] [stderr] Downloaded coins-bip32 v0.7.0 [INFO] [stderr] Downloaded ethers-contract-derive v1.0.2 [INFO] [stderr] Downloaded ethers-signers v1.0.2 [INFO] [stderr] Downloaded auto_impl v0.5.0 [INFO] [stderr] Downloaded ethers-contract-abigen v1.0.2 [INFO] [stderr] Downloaded ethers-contract v1.0.2 [INFO] [stderr] Downloaded ethers-providers v1.0.2 [INFO] [stderr] Downloaded bitvec v0.17.4 [INFO] [stderr] Downloaded ethers-core v1.0.2 [INFO] [stderr] Downloaded ethers-etherscan v1.0.2 [INFO] [stderr] Downloaded ethers-middleware v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 517e3c869f3c0d536c04f0264e6b8360972c34cc6acf9188d83bb700faee76e5 [INFO] running `Command { std: "docker" "start" "-a" "517e3c869f3c0d536c04f0264e6b8360972c34cc6acf9188d83bb700faee76e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "517e3c869f3c0d536c04f0264e6b8360972c34cc6acf9188d83bb700faee76e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517e3c869f3c0d536c04f0264e6b8360972c34cc6acf9188d83bb700faee76e5", kill_on_drop: false }` [INFO] [stdout] 517e3c869f3c0d536c04f0264e6b8360972c34cc6acf9188d83bb700faee76e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea2680dd0722ae7e8458ddfd6b032141a11e132baefce2eea27daa5e5ea50967 [INFO] running `Command { std: "docker" "start" "-a" "ea2680dd0722ae7e8458ddfd6b032141a11e132baefce2eea27daa5e5ea50967", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling regex v1.10.4 [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 base58 v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling base58check v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=8fc1aab0d8e46fd7 -C extra-filename=-8fc1aab0d8e46fd7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-fe65681859652978.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-161bd5d5d04cff0e.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-67f0e6425c066982.rmeta --cap-lints allow --cap-lints=warn --cfg syn_disable_nightly_tests` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ea2680dd0722ae7e8458ddfd6b032141a11e132baefce2eea27daa5e5ea50967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2680dd0722ae7e8458ddfd6b032141a11e132baefce2eea27daa5e5ea50967", kill_on_drop: false }` [INFO] [stdout] ea2680dd0722ae7e8458ddfd6b032141a11e132baefce2eea27daa5e5ea50967 [INFO] testing farcaster-rs-1.0.1 against beta-2024-03-24 for beta-1.78-1 [INFO] extracting crate farcaster-rs 1.0.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate farcaster-rs 1.0.1 on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa07c82be10d52061b8f83e4fd7fcfd2adc27814835923e65317b8ac59be15a7 [INFO] running `Command { std: "docker" "start" "-a" "aa07c82be10d52061b8f83e4fd7fcfd2adc27814835923e65317b8ac59be15a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa07c82be10d52061b8f83e4fd7fcfd2adc27814835923e65317b8ac59be15a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa07c82be10d52061b8f83e4fd7fcfd2adc27814835923e65317b8ac59be15a7", kill_on_drop: false }` [INFO] [stdout] aa07c82be10d52061b8f83e4fd7fcfd2adc27814835923e65317b8ac59be15a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd491d27b657f817b4a3869fbf4f25cf4213bdb6c50e37bc611348bee7089f51 [INFO] running `Command { std: "docker" "start" "-a" "cd491d27b657f817b4a3869fbf4f25cf4213bdb6c50e37bc611348bee7089f51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling sec1 v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rfc6979 v0.3.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.12.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling ecdsa v0.14.8 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling k256 v0.11.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [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 eyre v0.6.12 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling base58check v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling bech32 v0.7.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling scrypt v0.10.0 [INFO] [stderr] Compiling hashers v1.0.1 [INFO] [stderr] Compiling bitvec v0.17.4 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling futures-locks v0.7.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling auto_impl v0.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling coins-core v0.7.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling coins-bip32 v0.7.0 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling impl-codec v0.6.0 [INFO] [stderr] Compiling scale-info v2.11.1 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling coins-bip39 v0.7.0 [INFO] [stderr] Compiling serde-aux v4.5.0 [INFO] [stderr] Compiling eth-keystore v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling open-fastrlp v0.1.4 [INFO] [stderr] Compiling ethabi v18.0.0 [INFO] [stderr] Compiling ethers-core v1.0.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling ethers-signers v1.0.2 [INFO] [stderr] Compiling ethers-addressbook v1.0.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling ethers-contract-abigen v1.0.2 [INFO] [stderr] Compiling ethers-providers 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 50.43s [INFO] running `Command { std: "docker" "inspect" "cd491d27b657f817b4a3869fbf4f25cf4213bdb6c50e37bc611348bee7089f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd491d27b657f817b4a3869fbf4f25cf4213bdb6c50e37bc611348bee7089f51", kill_on_drop: false }` [INFO] [stdout] cd491d27b657f817b4a3869fbf4f25cf4213bdb6c50e37bc611348bee7089f51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392aada194d14ef74e7a0dd3f74188f3b036562066cf1ee3df627d457babec53 [INFO] running `Command { std: "docker" "start" "-a" "392aada194d14ef74e7a0dd3f74188f3b036562066cf1ee3df627d457babec53", 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 3.65s [INFO] running `Command { std: "docker" "inspect" "392aada194d14ef74e7a0dd3f74188f3b036562066cf1ee3df627d457babec53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392aada194d14ef74e7a0dd3f74188f3b036562066cf1ee3df627d457babec53", kill_on_drop: false }` [INFO] [stdout] 392aada194d14ef74e7a0dd3f74188f3b036562066cf1ee3df627d457babec53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b949359b41e5475ef8f29354f5da96f412780abba1d0f697243008696e5438f1 [INFO] running `Command { std: "docker" "start" "-a" "b949359b41e5475ef8f29354f5da96f412780abba1d0f697243008696e5438f1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/farcaster_rs-0a5d9f25b1f046b9) [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_address (line 64) - compile ... FAILED [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::Account::from_private_key (line 85) - compile ... FAILED [INFO] [stdout] test src/assets/mod.rs - assets (line 20) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account::Account::from_mnemonic (line 48) - 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/account/mod.rs - account (line 20) - 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/casts/get_casts.rs - casts::get_casts::Farcaster::get_casts_by_fid (line 16) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account (line 13) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 20) - 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/assets/mod.rs - assets (line 6) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 37) - compile ... FAILED [INFO] [stdout] test src/account/mod.rs - account (line 6) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts::publish_cast (line 49) - compile ... FAILED [INFO] [stdout] test src/casts/publish_cast.rs - casts::publish_cast::Farcaster::publish_cast (line 9) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 19) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 6) - compile ... FAILED [INFO] [stdout] test src/casts/mod.rs - casts (line 6) - 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/follows/mod.rs - follows (line 45) - compile ... FAILED [INFO] [stdout] test src/notifications/mod.rs - notifications (line 6) - 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/lib.rs - (line 7) - compile ... FAILED [INFO] [stdout] test src/follows/mod.rs - follows (line 32) - 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/notifications/get_notifications.rs - notifications::get_notifications::Farcaster::get_notifications (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/reactions/delete_like.rs - reactions::delete_like::Farcaster::delete_like_by_cast_hash (line 14) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 28) - 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 50) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 17) - 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 39) - compile ... FAILED [INFO] [stdout] test src/users/mod.rs - users (line 32) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 6) - compile ... FAILED [INFO] [stdout] test src/users/mod.rs - users (line 19) - compile ... FAILED [INFO] [stdout] test src/reactions/mod.rs - reactions (line 61) - 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/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 6) - 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_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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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::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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_85_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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::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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_account_mod_rs_48_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] 5 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_75_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_delete_cast_rs_14_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_51_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_casts_get_casts_rs_16_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 4 | 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] 7 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 15 | 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] 4 | 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] 16 | 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] 4 | 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] 17 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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] 4 | 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] 14 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 10 | 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/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] 4 | 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] 7 | 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::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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 14 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 14 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_64_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_44_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/lib.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `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] 11 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_follows_follow_user_rs_14_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_notifications_get_notifications_rs_14_0() { [INFO] [stdout] | --------------------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_delete_recast_rs_14_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_delete_like_rs_14_0() { [INFO] [stdout] | ----------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_get_likes_rs_15_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_get_recasters_rs_15_0() { [INFO] [stdout] | ------------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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] ---- 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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] 11 | 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/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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_like_cast_rs_14_0() { [INFO] [stdout] | --------------------------------------------- this is not `async` [INFO] [stdout] 3 | 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/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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_reactions_recast_rs_14_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] 3 | 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 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] 4 | 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] 7 | 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] 4 | 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] 8 | 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] 4 | 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 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] 4 | 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] 12 | 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] 4 | 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] 13 | 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] [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 0.46s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b949359b41e5475ef8f29354f5da96f412780abba1d0f697243008696e5438f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b949359b41e5475ef8f29354f5da96f412780abba1d0f697243008696e5438f1", kill_on_drop: false }` [INFO] [stdout] b949359b41e5475ef8f29354f5da96f412780abba1d0f697243008696e5438f1