[INFO] fetching crate keygen-rs 0.8.1... [INFO] testing keygen-rs-0.8.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate keygen-rs 0.8.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keygen-rs 0.8.1 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.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" "+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 dotenv v0.15.0 [INFO] [stderr] Downloaded machine-uid v0.5.3 [INFO] [stderr] Downloaded ed25519-dalek v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2803131232ce51d2e56606ba19f1f258e1e814b11ec99fb49cbb58fc05adf75 [INFO] running `Command { std: "docker" "start" "-a" "a2803131232ce51d2e56606ba19f1f258e1e814b11ec99fb49cbb58fc05adf75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2803131232ce51d2e56606ba19f1f258e1e814b11ec99fb49cbb58fc05adf75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2803131232ce51d2e56606ba19f1f258e1e814b11ec99fb49cbb58fc05adf75", kill_on_drop: false }` [INFO] [stdout] a2803131232ce51d2e56606ba19f1f258e1e814b11ec99fb49cbb58fc05adf75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11e41e72cc5c08ebe693cb4b20367a9646300bb446847376774ccb1d7aabf542 [INFO] running `Command { std: "docker" "start" "-a" "11e41e72cc5c08ebe693cb4b20367a9646300bb446847376774ccb1d7aabf542", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling hostname v0.4.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [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] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling mockito v0.31.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling keygen-rs v0.8.1 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.46s [INFO] running `Command { std: "docker" "inspect" "11e41e72cc5c08ebe693cb4b20367a9646300bb446847376774ccb1d7aabf542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e41e72cc5c08ebe693cb4b20367a9646300bb446847376774ccb1d7aabf542", kill_on_drop: false }` [INFO] [stdout] 11e41e72cc5c08ebe693cb4b20367a9646300bb446847376774ccb1d7aabf542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b94503cafcc64c8ccc27b872a6ddebbaeb40cea650ba8c5db90d3678878408f4 [INFO] running `Command { std: "docker" "start" "-a" "b94503cafcc64c8ccc27b872a6ddebbaeb40cea650ba8c5db90d3678878408f4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling machine-uid v0.5.3 [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] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling keygen-rs v0.8.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `webhook` in `keygen_rs` [INFO] [stdout] --> examples/webhook_event/delete_webhook_event.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | webhook::event::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/license/reset_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] 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] 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] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/webhook_event/delete_webhook_event.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/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] Some errors have detailed explanations: E0433, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "delete_webhook_event") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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::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] [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::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 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/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[E0432]: unresolved import `keygen_rs::component::CreateComponentRequest` [INFO] [stdout] --> examples/component/create_component.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | component::{Component, CreateComponentRequest}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `CreateComponentRequest` in `component` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/component.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(feature = "token")] [INFO] [stdout] | ----------------- the item is gated behind the `token` feature [INFO] [stdout] 31 | #[derive(Debug, Clone, Serialize, Deserialize)] [INFO] [stdout] 32 | pub struct CreateComponentRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [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: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] [stderr] error: could not compile `keygen-rs` (example "update_policy") due to 2 previous errors [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/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[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/component/create_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/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] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [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] 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] [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] [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[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. [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 `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] [stderr] error: could not compile `keygen-rs` (example "create_product") due to 2 previous errors [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] [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 `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/reset_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] 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[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] 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: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[E0599]: no function or associated item named `create` found for struct `keygen_rs::component::Component` in the current scope [INFO] [stdout] --> examples/component/create_component.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | match Component::create(request).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_token") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0560. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "create_user") due to 2 previous errors [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/get_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[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. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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] [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] 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] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/user/get_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] 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 "unban_user") due to 2 previous errors [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] [stderr] error: could not compile `keygen-rs` (example "reset_usage") due to 2 previous errors [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] 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: 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 "update_component") due to 3 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 "create_machine") 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 "get_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 "list_components_filters") due to 7 previous errors [INFO] [stderr] error: could not compile `keygen-rs` (example "create_component") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b94503cafcc64c8ccc27b872a6ddebbaeb40cea650ba8c5db90d3678878408f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94503cafcc64c8ccc27b872a6ddebbaeb40cea650ba8c5db90d3678878408f4", kill_on_drop: false }` [INFO] [stdout] b94503cafcc64c8ccc27b872a6ddebbaeb40cea650ba8c5db90d3678878408f4