[INFO] fetching crate ltfi-wsap 2.0.2... [INFO] testing ltfi-wsap-2.0.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate ltfi-wsap 2.0.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate ltfi-wsap 2.0.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ltfi-wsap 2.0.2 [INFO] tweaked toml for crates.io crate ltfi-wsap 2.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ltfi-wsap 2.0.2 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] crate crates.io crate ltfi-wsap 2.0.2 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v1.7.1 [INFO] [stderr] Downloaded zmij v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3619788133f30652ec7f2250707e07e7b0e44585b99eaddde9a924d874e2df47 [INFO] running `Command { std: "docker" "start" "-a" "3619788133f30652ec7f2250707e07e7b0e44585b99eaddde9a924d874e2df47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3619788133f30652ec7f2250707e07e7b0e44585b99eaddde9a924d874e2df47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3619788133f30652ec7f2250707e07e7b0e44585b99eaddde9a924d874e2df47", kill_on_drop: false }` [INFO] [stdout] 3619788133f30652ec7f2250707e07e7b0e44585b99eaddde9a924d874e2df47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 81c6c47d866de065df3f829e40c2197df890394e63f9703e63b01f81ce3d0776 [INFO] running `Command { std: "docker" "start" "-a" "81c6c47d866de065df3f829e40c2197df890394e63f9703e63b01f81ce3d0776", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling zmij v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.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 tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [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.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "81c6c47d866de065df3f829e40c2197df890394e63f9703e63b01f81ce3d0776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c6c47d866de065df3f829e40c2197df890394e63f9703e63b01f81ce3d0776", kill_on_drop: false }` [INFO] [stdout] 81c6c47d866de065df3f829e40c2197df890394e63f9703e63b01f81ce3d0776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] abbeb717730671f5b435d6e274200b9c6a8505b974e459c8fd63ba90b5e0469e [INFO] running `Command { std: "docker" "start" "-a" "abbeb717730671f5b435d6e274200b9c6a8505b974e459c8fd63ba90b5e0469e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.112 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling mockito v1.7.1 [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.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [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: `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] 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] 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] 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] [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ltfi-wsap` (example "basic") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/client.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | 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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | 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[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] --> src/client.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | 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] --> src/client.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | 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, 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 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "abbeb717730671f5b435d6e274200b9c6a8505b974e459c8fd63ba90b5e0469e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbeb717730671f5b435d6e274200b9c6a8505b974e459c8fd63ba90b5e0469e", kill_on_drop: false }` [INFO] [stdout] abbeb717730671f5b435d6e274200b9c6a8505b974e459c8fd63ba90b5e0469e