[INFO] fetching crate keygen-rs 0.8.1... [INFO] checking keygen-rs-0.8.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate keygen-rs 0.8.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate keygen-rs 0.8.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate keygen-rs 0.8.1 [INFO] tweaked toml for crates.io crate keygen-rs 0.8.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate keygen-rs 0.8.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate keygen-rs 0.8.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1f72d78e2d76f2b547f7df76f18ef1819488df13c5bb232ca70c640a961d7b4 [INFO] running `Command { std: "docker" "start" "-a" "f1f72d78e2d76f2b547f7df76f18ef1819488df13c5bb232ca70c640a961d7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1f72d78e2d76f2b547f7df76f18ef1819488df13c5bb232ca70c640a961d7b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1f72d78e2d76f2b547f7df76f18ef1819488df13c5bb232ca70c640a961d7b4", kill_on_drop: false }` [INFO] [stdout] f1f72d78e2d76f2b547f7df76f18ef1819488df13c5bb232ca70c640a961d7b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ccac25c9c7aa0557d780085c6cb7785058bc65ef69d932bfa391ae563882b0a [INFO] running `Command { std: "docker" "start" "-a" "6ccac25c9c7aa0557d780085c6cb7785058bc65ef69d932bfa391ae563882b0a", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking machine-uid v0.5.3 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking mockito v0.31.1 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-rustls v0.24.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.8.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::TimeZone` [INFO] [stdout] --> src/license.rs:1208:9 [INFO] [stdout] | [INFO] [stdout] 1208 | use chrono::TimeZone; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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: 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: 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: 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] error[E0432]: unresolved import `keygen_rs::entitlement::UpdateEntitlementRequest` [INFO] [stdout] --> examples/entitlement/update_entitlement.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | entitlement::{Entitlement, UpdateEntitlementRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `UpdateEntitlementRequest` in `entitlement` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/entitlement.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 48 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 49 | pub struct UpdateEntitlementRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::policy` [INFO] [stdout] --> examples/policy/list_policies.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | policy::Policy, [INFO] [stdout] | ^^^^^^ could not find `policy` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 29 | pub mod policy; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/entitlement/update_entitlement.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[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[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/create_license.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `get` found for struct `Entitlement` in the current scope [INFO] [stdout] --> examples/entitlement/update_entitlement.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let entitlement = Entitlement::get(&entitlement_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `Entitlement` [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] note: if you're trying to build a new `License`, consider using `License::from_key` which returns `License` [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn from_key(key: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] note: if you're trying to build a new `License`, consider using `License::from_key` which returns `License` [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn from_key(key: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: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] note: if you're trying to build a new `License`, consider using `License::from_key` which returns `License` [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn from_key(key: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `create` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/create_license.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | match License::create(request).await { [INFO] [stdout] | ^^^^^^ function or associated item not found in `License` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `License`, consider using `License::from_key` which returns `License` [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn from_key(key: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_licenses_pagination") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/policy/list_policies.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] 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[E0432]: unresolved import `keygen_rs::policy` [INFO] [stdout] --> examples/policy/update_policy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | policy::{AuthenticationStrategy, ExpirationStrategy, Policy, UpdatePolicyRequest}, [INFO] [stdout] | ^^^^^^ could not find `policy` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 29 | pub mod policy; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::entitlement::CreateEntitlementRequest` [INFO] [stdout] --> examples/entitlement/create_entitlement.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | entitlement::{CreateEntitlementRequest, Entitlement}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `CreateEntitlementRequest` in `entitlement` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/entitlement.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 30 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 31 | pub struct CreateEntitlementRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "create_license") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/policy/update_policy.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::environment` [INFO] [stdout] --> examples/environment/environment_lifecycle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | 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:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 27 | pub mod environment; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/entitlement/create_entitlement.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] 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_entitlement") due to 3 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/environment/environment_lifecycle.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | 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 "update_policy") 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] error[E0432]: unresolved import `keygen_rs::product` [INFO] [stdout] --> examples/product/update_product.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | product::{DistributionStrategy, Platform, Product, UpdateProductRequest}, [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:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 31 | pub mod product; [INFO] [stdout] | ^^^^^^^ [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[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/component/get_component.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[E0433]: failed to resolve: could not find `webhook` in `keygen_rs` [INFO] [stdout] --> examples/webhook_event/list_webhook_events.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | webhook::event::{WebhookEventListOptions, WebhookEventRecord}, [INFO] [stdout] | ^^^^^^^ could not find `webhook` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 37 | pub mod webhook; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/entitlement/list_entitlements.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[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/product/update_product.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::UpdateComponentRequest` [INFO] [stdout] --> examples/component/update_component.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | component::{Component, UpdateComponentRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `UpdateComponentRequest` in `component` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/component.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 56 | #[derive(Debug, Clone, Serialize, Deserialize, Default)] [INFO] [stdout] 57 | pub struct UpdateComponentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/component/update_component.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/webhook_event/list_webhook_events.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] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create` found for struct `Entitlement` in the current scope [INFO] [stdout] --> examples/entitlement/create_entitlement.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | match Entitlement::create(request).await { [INFO] [stdout] | ^^^^^^ function or associated item not found in `Entitlement` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_policies") 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] error[E0599]: no function or associated item named `get` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/get_component.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | match Component::get(&component_id).await { [INFO] [stdout] | ^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/webhook_event/list_webhook_events.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | let preview = if body.len() > 50 { [INFO] [stdout] | ^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "update_product") due to 2 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "environment_lifecycle") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `list` found for struct `Entitlement` in the current scope [INFO] [stdout] --> examples/entitlement/list_entitlements.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | match Entitlement::list(None).await { [INFO] [stdout] | ^^^^ function or associated item not found in `Entitlement` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_webhook_events") due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, 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 E0282`. [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] [stdout] For more information about an error, try `rustc --explain E0560`. [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] note: if you're trying to build a new `License`, consider using `License::from_key` which returns `License` [INFO] [stdout] --> /opt/rustwide/workdir/src/license.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | pub fn from_key(key: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 `get` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/update_component.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let component = match Component::get(&component_id).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 "revoke_license") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/entitlement/delete_entitlement.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | 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[E0432]: unresolved import `keygen_rs::token` [INFO] [stdout] --> examples/token/revoke_token.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | token::Token, [INFO] [stdout] | ^^^^^ could not find `token` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 33 | pub mod token; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_entitlements") 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] [stderr] error: could not compile `keygen-rs` (example "update_component") due to 3 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/token/revoke_token.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 `get` found for struct `Entitlement` in the current scope [INFO] [stdout] --> examples/entitlement/delete_entitlement.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let entitlement = Entitlement::get(&entitlement_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `Entitlement` [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 "get_component") 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 "revoke_token") due to 2 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "delete_entitlement") due to 2 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "create_entitlement") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "6ccac25c9c7aa0557d780085c6cb7785058bc65ef69d932bfa391ae563882b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ccac25c9c7aa0557d780085c6cb7785058bc65ef69d932bfa391ae563882b0a", kill_on_drop: false }` [INFO] [stdout] 6ccac25c9c7aa0557d780085c6cb7785058bc65ef69d932bfa391ae563882b0a