[INFO] fetching crate ittv_sdk 0.1.4... [INFO] testing ittv_sdk-0.1.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate ittv_sdk 0.1.4 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ittv_sdk 0.1.4 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 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d01088bf3bd1c5cd1687c606e623c207fabc064b9539dbdd6f03d311bb921c9e [INFO] running `Command { std: "docker" "start" "-a" "d01088bf3bd1c5cd1687c606e623c207fabc064b9539dbdd6f03d311bb921c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d01088bf3bd1c5cd1687c606e623c207fabc064b9539dbdd6f03d311bb921c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01088bf3bd1c5cd1687c606e623c207fabc064b9539dbdd6f03d311bb921c9e", kill_on_drop: false }` [INFO] [stdout] d01088bf3bd1c5cd1687c606e623c207fabc064b9539dbdd6f03d311bb921c9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 57fa204e58f2896828d8a0ba84b113816bc3220c089128de817e953959971b72 [INFO] running `Command { std: "docker" "start" "-a" "57fa204e58f2896828d8a0ba84b113816bc3220c089128de817e953959971b72", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling bitflags v2.11.0 [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 tokio-util v0.7.18 [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 h2 v0.3.27 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [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 hyper v0.14.32 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 tokio-native-tls v0.3.1 [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 27.23s [INFO] running `Command { std: "docker" "inspect" "57fa204e58f2896828d8a0ba84b113816bc3220c089128de817e953959971b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fa204e58f2896828d8a0ba84b113816bc3220c089128de817e953959971b72", kill_on_drop: false }` [INFO] [stdout] 57fa204e58f2896828d8a0ba84b113816bc3220c089128de817e953959971b72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 467cefc04760a7a014aec9729b8594bc418a8d882484406d71f46c1cfad60268 [INFO] running `Command { std: "docker" "start" "-a" "467cefc04760a7a014aec9729b8594bc418a8d882484406d71f46c1cfad60268", 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 1.16s [INFO] running `Command { std: "docker" "inspect" "467cefc04760a7a014aec9729b8594bc418a8d882484406d71f46c1cfad60268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467cefc04760a7a014aec9729b8594bc418a8d882484406d71f46c1cfad60268", kill_on_drop: false }` [INFO] [stdout] 467cefc04760a7a014aec9729b8594bc418a8d882484406d71f46c1cfad60268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2868323bdab8a41c8bee683d2f857ad85d4660cd0cbed465f6288e4af1370703 [INFO] running `Command { std: "docker" "start" "-a" "2868323bdab8a41c8bee683d2f857ad85d4660cd0cbed465f6288e4af1370703", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ittv_sdk-4ced2f05b0c12acc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ittv_sdk [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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2868323bdab8a41c8bee683d2f857ad85d4660cd0cbed465f6288e4af1370703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2868323bdab8a41c8bee683d2f857ad85d4660cd0cbed465f6288e4af1370703", kill_on_drop: false }` [INFO] [stdout] 2868323bdab8a41c8bee683d2f857ad85d4660cd0cbed465f6288e4af1370703