[INFO] fetching crate ittv_sdk 0.1.4... [INFO] testing ittv_sdk-0.1.4 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ittv_sdk 0.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate ittv_sdk 0.1.4 [INFO] finished tweaking crates.io crate ittv_sdk 0.1.4 [INFO] tweaked toml for crates.io crate ittv_sdk 0.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ittv_sdk 0.1.4 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] Updating crates.io index [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 331afc5f4a1f393858f63a23e887670ab1331f1fa69f68b25a5ab1154002c5a3 [INFO] running `Command { std: "docker" "start" "-a" "331afc5f4a1f393858f63a23e887670ab1331f1fa69f68b25a5ab1154002c5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "331afc5f4a1f393858f63a23e887670ab1331f1fa69f68b25a5ab1154002c5a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331afc5f4a1f393858f63a23e887670ab1331f1fa69f68b25a5ab1154002c5a3", kill_on_drop: false }` [INFO] [stdout] 331afc5f4a1f393858f63a23e887670ab1331f1fa69f68b25a5ab1154002c5a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8197a6d7a414dd31e98cbf1002aba0e4318d561e33a9c04d030319277c0919d3 [INFO] running `Command { std: "docker" "start" "-a" "8197a6d7a414dd31e98cbf1002aba0e4318d561e33a9c04d030319277c0919d3", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ittv_sdk v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.95s [INFO] running `Command { std: "docker" "inspect" "8197a6d7a414dd31e98cbf1002aba0e4318d561e33a9c04d030319277c0919d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8197a6d7a414dd31e98cbf1002aba0e4318d561e33a9c04d030319277c0919d3", kill_on_drop: false }` [INFO] [stdout] 8197a6d7a414dd31e98cbf1002aba0e4318d561e33a9c04d030319277c0919d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 42cf6b3a92af4de3d47c99964d110c89baa8a7e3c0ecb74538a51f6e09245060 [INFO] running `Command { std: "docker" "start" "-a" "42cf6b3a92af4de3d47c99964d110c89baa8a7e3c0ecb74538a51f6e09245060", kill_on_drop: false }` [INFO] [stderr] Compiling ittv_sdk v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "42cf6b3a92af4de3d47c99964d110c89baa8a7e3c0ecb74538a51f6e09245060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cf6b3a92af4de3d47c99964d110c89baa8a7e3c0ecb74538a51f6e09245060", kill_on_drop: false }` [INFO] [stdout] 42cf6b3a92af4de3d47c99964d110c89baa8a7e3c0ecb74538a51f6e09245060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9e19efd4646b981b636a44a6d44a96969dd672e85f734882cee06b2a8a7b6311 [INFO] running `Command { std: "docker" "start" "-a" "9e19efd4646b981b636a44a6d44a96969dd672e85f734882cee06b2a8a7b6311", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ittv_sdk-4ced2f05b0c12acc) [INFO] [stdout] [INFO] [stderr] Doc-tests ittv_sdk [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 5 tests [INFO] [stdout] test src/customer/update_password.rs - customer::update_password::Client::update_customer_password (line 22) - compile ... FAILED [INFO] [stdout] test src/customer/update_status.rs - customer::update_status::Client::update_customer_status (line 19) - compile ... FAILED [INFO] [stdout] test src/customer/create.rs - customer::create::Client::create_customer (line 56) - compile ... FAILED [INFO] [stdout] test src/customer/update_product.rs - customer::update_product::Client::update_customer_product (line 23) - compile ... FAILED [INFO] [stdout] test src/customer/update.rs - customer::update::Client::update_customer (line 29) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/customer/update_password.rs - customer::update_password::Client::update_customer_password (line 22) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/customer/update_password.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::Error` doesn't implement `Debug` [INFO] [stdout] --> src/customer/update_password.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | .unwrap(); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `ittv_sdk::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1227:4 [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/customer/update_password.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | 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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/customer/update_status.rs - customer::update_status::Client::update_customer_status (line 19) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/customer/update_status.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::Error` doesn't implement `Debug` [INFO] [stdout] --> src/customer/update_status.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .unwrap(); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `ittv_sdk::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1227:4 [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/customer/update_status.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | 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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/customer/create.rs - customer::create::Client::create_customer (line 56) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/customer/create.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `address`, `city`, `complement` and 10 other fields in initializer of `NewCustomer<'_>` [INFO] [stdout] --> src/customer/create.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | let customer = NewCustomer { [INFO] [stdout] | ^^^^^^^^^^^ missing `address`, `city`, `complement` and 10 other fields [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::Error` doesn't implement `Debug` [INFO] [stdout] --> src/customer/create.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | .unwrap(); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `ittv_sdk::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1227:4 [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::customer::create::Customer` doesn't implement `Debug` [INFO] [stdout] --> src/customer/create.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | println!("{:?}", response); [INFO] [stdout] | ---- ^^^^^^^^ `ittv_sdk::customer::create::Customer` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `ittv_sdk::customer::create::Customer` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/customer/create.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/customer/update_product.rs - customer::update_product::Client::update_customer_product (line 23) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/customer/update_product.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::Error` doesn't implement `Debug` [INFO] [stdout] --> src/customer/update_product.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | .unwrap(); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `ittv_sdk::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1227:4 [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/customer/update_product.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | 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: E0277, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/customer/update.rs - customer::update::Client::update_customer (line 29) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/customer/update.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `username` in initializer of `UpdateCustomer<'_>` [INFO] [stdout] --> src/customer/update.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let customer = UpdateCustomer { [INFO] [stdout] | ^^^^^^^^^^^^^^ missing `username` [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/customer/update.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | .update_customer(customer) [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------- argument #1 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/customer/update.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn update_customer( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 43 | .update_customer(/* &str */, customer) [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: `ittv_sdk::Error` doesn't implement `Debug` [INFO] [stdout] --> src/customer/update.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | .unwrap(); [INFO] [stdout] | ^^^^^^ the trait `Debug` is not implemented for `ittv_sdk::Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Result::::unwrap` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/result.rs:1227:4 [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/customer/update.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/customer/update.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | email: "new@email.com", [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `Option<&str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 38 | email: Some("new@email.com"), [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/customer/create.rs - customer::create::Client::create_customer (line 56) [INFO] [stdout] src/customer/update.rs - customer::update::Client::update_customer (line 29) [INFO] [stdout] src/customer/update_password.rs - customer::update_password::Client::update_customer_password (line 22) [INFO] [stdout] src/customer/update_product.rs - customer::update_product::Client::update_customer_product (line 23) [INFO] [stdout] src/customer/update_status.rs - customer::update_status::Client::update_customer_status (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9e19efd4646b981b636a44a6d44a96969dd672e85f734882cee06b2a8a7b6311", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e19efd4646b981b636a44a6d44a96969dd672e85f734882cee06b2a8a7b6311", kill_on_drop: false }` [INFO] [stdout] 9e19efd4646b981b636a44a6d44a96969dd672e85f734882cee06b2a8a7b6311