[INFO] fetching crate keygen-rs 0.7.5... [INFO] checking keygen-rs-0.7.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate keygen-rs 0.7.5 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate keygen-rs 0.7.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate keygen-rs 0.7.5 [INFO] tweaked toml for crates.io crate keygen-rs 0.7.5 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keygen-rs 0.7.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate keygen-rs 0.7.5 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v0.31.1 [INFO] [stderr] Downloaded machine-uid v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8bbdafe7e8bc27c9334a94a83eb4c99d9b7986a25a34df20581910107b860c [INFO] running `Command { std: "docker" "start" "-a" "df8bbdafe7e8bc27c9334a94a83eb4c99d9b7986a25a34df20581910107b860c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8bbdafe7e8bc27c9334a94a83eb4c99d9b7986a25a34df20581910107b860c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8bbdafe7e8bc27c9334a94a83eb4c99d9b7986a25a34df20581910107b860c", kill_on_drop: false }` [INFO] [stdout] df8bbdafe7e8bc27c9334a94a83eb4c99d9b7986a25a34df20581910107b860c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c86b6dc2d5aeb93b0feb2ad1a465277262425b8cd066cbbb0ccaa6b08d38ea3 [INFO] running `Command { std: "docker" "start" "-a" "6c86b6dc2d5aeb93b0feb2ad1a465277262425b8cd066cbbb0ccaa6b08d38ea3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking machine-uid v0.5.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking mockito v0.31.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking keygen-rs v0.7.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::TimeZone` [INFO] [stdout] --> src/license.rs:1121:9 [INFO] [stdout] | [INFO] [stdout] 1121 | use chrono::TimeZone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CreateComponentRequest` [INFO] [stdout] --> src/component.rs:486:23 [INFO] [stdout] | [INFO] [stdout] 486 | let request = CreateComponentRequest::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CreateComponentRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UpdateComponentRequest` [INFO] [stdout] --> src/component.rs:504:23 [INFO] [stdout] | [INFO] [stdout] 504 | let request = UpdateComponentRequest::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UpdateComponentRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListComponentsOptions` [INFO] [stdout] --> src/component.rs:514:23 [INFO] [stdout] | [INFO] [stdout] 514 | let options = ListComponentsOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ListComponentsOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentResponse` is never constructed [INFO] [stdout] --> src/component.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct ComponentResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ComponentsResponse` is never constructed [INFO] [stdout] --> src/component.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) struct ComponentsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/component.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | impl Component { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 98 | pub(crate) fn from(data: KeygenResponseData) -> Component { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntitlementResponse` is never constructed [INFO] [stdout] --> src/entitlement.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct EntitlementResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupResponse` is never constructed [INFO] [stdout] --> src/group.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) struct GroupResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GroupsResponse` is never constructed [INFO] [stdout] --> src/group.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct GroupsResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/group.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 103 | impl Group { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 104 | pub(crate) fn from(data: KeygenResponseData) -> Group { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::product` [INFO] [stdout] --> examples/product/create_product.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | product::{CreateProductRequest, DistributionStrategy, Platform, Product}, [INFO] [stdout] | ^^^^^^^ could not find `product` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 28 | pub mod product; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/product/create_product.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/machine/update_machine.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/decrement_usage.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some( [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::user` [INFO] [stdout] --> examples/user/ban_user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | user, [INFO] [stdout] | ^^^^ no `user` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 32 | pub mod user; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/user/ban_user.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "create_product") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/decrement_usage.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | let license = License::get(&license_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/machine/create_machine.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/list_licenses.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::component::ListComponentsOptions` [INFO] [stdout] --> examples/component/list_components_filters.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | component::{Component, ListComponentsOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `ListComponentsOptions` in `component` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/component.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 40 | #[derive(Debug, Clone, Default, Serialize, Deserialize)] [INFO] [stdout] 41 | pub struct ListComponentsOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/component/list_components_filters.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/list_licenses_pagination.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | token: Some(token), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::group::UpdateGroupRequest` [INFO] [stdout] --> examples/group/update_group.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | group::{Group, UpdateGroupRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `UpdateGroupRequest` in `group` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/group.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 58 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 59 | pub struct UpdateGroupRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Machine` in the current scope [INFO] [stdout] --> examples/machine/update_machine.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let machine = Machine::get(&machine_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/list_components_filters.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | match Component::list(Some(basic_options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "ban_user") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/list_components_filters.rs:42:26 [INFO] [stdout] | [INFO] [stdout] 42 | match Component::list(Some(machine_options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "decrement_usage") due to 2 previous errors [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::environment` [INFO] [stdout] --> examples/environment/get_environment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | environment::Environment, [INFO] [stdout] | ^^^^^^^^^^^ could not find `environment` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 24 | pub mod environment; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/group/update_group.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/list_components_filters.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | match Component::list(Some(license_options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "update_machine") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `Machine` in the current scope [INFO] [stdout] --> examples/machine/create_machine.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | match Machine::create(request).await { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/revoke_license.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/list_licenses.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | match License::list(None).await { [INFO] [stdout] | ^^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/environment/get_environment.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::product` [INFO] [stdout] --> examples/product/list_products.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | product::Product, [INFO] [stdout] | ^^^^^^^ could not find `product` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 28 | pub mod product; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/list_components_filters.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 72 | match Component::list(Some(product_options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_licenses") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/product/list_products.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::group::CreateGroupRequest` [INFO] [stdout] --> examples/group/create_group.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | group::{CreateGroupRequest, Group}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `CreateGroupRequest` in `group` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/group.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 35 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 36 | pub struct CreateGroupRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/list_components_filters.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | match Component::list(Some(options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "create_machine") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/group/create_group.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `keygen_rs::user`, `keygen_rs::user` [INFO] [stdout] --> examples/user/update_user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | user::{self, UpdateUserRequest, UserRole}, [INFO] [stdout] | ^^^^ ^^^^ no `user` in the root [INFO] [stdout] | | [INFO] [stdout] | could not find `user` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 32 | pub mod user; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 32 | pub mod user; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "get_environment") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_components_filters") due to 7 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/user/update_user.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/list_licenses_pagination.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | match License::list(None).await { [INFO] [stdout] | ^^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Group` in the current scope [INFO] [stdout] --> examples/group/update_group.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let group = match Group::get(&group_id).await { [INFO] [stdout] | ^^^ function or associated item not found in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `Group` in the current scope [INFO] [stdout] --> examples/group/create_group.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | match Group::create(request).await { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_products") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "update_user") due to 2 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "create_group") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/revoke_license.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | let license = License::get(&license_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/list_licenses_pagination.rs:60:20 [INFO] [stdout] | [INFO] [stdout] 60 | match License::list(Some(&options_with_limit)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "update_group") due to 3 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/list_licenses_pagination.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | match License::list(Some(&options_with_page)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `License` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "revoke_license") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0560`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_licenses_pagination") due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6c86b6dc2d5aeb93b0feb2ad1a465277262425b8cd066cbbb0ccaa6b08d38ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c86b6dc2d5aeb93b0feb2ad1a465277262425b8cd066cbbb0ccaa6b08d38ea3", kill_on_drop: false }` [INFO] [stdout] 6c86b6dc2d5aeb93b0feb2ad1a465277262425b8cd066cbbb0ccaa6b08d38ea3