[INFO] fetching crate dynamodb-helper 0.3.0... [INFO] testing dynamodb-helper-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dynamodb-helper 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate dynamodb-helper 0.3.0 [INFO] finished tweaking crates.io crate dynamodb-helper 0.3.0 [INFO] tweaked toml for crates.io crate dynamodb-helper 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dynamodb-helper 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dynamodb-helper 0.3.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 bytes-utils v0.1.3 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded semver v1.0.14 [INFO] [stderr] Downloaded time-macros v0.2.5 [INFO] [stderr] Downloaded aws-smithy-http v0.62.1 [INFO] [stderr] Downloaded aws-smithy-observability v0.1.3 [INFO] [stderr] Downloaded aws-smithy-async v1.2.5 [INFO] [stderr] Downloaded aws-smithy-json v0.61.4 [INFO] [stderr] Downloaded time v0.3.16 [INFO] [stderr] Downloaded aws-sigv4 v1.3.3 [INFO] [stderr] Downloaded aws-runtime v1.5.8 [INFO] [stderr] Downloaded hyper-util v0.1.14 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded aws-smithy-runtime v1.8.3 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.8.1 [INFO] [stderr] Downloaded aws-smithy-http-client v1.0.6 [INFO] [stderr] Downloaded aws-smithy-types v1.3.2 [INFO] [stderr] Downloaded aws-lc-rs v1.13.1 [INFO] [stderr] Downloaded bindgen v0.69.5 [INFO] [stderr] Downloaded regex-lite v0.1.6 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded aws-credential-types v1.2.3 [INFO] [stderr] Downloaded aws-types v1.3.7 [INFO] [stderr] Downloaded rustls v0.23.28 [INFO] [stderr] Downloaded aws-sdk-dynamodb v1.82.0 [INFO] [stderr] Downloaded aws-lc-sys v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7096906fd82bec5e1c61c4831534be21d528bcf018c88c4ee13799d35ff5248 [INFO] running `Command { std: "docker" "start" "-a" "c7096906fd82bec5e1c61c4831534be21d528bcf018c88c4ee13799d35ff5248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7096906fd82bec5e1c61c4831534be21d528bcf018c88c4ee13799d35ff5248", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7096906fd82bec5e1c61c4831534be21d528bcf018c88c4ee13799d35ff5248", kill_on_drop: false }` [INFO] [stdout] c7096906fd82bec5e1c61c4831534be21d528bcf018c88c4ee13799d35ff5248 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c70d9d80aca13b89247c47b7372213ad2755c019feae5630271aa85f6182a7b [INFO] running `Command { std: "docker" "start" "-a" "6c70d9d80aca13b89247c47b7372213ad2755c019feae5630271aa85f6182a7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.25 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling semver v1.0.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling base64-simd v0.8.0 [INFO] [stderr] Compiling time v0.3.16 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bytes-utils v0.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aws-types v1.3.7 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling aws-smithy-async v1.2.5 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling aws-smithy-types v1.3.2 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling aws-smithy-runtime-api v1.8.1 [INFO] [stderr] Compiling aws-smithy-json v0.61.4 [INFO] [stderr] Compiling aws-credential-types v1.2.3 [INFO] [stderr] Compiling aws-smithy-http v0.62.1 [INFO] [stderr] Compiling aws-smithy-observability v0.1.3 [INFO] [stderr] Compiling aws-sigv4 v1.3.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling aws-smithy-http-client v1.0.6 [INFO] [stderr] Compiling aws-smithy-runtime v1.8.3 [INFO] [stderr] Compiling aws-runtime v1.5.8 [INFO] [stderr] Compiling aws-sdk-dynamodb v1.82.0 [INFO] [stderr] Compiling dynamodb-helper v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "6c70d9d80aca13b89247c47b7372213ad2755c019feae5630271aa85f6182a7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c70d9d80aca13b89247c47b7372213ad2755c019feae5630271aa85f6182a7b", kill_on_drop: false }` [INFO] [stdout] 6c70d9d80aca13b89247c47b7372213ad2755c019feae5630271aa85f6182a7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50293fd5ffebbfee08a7b348c237300deb1481629ef4fac64135186dbaa40dee [INFO] running `Command { std: "docker" "start" "-a" "50293fd5ffebbfee08a7b348c237300deb1481629ef4fac64135186dbaa40dee", kill_on_drop: false }` [INFO] [stderr] Compiling dynamodb-helper v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "50293fd5ffebbfee08a7b348c237300deb1481629ef4fac64135186dbaa40dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50293fd5ffebbfee08a7b348c237300deb1481629ef4fac64135186dbaa40dee", kill_on_drop: false }` [INFO] [stdout] 50293fd5ffebbfee08a7b348c237300deb1481629ef4fac64135186dbaa40dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d98d23b1326c4690701b1ae8cc7ed07d66d2c12e9da258e260a80ca7e1304460 [INFO] running `Command { std: "docker" "start" "-a" "d98d23b1326c4690701b1ae8cc7ed07d66d2c12e9da258e260a80ca7e1304460", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dynamodb_helper-e9bf76979e6acaae) [INFO] [stdout] [INFO] [stderr] Doc-tests dynamodb_helper [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 4 tests [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 130) ... FAILED [INFO] [stdout] test src/lib.rs - (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `-` [INFO] [stdout] --> src/lib.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | aws-config = "1.8" [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 130) stdout ---- [INFO] [stdout] error: cannot find derive macro `DynamoDb` in this scope [INFO] [stdout] --> src/lib.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 131 | #[derive(DynamoDb)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 130 + use dynamodb_helper::DynamoDb; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `exclusion` in this scope [INFO] [stdout] --> src/lib.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | #[exclusion("scan", "delete_table", "create_table")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `partition` in this scope [INFO] [stdout] --> src/lib.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[partition] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 114) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `SdkError` in this scope [INFO] [stdout] --> src/lib.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | AwsError(SdkError), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 114 + use aws_sdk_dynamodb::error::SdkError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScanError` in this scope [INFO] [stdout] --> src/lib.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | AwsError(SdkError), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 114 + use aws_sdk_dynamodb::operation::scan::ScanError; [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aws_config` [INFO] [stdout] --> src/lib.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(DynamoDb)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `aws_config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aws_config`, use `cargo add aws_config` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `DynamoDb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aws_config` [INFO] [stdout] --> src/lib.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(DynamoDb)] [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `aws_config` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aws_config`, use `cargo add aws_config` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `DynamoDb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a_dynamodb_client` in this scope [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | let other_db = OtherStructDb::new(a_dynamodb_client, "exampleTable"); [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:22:101 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | let db = ExampleStructDb::build(aws_sdk_dynamodb::config::Region::new("eu-west-1"), "exampleTable").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:25:51 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 25 | let example_struct = db.get("someId".to_string()).await.expect("This one to exist"); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:40:80 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 40 | let other_struct = other_db.get("someId".to_string(), "someRange".to_string()).await.expect("This one to exist"); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:42:76 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 42 | let multiple_structs = other_db.get_by_partition_key("someId".to_string()).await.expect("This one to exist"); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - (line 114) [INFO] [stdout] src/lib.rs - (line 130) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d98d23b1326c4690701b1ae8cc7ed07d66d2c12e9da258e260a80ca7e1304460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98d23b1326c4690701b1ae8cc7ed07d66d2c12e9da258e260a80ca7e1304460", kill_on_drop: false }` [INFO] [stdout] d98d23b1326c4690701b1ae8cc7ed07d66d2c12e9da258e260a80ca7e1304460