[INFO] fetching crate keygen-rs 0.8.1... [INFO] checking keygen-rs-0.8.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate keygen-rs 0.8.1 into /workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keygen-rs 0.8.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockito v0.31.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ea1d712601e49494c97777d7a40a65ba0bae712bc2b69280ad2d2f02aab0b51 [INFO] running `Command { std: "docker" "start" "-a" "5ea1d712601e49494c97777d7a40a65ba0bae712bc2b69280ad2d2f02aab0b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ea1d712601e49494c97777d7a40a65ba0bae712bc2b69280ad2d2f02aab0b51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea1d712601e49494c97777d7a40a65ba0bae712bc2b69280ad2d2f02aab0b51", kill_on_drop: false }` [INFO] [stdout] 5ea1d712601e49494c97777d7a40a65ba0bae712bc2b69280ad2d2f02aab0b51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28ce4cc460a490ecb68fda2b65e972423ef80a90c723a1e26d3e963e80af5a0d [INFO] running `Command { std: "docker" "start" "-a" "28ce4cc460a490ecb68fda2b65e972423ef80a90c723a1e26d3e963e80af5a0d", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.31 [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] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking machine-uid v0.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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 tokio v1.44.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking mockito v0.31.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [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] error[E0433]: failed to resolve: could not find `webhook` in `keygen_rs` [INFO] [stdout] --> examples/webhook_endpoint/delete_webhook_endpoint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | webhook::endpoint::WebhookEndpoint, [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[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[E0432]: unresolved import `keygen_rs::group::ListGroupsOptions` [INFO] [stdout] --> examples/group/list_groups.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | group::{Group, ListGroupsOptions}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `ListGroupsOptions` in `group` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/group.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, Default, Serialize, Deserialize)] [INFO] [stdout] 49 | pub struct ListGroupsOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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[E0432]: unresolved import `keygen_rs::user` [INFO] [stdout] --> examples/user/unban_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:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 35 | pub mod user; [INFO] [stdout] | ^^^^ [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] error[E0433]: failed to resolve: could not find `webhook` in `keygen_rs` [INFO] [stdout] --> examples/webhook_endpoint/get_webhook_endpoint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | webhook::endpoint::WebhookEndpoint, [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/user/unban_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] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/renew_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[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] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/webhook_endpoint/delete_webhook_endpoint.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: E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/group/list_groups.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/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] Some errors have detailed explanations: E0282, E0433, E0560. [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. [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 "delete_webhook_endpoint") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `keygen-rs` (example "list_webhook_events") due to 3 previous errors [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: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] [stderr] error: could not compile `keygen-rs` (example "unban_user") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/webhook_endpoint/get_webhook_endpoint.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/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[E0599]: no function or associated item named `list` found for struct `Group` in the current scope [INFO] [stdout] --> examples/group/list_groups.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | match Group::list(None).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 `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/renew_license.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | 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] [stderr] error: could not compile `keygen-rs` (example "create_product") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [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 `list` found for struct `Group` in the current scope [INFO] [stdout] --> examples/group/list_groups.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | match Group::list(Some(options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `Group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/suspend_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[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: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] 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 "get_webhook_endpoint") 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: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] [stdout] error[E0432]: unresolved import `keygen_rs::user` [INFO] [stdout] --> examples/user/list_users.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:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 35 | pub mod user; [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: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] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/user/list_users.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 "renew_license") 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::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[E0432]: unresolved imports `keygen_rs::user`, `keygen_rs::user` [INFO] [stdout] --> examples/user/create_user.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | user::{self, CreateUserRequest, 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:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 35 | pub mod user; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 35 | pub mod user; [INFO] [stdout] | ^^^^ [INFO] [stdout] [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] error[E0599]: no function or associated item named `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/suspend_license.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | match 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: 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 `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] [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[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] [stderr] error: could not compile `keygen-rs` (example "list_users") due to 2 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/user/create_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 `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] [stderr] error: could not compile `keygen-rs` (example "list_groups") due to 4 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: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] [stderr] error: could not compile `keygen-rs` (example "suspend_license") due to 2 previous errors [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] 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] [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 "list_components_filters") due to 7 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "create_user") 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] 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] running `Command { std: "docker" "inspect" "28ce4cc460a490ecb68fda2b65e972423ef80a90c723a1e26d3e963e80af5a0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28ce4cc460a490ecb68fda2b65e972423ef80a90c723a1e26d3e963e80af5a0d", kill_on_drop: false }` [INFO] [stdout] 28ce4cc460a490ecb68fda2b65e972423ef80a90c723a1e26d3e963e80af5a0d