[INFO] fetching crate mailinator-rs 0.1.2... [INFO] testing mailinator-rs-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate mailinator-rs 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mailinator-rs 0.1.2 [INFO] finished tweaking crates.io crate mailinator-rs 0.1.2 [INFO] tweaked toml for crates.io crate mailinator-rs 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mailinator-rs 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 219 packages to latest compatible versions [INFO] [stderr] Adding derive_builder v0.12.0 (available: v0.20.2) [INFO] [stderr] Adding dotenv_config v0.1.9 (available: v0.2.3) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b45834b19656461e9522f672330fdd7f70646727140311387bebc72d3e0fcf3e [INFO] running `Command { std: "docker" "start" "-a" "b45834b19656461e9522f672330fdd7f70646727140311387bebc72d3e0fcf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b45834b19656461e9522f672330fdd7f70646727140311387bebc72d3e0fcf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b45834b19656461e9522f672330fdd7f70646727140311387bebc72d3e0fcf3e", kill_on_drop: false }` [INFO] [stdout] b45834b19656461e9522f672330fdd7f70646727140311387bebc72d3e0fcf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697b0bef5f4d96a0891cbc3048a2371b1b4531944bd886dfe39c88561a693a62 [INFO] running `Command { std: "docker" "start" "-a" "697b0bef5f4d96a0891cbc3048a2371b1b4531944bd886dfe39c88561a693a62", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling serde_qs v0.12.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling dotenv_config v0.1.9 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling mailinator-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ConditionMatch` is never used [INFO] [stdout] --> src/api/rules/mod.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ConditionMatch { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "697b0bef5f4d96a0891cbc3048a2371b1b4531944bd886dfe39c88561a693a62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697b0bef5f4d96a0891cbc3048a2371b1b4531944bd886dfe39c88561a693a62", kill_on_drop: false }` [INFO] [stdout] 697b0bef5f4d96a0891cbc3048a2371b1b4531944bd886dfe39c88561a693a62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 303d1d63f9951a20d93a84b60e354b2bb34bdf2517c85a54739f0ef92cb351b0 [INFO] running `Command { std: "docker" "start" "-a" "303d1d63f9951a20d93a84b60e354b2bb34bdf2517c85a54739f0ef92cb351b0", kill_on_drop: false }` [INFO] [stdout] warning: enum `ConditionMatch` is never used [INFO] [stdout] --> src/api/rules/mod.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ConditionMatch { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mailinator-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `ConditionMatch` is never used [INFO] [stdout] --> src/api/rules/mod.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ConditionMatch { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "303d1d63f9951a20d93a84b60e354b2bb34bdf2517c85a54739f0ef92cb351b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303d1d63f9951a20d93a84b60e354b2bb34bdf2517c85a54739f0ef92cb351b0", kill_on_drop: false }` [INFO] [stdout] 303d1d63f9951a20d93a84b60e354b2bb34bdf2517c85a54739f0ef92cb351b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c62048c1dd2743680376477cd6cdbf8de7d78d1e300257f49f6dee64c29165b0 [INFO] running `Command { std: "docker" "start" "-a" "c62048c1dd2743680376477cd6cdbf8de7d78d1e300257f49f6dee64c29165b0", kill_on_drop: false }` [INFO] [stderr] warning: enum `ConditionMatch` is never used [INFO] [stderr] --> src/api/rules/mod.rs:50:10 [INFO] [stderr] | [INFO] [stderr] 50 | pub enum ConditionMatch { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mailinator-rs` (lib) generated 1 warning [INFO] [stderr] warning: `mailinator-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mailinator_rs-24decd2196e10aaf) [INFO] [stdout] [INFO] [stderr] Running tests/hello_test.rs (/opt/rustwide/target/debug/deps/hello_test-5746ebd6b1dfffed) [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 1 test [INFO] [stderr] Doc-tests mailinator_rs [INFO] [stdout] test hello ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_inbox_messages (line 419) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_message (line 450) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_links (line 319) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_domain_messages (line 390) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_message (line 223) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_inbox (line 183) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_attachment (line 353) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::inject_message (line 487) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_list_of_attachments (line 286) ... FAILED [INFO] [stdout] test src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_sms_message (line 255) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_inbox_messages (line 419) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:421:67 [INFO] [stdout] | [INFO] [stdout] 421 | use mailinator_rs::prelude::{DeleteAllInboxMessageRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:423:3 [INFO] [stdout] | [INFO] [stdout] 423 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:424:1 [INFO] [stdout] | [INFO] [stdout] 424 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_message (line 450) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:452:59 [INFO] [stdout] | [INFO] [stdout] 452 | use mailinator_rs::prelude::{DeleteMessageRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:454:3 [INFO] [stdout] | [INFO] [stdout] 454 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_links (line 319) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:321:55 [INFO] [stdout] | [INFO] [stdout] 321 | use mailinator_rs::prelude::{FetchLinkRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:323:3 [INFO] [stdout] | [INFO] [stdout] 323 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:324:1 [INFO] [stdout] | [INFO] [stdout] 324 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_domain_messages (line 390) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:392:68 [INFO] [stdout] | [INFO] [stdout] 392 | use mailinator_rs::prelude::{DeleteAllDomainMessageRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:394:3 [INFO] [stdout] | [INFO] [stdout] 394 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:395:1 [INFO] [stdout] | [INFO] [stdout] 395 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_message (line 223) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:225:58 [INFO] [stdout] | [INFO] [stdout] 225 | use mailinator_rs::prelude::{FetchMessageRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_inbox (line 183) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:186:67 [INFO] [stdout] | [INFO] [stdout] 186 | FetchInboxRequestBuilder, FetchInboxRequestQueryParamsBuilder, MailinatorClient, MessageApi,Sorting [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_attachment (line 353) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::AttachmentLookupField`, `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | AttachmentLookupField, FetchAttachmentRequestBuilder, MailinatorClient, MessageApi, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | | [INFO] [stdout] | | no `MailinatorClient` in `prelude` [INFO] [stdout] | no `AttachmentLookupField` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:359:3 [INFO] [stdout] | [INFO] [stdout] 359 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:360:1 [INFO] [stdout] | [INFO] [stdout] 360 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::inject_message (line 487) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi`, `mailinator_rs::prelude::NewEmailMessageBuilder` [INFO] [stdout] --> src/api/message/mod.rs:490:33 [INFO] [stdout] | [INFO] [stdout] 490 | InjectMessageRequestBuilder, MailinatorClient, MessageApi, NewEmailMessageBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ no `NewEmailMessageBuilder` in `prelude` [INFO] [stdout] | | | [INFO] [stdout] | | no `MessageApi` in `prelude` [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 490 - InjectMessageRequestBuilder, MailinatorClient, MessageApi, NewEmailMessageBuilder, [INFO] [stdout] 490 + InjectMessageRequestBuilder, MailinatorClient, MessageApi, NewEmailBuilder, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:493:3 [INFO] [stdout] | [INFO] [stdout] 493 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:494:1 [INFO] [stdout] | [INFO] [stdout] 494 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_list_of_attachments (line 286) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:288:67 [INFO] [stdout] | [INFO] [stdout] 288 | use mailinator_rs::prelude::{FetchListOfAttachmentRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:290:3 [INFO] [stdout] | [INFO] [stdout] 290 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_sms_message (line 255) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `mailinator_rs::prelude::MailinatorClient`, `mailinator_rs::prelude::MessageApi` [INFO] [stdout] --> src/api/message/mod.rs:257:61 [INFO] [stdout] | [INFO] [stdout] 257 | use mailinator_rs::prelude::{FetchSmsMessageRequestBuilder, MailinatorClient, MessageApi}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ no `MessageApi` in `prelude` [INFO] [stdout] | | [INFO] [stdout] | no `MailinatorClient` in `prelude` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/api/message/mod.rs:259:3 [INFO] [stdout] | [INFO] [stdout] 259 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/api/message/mod.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 260 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_domain_messages (line 390) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_all_inbox_messages (line 419) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::delete_message (line 450) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_attachment (line 353) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_inbox (line 183) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_links (line 319) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_list_of_attachments (line 286) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_message (line 223) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::fetch_sms_message (line 255) [INFO] [stdout] src/api/message/mod.rs - api::message::ApiMessageEndpoints::inject_message (line 487) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c62048c1dd2743680376477cd6cdbf8de7d78d1e300257f49f6dee64c29165b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62048c1dd2743680376477cd6cdbf8de7d78d1e300257f49f6dee64c29165b0", kill_on_drop: false }` [INFO] [stdout] c62048c1dd2743680376477cd6cdbf8de7d78d1e300257f49f6dee64c29165b0