[INFO] fetching crate resend_email_rs 0.1.0...
[INFO] testing resend_email_rs-0.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate resend_email_rs 0.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate resend_email_rs 0.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ceac492d1e9d9f871801a84d2dc6b2449c85706916dc5541af5d3658a582fd35
[INFO] running `Command { std: "docker" "start" "-a" "ceac492d1e9d9f871801a84d2dc6b2449c85706916dc5541af5d3658a582fd35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ceac492d1e9d9f871801a84d2dc6b2449c85706916dc5541af5d3658a582fd35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ceac492d1e9d9f871801a84d2dc6b2449c85706916dc5541af5d3658a582fd35", kill_on_drop: false }`
[INFO] [stdout] ceac492d1e9d9f871801a84d2dc6b2449c85706916dc5541af5d3658a582fd35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27b9019f8354805858ce3deb864803b4b4daaf2cf72d014f0c935aa09b59b5e9
[INFO] running `Command { std: "docker" "start" "-a" "27b9019f8354805858ce3deb864803b4b4daaf2cf72d014f0c935aa09b59b5e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling serde v1.0.198
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling base64 v0.22.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling rustls-pki-types v1.5.0
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling rustls-pemfile v2.1.2
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling socket2 v0.5.6
[INFO] [stderr]    Compiling mio v0.8.11
[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 serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling h2 v0.4.4
[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 pin-project v1.1.5
[INFO] [stderr]    Compiling tower v0.4.13
[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 2m 11s
[INFO] running `Command { std: "docker" "inspect" "27b9019f8354805858ce3deb864803b4b4daaf2cf72d014f0c935aa09b59b5e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27b9019f8354805858ce3deb864803b4b4daaf2cf72d014f0c935aa09b59b5e9", kill_on_drop: false }`
[INFO] [stdout] 27b9019f8354805858ce3deb864803b4b4daaf2cf72d014f0c935aa09b59b5e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a065b7825264634c7f9f272f1faa3282c47b5bcdefb489aa5f9ae3d7b274b1b9
[INFO] running `Command { std: "docker" "start" "-a" "a065b7825264634c7f9f272f1faa3282c47b5bcdefb489aa5f9ae3d7b274b1b9", 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.83s
[INFO] running `Command { std: "docker" "inspect" "a065b7825264634c7f9f272f1faa3282c47b5bcdefb489aa5f9ae3d7b274b1b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a065b7825264634c7f9f272f1faa3282c47b5bcdefb489aa5f9ae3d7b274b1b9", kill_on_drop: false }`
[INFO] [stdout] a065b7825264634c7f9f272f1faa3282c47b5bcdefb489aa5f9ae3d7b274b1b9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] dc38875c67637d132f3226e2c2aa05bb5bc9c2966f5664c26380ec6c1cb01faf
[INFO] running `Command { std: "docker" "start" "-a" "dc38875c67637d132f3226e2c2aa05bb5bc9c2966f5664c26380ec6c1cb01faf", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/resend_email_rs-807966d0214a072d)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/resend_email_rs-92747dd104215449)
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests resend_email_rs
[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] [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] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/error.rs - error (line 17) ... FAILED
[INFO] [stdout] test src/lib.rs - ResendClient (line 136) ... FAILED
[INFO] [stdout] test src/success.rs - success (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - Email (line 118) ... FAILED
[INFO] [stdout] test src/client.rs - client (line 36) ... FAILED
[INFO] [stdout] test src/lib.rs - MailText (line 180) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 55) ... FAILED
[INFO] [stdout] test src/lib.rs - MailHtml (line 213) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 38) ... FAILED
[INFO] [stdout] test src/client.rs - client (line 31) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 71) ... FAILED
[INFO] [stdout] test src/lib.rs - Attachment (line 154) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 3 | 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 - 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] 3 | let client = ResendClient {
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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] 3 | 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] 3 | 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] 5 |         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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_success_rs_19_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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 - 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] 3 | let email = Email {
[INFO] [stdout]   |             ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/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] 3 | 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] 3 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_36_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 3 | 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/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] 3 | let mail = MailText {
[INFO] [stdout]   |            -------- while parsing this struct
[INFO] [stdout] 4 |     from: "floris@xylex.ai",
[INFO] [stdout] 5 |     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] 6 |     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] 3 | let mail = MailText {
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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/lib.rs - (line 55) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]  --> src/lib.rs:56:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0412]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:66:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | 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] 2  + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_55_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 | 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: E0412, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 3 | let mail = MailHtml {
[INFO] [stdout]   |            ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] ---- 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] 3 | 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 38) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]  --> src/lib.rs:39:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0412]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:50:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | 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] 2  + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_38_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | 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: E0412, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 3 | 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] 2 + 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 - (line 71) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `resend_rs`
[INFO] [stdout]  --> src/lib.rs:72:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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[E0412]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/lib.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 17 | 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] 2  + 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] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | 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: E0412, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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] 3 | let attachment = Attachment {
[INFO] [stdout]   |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 
[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.43s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "dc38875c67637d132f3226e2c2aa05bb5bc9c2966f5664c26380ec6c1cb01faf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc38875c67637d132f3226e2c2aa05bb5bc9c2966f5664c26380ec6c1cb01faf", kill_on_drop: false }`
[INFO] [stdout] dc38875c67637d132f3226e2c2aa05bb5bc9c2966f5664c26380ec6c1cb01faf
