[INFO] fetching crate resend_email_rs 0.1.0...
[INFO] testing resend_email_rs-0.1.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate resend_email_rs 0.1.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate resend_email_rs 0.1.0
[INFO] finished tweaking crates.io crate resend_email_rs 0.1.0
[INFO] tweaked toml for crates.io crate resend_email_rs 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate resend_email_rs 0.1.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate resend_email_rs 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls-pki-types v1.5.0
[INFO] [stderr]   Downloaded reqwest v0.12.4
[INFO] [stderr]   Downloaded h2 v0.4.4
[INFO] [stderr]   Downloaded hyper v1.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ab441584298ed551cf3489aac48694937b82160601f832c4328480cde24a210a
[INFO] running `Command { std: "docker" "start" "-a" "ab441584298ed551cf3489aac48694937b82160601f832c4328480cde24a210a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ab441584298ed551cf3489aac48694937b82160601f832c4328480cde24a210a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab441584298ed551cf3489aac48694937b82160601f832c4328480cde24a210a", kill_on_drop: false }`
[INFO] [stdout] ab441584298ed551cf3489aac48694937b82160601f832c4328480cde24a210a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75c6cc287caecb997978faa07d7871ca694db920337af86c9e69964535a1131b
[INFO] running `Command { std: "docker" "start" "-a" "75c6cc287caecb997978faa07d7871ca694db920337af86c9e69964535a1131b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling serde v1.0.198
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling rustls-pki-types v1.5.0
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling serde_derive v1.0.198
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling h2 v0.4.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.4
[INFO] [stderr]    Compiling resend_email_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.68s
[INFO] running `Command { std: "docker" "inspect" "75c6cc287caecb997978faa07d7871ca694db920337af86c9e69964535a1131b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75c6cc287caecb997978faa07d7871ca694db920337af86c9e69964535a1131b", kill_on_drop: false }`
[INFO] [stdout] 75c6cc287caecb997978faa07d7871ca694db920337af86c9e69964535a1131b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 946d38aedddcd7135f6e5c390dde783740b74b59a55cdbd6b607f1a287b29811
[INFO] running `Command { std: "docker" "start" "-a" "946d38aedddcd7135f6e5c390dde783740b74b59a55cdbd6b607f1a287b29811", kill_on_drop: false }`
[INFO] [stderr]    Compiling resend_email_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] running `Command { std: "docker" "inspect" "946d38aedddcd7135f6e5c390dde783740b74b59a55cdbd6b607f1a287b29811", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "946d38aedddcd7135f6e5c390dde783740b74b59a55cdbd6b607f1a287b29811", kill_on_drop: false }`
[INFO] [stdout] 946d38aedddcd7135f6e5c390dde783740b74b59a55cdbd6b607f1a287b29811
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 668c660c350f33f81b73867134b41fa53fb495080d611c29604fa52f923ed424
[INFO] running `Command { std: "docker" "start" "-a" "668c660c350f33f81b73867134b41fa53fb495080d611c29604fa52f923ed424", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/resend_email_rs-ded2a1138b9d7cce)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/resend_email_rs-2645c4e714b29a3c)
[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 resend_email_rs
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/lib.rs - (line 38) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - Attachment (line 154) ... FAILED
[INFO] [stdout] test src/client.rs - client (line 36) ... FAILED
[INFO] [stdout] test src/error.rs - error (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... FAILED
[INFO] [stdout] test src/lib.rs - Email (line 118) ... FAILED
[INFO] [stdout] test src/lib.rs - ResendClient (line 136) ... FAILED
[INFO] [stdout] test src/client.rs - client (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - MailText (line 180) ... FAILED
[INFO] [stdout] test src/success.rs - success (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - MailHtml (line 213) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 38) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]   --> src/lib.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | use resend_rs::{ResendClient, MailText};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `resend_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `resend_rs`, use `cargo add resend_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 50 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 38 + use resend_email_rs::Email;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:50:51
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_38_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 28) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | use resend_rs::ResendClient;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `resend_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `resend_rs`, use `cargo add resend_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 55) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]   --> src/lib.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use resend_rs::{ResendClient, MailHtml};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `resend_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `resend_rs`, use `cargo add resend_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 66 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 55 + use resend_email_rs::Email;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:66:51
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_55_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 66 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - Attachment (line 154) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Attachment` in this scope
[INFO] [stdout]    --> src/lib.rs:155:18
[INFO] [stdout]     |
[INFO] [stdout] 155 | let attachment = Attachment {
[INFO] [stdout]     |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 154 + use resend_email_rs::Attachment;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client (line 36) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]   --> src/client.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | let email = client.send(&mail).await?;
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `mail` in this scope
[INFO] [stdout]   --> src/client.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 | let email = client.send(&mail).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/client.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_36_0() {
[INFO] [stdout]    |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 37 | let email = client.send(&mail).await?;
[INFO] [stdout]    |                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error.rs - error (line 17) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]   --> src/error.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use resend_rs::Error;
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `resend_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `resend_rs`, use `cargo add resend_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 71) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]   --> src/lib.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | use resend_rs::{ResendClient, MailText, Attachment};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `resend_rs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `resend_rs`, use `cargo add resend_rs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 71 + use resend_email_rs::Email;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 86 | let email_sent_status: Email = client.send(&mail).await.unwrap();
[INFO] [stdout]    |                                                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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 - Email (line 118) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 | let email = Email {
[INFO] [stdout]     |             ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 118 + use resend_email_rs::Email;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ResendClient (line 136) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ResendClient` in this scope
[INFO] [stdout]    --> src/lib.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 | let client = ResendClient {
[INFO] [stdout]     |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 136 + use resend_email_rs::ResendClient;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ResendClient`
[INFO] [stdout]   --> src/client.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 | let client = ResendClient::new("your_auth_token".to_string());
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `ResendClient`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 31 + use resend_email_rs::ResendClient;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - MailText (line 180) stdout ----
[INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `subject`
[INFO] [stdout]    --> src/lib.rs:184:5
[INFO] [stdout]     |
[INFO] [stdout] 181 | let mail = MailText {
[INFO] [stdout]     |            -------- while parsing this struct
[INFO] [stdout] 182 |     from: "floris@xylex.ai",
[INFO] [stdout] 183 |     to: vec!["person@example.com"]
[INFO] [stdout]     |                                   -
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   expected one of `,`, `.`, `?`, `}`, or an operator
[INFO] [stdout]     |                                   help: try adding a comma: `,`
[INFO] [stdout] 184 |     subject: "Test Email",
[INFO] [stdout]     |     ^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MailText` in this scope
[INFO] [stdout]    --> src/lib.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 | let mail = MailText {
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 180 + use resend_email_rs::MailText;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/success.rs - success (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `resend_client` in this scope
[INFO] [stdout]   --> src/success.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | match resend_client.send(&email).await {
[INFO] [stdout]    |       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `email` in this scope
[INFO] [stdout]   --> src/success.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 | match resend_client.send(&email).await {
[INFO] [stdout]    |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Success`
[INFO] [stdout]   --> src/success.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         Success::EmailSent => println!("Email was successfully sent."),
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Success`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 19 + use resend_email_rs::success::Success;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/success.rs:20:34
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_success_rs_19_0() {
[INFO] [stdout]    |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 20 | match resend_client.send(&email).await {
[INFO] [stdout]    |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - MailHtml (line 213) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MailHtml` in this scope
[INFO] [stdout]    --> src/lib.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 | let mail = MailHtml {
[INFO] [stdout]     |            ^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 213 + use resend_email_rs::MailHtml;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client (line 31)
[INFO] [stdout]     src/client.rs - client (line 36)
[INFO] [stdout]     src/error.rs - error (line 17)
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout]     src/lib.rs - (line 38)
[INFO] [stdout]     src/lib.rs - (line 55)
[INFO] [stdout]     src/lib.rs - (line 71)
[INFO] [stdout]     src/lib.rs - Attachment (line 154)
[INFO] [stdout]     src/lib.rs - Email (line 118)
[INFO] [stdout]     src/lib.rs - MailHtml (line 213)
[INFO] [stdout]     src/lib.rs - MailText (line 180)
[INFO] [stdout]     src/lib.rs - ResendClient (line 136)
[INFO] [stdout]     src/success.rs - success (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 13 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "668c660c350f33f81b73867134b41fa53fb495080d611c29604fa52f923ed424", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "668c660c350f33f81b73867134b41fa53fb495080d611c29604fa52f923ed424", kill_on_drop: false }`
[INFO] [stdout] 668c660c350f33f81b73867134b41fa53fb495080d611c29604fa52f923ed424
