[INFO] fetching crate ltfi-wsap 2.0.0... [INFO] testing ltfi-wsap-2.0.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ltfi-wsap 2.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate ltfi-wsap 2.0.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ltfi-wsap 2.0.0 [INFO] tweaked toml for crates.io crate ltfi-wsap 2.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ltfi-wsap 2.0.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ltfi-wsap 2.0.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 114cdf0a1df02a22f2dc3e3db1a728b732ad2b3b8e71ca42c9508c84ef3e4c2b [INFO] running `Command { std: "docker" "start" "-a" "114cdf0a1df02a22f2dc3e3db1a728b732ad2b3b8e71ca42c9508c84ef3e4c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "114cdf0a1df02a22f2dc3e3db1a728b732ad2b3b8e71ca42c9508c84ef3e4c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114cdf0a1df02a22f2dc3e3db1a728b732ad2b3b8e71ca42c9508c84ef3e4c2b", kill_on_drop: false }` [INFO] [stdout] 114cdf0a1df02a22f2dc3e3db1a728b732ad2b3b8e71ca42c9508c84ef3e4c2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ac05469addb656fbabe927f4969a27591c423b8fbbabda437a717e73b850d59 [INFO] running `Command { std: "docker" "start" "-a" "2ac05469addb656fbabe927f4969a27591c423b8fbbabda437a717e73b850d59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.3.27 [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 ltfi-wsap v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.96s [INFO] running `Command { std: "docker" "inspect" "2ac05469addb656fbabe927f4969a27591c423b8fbbabda437a717e73b850d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac05469addb656fbabe927f4969a27591c423b8fbbabda437a717e73b850d59", kill_on_drop: false }` [INFO] [stdout] 2ac05469addb656fbabe927f4969a27591c423b8fbbabda437a717e73b850d59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d15f479a75708a2283a45446dc4c2f7d2dfa5536bb6b45a22761ba0d50d76479 [INFO] running `Command { std: "docker" "start" "-a" "d15f479a75708a2283a45446dc4c2f7d2dfa5536bb6b45a22761ba0d50d76479", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ltfi-wsap v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DisclosureLevel` [INFO] [stdout] --> examples/verification.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use ltfi_wsap::{Client, DisclosureLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ltfi_wsap::WSAPError`, `ltfi_wsap::models` [INFO] [stdout] --> tests/client_test.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use ltfi_wsap::{Client, WSAPError, models::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ could not find `models` in `ltfi_wsap` [INFO] [stdout] | | [INFO] [stdout] | no `WSAPError` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config` and `ListParams` [INFO] [stdout] --> examples/basic.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use ltfi_wsap::{Client, Config, ListParams}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> examples/basic.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mock` [INFO] [stdout] --> tests/client_test.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use mockito::{Server, Mock}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `EntityType` doesn't implement `std::fmt::Display` [INFO] [stdout] --> examples/basic.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | println!("- {} ({}): {}", entity.display_name, entity.entity_type, entity.slug); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^ `EntityType` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `EntityType` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ltfi-wsap` (example "basic") due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let client = Client::new("test-api-key", None); [INFO] [stdout] | ^^^^^^^^^^^ -------------- ---- unexpected argument #2 of type `Option<_>` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 7 - let client = Client::new("test-api-key", None); [INFO] [stdout] 7 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `api_key` on type `Result` [INFO] [stdout] --> tests/client_test.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(client.api_key, "test-api-key"); [INFO] [stdout] | ^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `base_url` on type `Result` [INFO] [stdout] --> tests/client_test.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(client.base_url, "https://api.ltfi.ai"); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let client = Client::new("test-api-key", Some("https://custom.api.com".to_string())); [INFO] [stdout] | ^^^^^^^^^^^ -------------- ------------------------------------------ unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 14 - let client = Client::new("test-api-key", Some("https://custom.api.com".to_string())); [INFO] [stdout] 14 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `base_url` on type `Result` [INFO] [stdout] --> tests/client_test.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(client.base_url, "https://custom.api.com"); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 52 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 52 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `list_entities` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let result = client.list_entities(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `list_entities` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn list_entities(&self, params: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 53 | let result = client.expect("REASON").list_entities(None).await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let result = client.list_entities(None).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 91 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 91 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_entity` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 92 | let entity = client.get_entity("test-company-123").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `get_entity` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn get_entity(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 92 | let entity = client.expect("REASON").get_entity("test-company-123").await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let entity = client.get_entity("test-company-123").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 110 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 110 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_entity` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | let result = client.get_entity("nonexistent").await; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `get_entity` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub async fn get_entity(&self, id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 111 | let result = client.expect("REASON").get_entity("nonexistent").await; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:147:18 [INFO] [stdout] | [INFO] [stdout] 147 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 147 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 147 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_entity` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | let entity = client.create_entity(create_request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `create_entity` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn create_entity(&self, request: &CreateEntityRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 156 | let entity = client.expect("REASON").create_entity(create_request).await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let entity = client.create_entity(create_request).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 188 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 188 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `initiate_verification` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | let result = client.initiate_verification("example.com").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `initiate_verification` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub async fn initiate_verification(&self, domain: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 189 | let result = client.expect("REASON").initiate_verification("example.com").await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let result = client.initiate_verification("example.com").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 213 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 213 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify_domain` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:214:25 [INFO] [stdout] | [INFO] [stdout] 214 | let result = client.verify_domain("example.com").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `verify_domain` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub async fn verify_domain(&self, domain: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 214 | let result = client.expect("REASON").verify_domain("example.com").await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | let result = client.verify_domain("example.com").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ -------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 242 - let client = Client::new("test-api-key", Some(base_url)); [INFO] [stdout] 242 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_wsap` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | let result = client.generate_wsap("test-company-123", DisclosureLevel::Standard).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `generate_wsap` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | pub async fn generate_wsap(&self, entity_id: &str, level: DisclosureLevel) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 243 | let result = client.expect("REASON").generate_wsap("test-company-123", DisclosureLevel::Standard).await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/client_test.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | let result = client.generate_wsap("test-company-123", DisclosureLevel::Standard).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> tests/client_test.rs:261:18 [INFO] [stdout] | [INFO] [stdout] 261 | let client = Client::new("invalid-api-key", Some(base_url)); [INFO] [stdout] | ^^^^^^^^^^^ ----------------- -------------- unexpected argument #2 of type `Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Config`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(config: Config) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 261 - let client = Client::new("invalid-api-key", Some(base_url)); [INFO] [stdout] 261 + let client = Client::new(/* Config */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `list_entities` found for enum `Result` in the current scope [INFO] [stdout] --> tests/client_test.rs:262:25 [INFO] [stdout] | [INFO] [stdout] 262 | let result = client.list_entities(None).await; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `list_entities` exists on the type `Client` [INFO] [stdout] --> /opt/rustwide/workdir/src/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn list_entities(&self, params: Option) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Client` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 262 | let result = client.expect("REASON").list_entities(None).await; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0282, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ltfi-wsap` (test "client_test") due to 28 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d15f479a75708a2283a45446dc4c2f7d2dfa5536bb6b45a22761ba0d50d76479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d15f479a75708a2283a45446dc4c2f7d2dfa5536bb6b45a22761ba0d50d76479", kill_on_drop: false }` [INFO] [stdout] d15f479a75708a2283a45446dc4c2f7d2dfa5536bb6b45a22761ba0d50d76479