[INFO] fetching crate phase_sqs 0.2.3... [INFO] testing phase_sqs-0.2.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate phase_sqs 0.2.3 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate phase_sqs 0.2.3 [INFO] finished tweaking crates.io crate phase_sqs 0.2.3 [INFO] tweaked toml for crates.io crate phase_sqs 0.2.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate phase_sqs 0.2.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 208 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding mockall v0.13.1 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.10 [INFO] [stderr] Downloaded aws-smithy-runtime-api-macros v1.0.0 [INFO] [stderr] Downloaded fragile v2.1.0 [INFO] [stderr] Downloaded predicates-tree v1.0.13 [INFO] [stderr] Downloaded aws-smithy-query v0.60.15 [INFO] [stderr] Downloaded hyper-rustls v0.27.9 [INFO] [stderr] Downloaded aws-smithy-observability v0.2.6 [INFO] [stderr] Downloaded aws-smithy-async v1.2.14 [INFO] [stderr] Downloaded aws-credential-types v1.2.14 [INFO] [stderr] Downloaded aws-smithy-xml v0.60.15 [INFO] [stderr] Downloaded aws-smithy-json v0.62.5 [INFO] [stderr] Downloaded aws-smithy-http v0.63.6 [INFO] [stderr] Downloaded aws-sdk-sso v1.97.0 [INFO] [stderr] Downloaded aws-sigv4 v1.4.2 [INFO] [stderr] Downloaded aws-sdk-ssooidc v1.99.0 [INFO] [stderr] Downloaded aws-smithy-runtime v1.11.1 [INFO] [stderr] Downloaded aws-config v1.8.15 [INFO] [stderr] Downloaded aws-smithy-http-client v1.1.12 [INFO] [stderr] Downloaded aws-sdk-sts v1.102.0 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.12.0 [INFO] [stderr] Downloaded aws-runtime v1.7.2 [INFO] [stderr] Downloaded aws-types v1.3.14 [INFO] [stderr] Downloaded aws-lc-rs v1.16.3 [INFO] [stderr] Downloaded aws-smithy-types v1.4.7 [INFO] [stderr] Downloaded aws-sdk-sqs v1.97.0 [INFO] [stderr] Downloaded aws-lc-sys v0.40.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4505255e289ce08f89c2c9b6d0bd3fa34855c491f11c183713f284c2186c06b [INFO] running `Command { std: "docker" "start" "-a" "c4505255e289ce08f89c2c9b6d0bd3fa34855c491f11c183713f284c2186c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4505255e289ce08f89c2c9b6d0bd3fa34855c491f11c183713f284c2186c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4505255e289ce08f89c2c9b6d0bd3fa34855c491f11c183713f284c2186c06b", kill_on_drop: false }` [INFO] [stdout] c4505255e289ce08f89c2c9b6d0bd3fa34855c491f11c183713f284c2186c06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c21aa93c47569be4df3008579ece072b041581b2fb0759933a76fd61c1054840 [INFO] running `Command { std: "docker" "start" "-a" "c21aa93c47569be4df3008579ece072b041581b2fb0759933a76fd61c1054840", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling bytes-utils v0.1.4 [INFO] [stderr] Compiling aws-lc-rs v1.16.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling aws-smithy-runtime-api-macros v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rustls v0.23.38 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling aws-types v1.3.14 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling xmlparser v0.13.6 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling fragile v2.1.0 [INFO] [stderr] Compiling aws-smithy-xml v0.60.15 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.40.0 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling aws-smithy-async v1.2.14 [INFO] [stderr] Compiling aws-smithy-types v1.4.7 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.12.0 [INFO] [stderr] Compiling aws-smithy-json v0.62.5 [INFO] [stderr] Compiling aws-smithy-query v0.60.15 [INFO] [stderr] Compiling aws-smithy-http v0.63.6 [INFO] [stderr] Compiling aws-credential-types v1.2.14 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling aws-smithy-observability v0.2.6 [INFO] [stderr] Compiling aws-sigv4 v1.4.2 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling rustls-webpki v0.103.12 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling aws-smithy-http-client v1.1.12 [INFO] [stderr] Compiling aws-smithy-runtime v1.11.1 [INFO] [stderr] Compiling aws-runtime v1.7.2 [INFO] [stderr] Compiling aws-sdk-sts v1.102.0 [INFO] [stderr] Compiling aws-sdk-sso v1.97.0 [INFO] [stderr] Compiling aws-sdk-ssooidc v1.99.0 [INFO] [stderr] Compiling aws-sdk-sqs v1.97.0 [INFO] [stderr] Compiling aws-config v1.8.15 [INFO] [stderr] Compiling phase_sqs v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.71s [INFO] running `Command { std: "docker" "inspect" "c21aa93c47569be4df3008579ece072b041581b2fb0759933a76fd61c1054840", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21aa93c47569be4df3008579ece072b041581b2fb0759933a76fd61c1054840", kill_on_drop: false }` [INFO] [stdout] c21aa93c47569be4df3008579ece072b041581b2fb0759933a76fd61c1054840 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a0c61e2c27a164937e742adf545b152dbe0e7ab964d14a9e9fef2e42d5bd2bf [INFO] running `Command { std: "docker" "start" "-a" "5a0c61e2c27a164937e742adf545b152dbe0e7ab964d14a9e9fef2e42d5bd2bf", kill_on_drop: false }` [INFO] [stderr] Compiling phase_sqs v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "5a0c61e2c27a164937e742adf545b152dbe0e7ab964d14a9e9fef2e42d5bd2bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0c61e2c27a164937e742adf545b152dbe0e7ab964d14a9e9fef2e42d5bd2bf", kill_on_drop: false }` [INFO] [stdout] 5a0c61e2c27a164937e742adf545b152dbe0e7ab964d14a9e9fef2e42d5bd2bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bda54f14685c9b6b59a513ba5e64e7fb9677e3d81f5658401f7cc1130ab8ef89 [INFO] running `Command { std: "docker" "start" "-a" "bda54f14685c9b6b59a513ba5e64e7fb9677e3d81f5658401f7cc1130ab8ef89", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phase_sqs-e574fe10f59bbec7) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_consume_messages_failure ... ok [INFO] [stdout] test tests::test_logger_processor ... ok [INFO] [stdout] test tests::test_send_message_failure ... ok [INFO] [stdout] test tests::test_consume_messages_success ... ok [INFO] [stdout] test tests::test_send_message_success ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests phase_sqs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - SqsClient::new (line 40) - compile ... FAILED [INFO] [stdout] test src/lib.rs - SqsClient::consume_messages (line 76) - compile ... FAILED [INFO] [stdout] test src/lib.rs - SqsClient::send_message (line 114) - compile ... FAILED [INFO] [stdout] test src/lib.rs - MessageProcessor::process_message (line 145) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SqsClient::new (line 40) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/lib.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let processor = Arc::new(MyMessageProcessor); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 40 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MyMessageProcessor` in this scope [INFO] [stdout] --> src/lib.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | let processor = Arc::new(MyMessageProcessor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SqsClient` in this scope [INFO] [stdout] --> src/lib.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | let client = SqsClient::new("https://sqs.us-east-2.amazonaws.com/123456789/my-queue".to_string(), processor, None).await; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SqsClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 40 + use phase_sqs::SqsClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:42:116 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_40_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 41 | let processor = Arc::new(MyMessageProcessor); [INFO] [stdout] 42 | let client = SqsClient::new("https://sqs.us-east-2.amazonaws.com/123456789/my-queue".to_string(), processor, None).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 - SqsClient::consume_messages (line 76) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | let result = client.consume_messages().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/lib.rs:77:40 [INFO] [stdout] | [INFO] [stdout] 76 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_76_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 77 | let result = client.consume_messages().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 - SqsClient::send_message (line 114) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `client` in this scope [INFO] [stdout] --> src/lib.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | let result = client.send_message("My message".to_string()).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/lib.rs:115:60 [INFO] [stdout] | [INFO] [stdout] 114 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_114_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 115 | let result = client.send_message("My message".to_string()).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 - MessageProcessor::process_message (line 145) stdout ---- [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> src/lib.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 145 + use async_trait::async_trait; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MessageProcessor` in this scope [INFO] [stdout] --> src/lib.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | impl MessageProcessor for MyProcessor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 145 + use phase_sqs::MessageProcessor; [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 E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - MessageProcessor::process_message (line 145) [INFO] [stdout] src/lib.rs - SqsClient::consume_messages (line 76) [INFO] [stdout] src/lib.rs - SqsClient::new (line 40) [INFO] [stdout] src/lib.rs - SqsClient::send_message (line 114) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bda54f14685c9b6b59a513ba5e64e7fb9677e3d81f5658401f7cc1130ab8ef89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda54f14685c9b6b59a513ba5e64e7fb9677e3d81f5658401f7cc1130ab8ef89", kill_on_drop: false }` [INFO] [stdout] bda54f14685c9b6b59a513ba5e64e7fb9677e3d81f5658401f7cc1130ab8ef89