[INFO] fetching crate keygen-rs 0.8.1... [INFO] testing keygen-rs-0.8.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate keygen-rs 0.8.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keygen-rs 0.8.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded uuid v1.16.0 [INFO] [stderr] Downloaded hostname v0.4.0 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded winreg v0.52.0 [INFO] [stderr] Downloaded mockito v0.31.1 [INFO] [stderr] Downloaded machine-uid v0.5.3 [INFO] [stderr] Downloaded zerocopy-derive v0.8.23 [INFO] [stderr] Downloaded zerocopy v0.8.23 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 835cc70bdb6b2cc1f47230728a56ebffe4e9ab5368946b873577a1fc22e31dc1 [INFO] running `Command { std: "docker" "start" "-a" "835cc70bdb6b2cc1f47230728a56ebffe4e9ab5368946b873577a1fc22e31dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "835cc70bdb6b2cc1f47230728a56ebffe4e9ab5368946b873577a1fc22e31dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835cc70bdb6b2cc1f47230728a56ebffe4e9ab5368946b873577a1fc22e31dc1", kill_on_drop: false }` [INFO] [stdout] 835cc70bdb6b2cc1f47230728a56ebffe4e9ab5368946b873577a1fc22e31dc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb8f4660c046fcbda5c862d5b85686c20e70fedbc50879b82f348d4d2aa0e6c7 [INFO] running `Command { std: "docker" "start" "-a" "fb8f4660c046fcbda5c862d5b85686c20e70fedbc50879b82f348d4d2aa0e6c7", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling similar v2.7.0 [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 tracing v0.1.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [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 cipher v0.4.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.13.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 serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling serde v1.0.219 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling mockito v0.31.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [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)]` (part of `#[warn(unused)]`) 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 40.83s [INFO] running `Command { std: "docker" "inspect" "fb8f4660c046fcbda5c862d5b85686c20e70fedbc50879b82f348d4d2aa0e6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8f4660c046fcbda5c862d5b85686c20e70fedbc50879b82f348d4d2aa0e6c7", kill_on_drop: false }` [INFO] [stdout] fb8f4660c046fcbda5c862d5b85686c20e70fedbc50879b82f348d4d2aa0e6c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f0c439976d119aac0f4e402cbc73073139423f242a561c1f0e76b0a0bd0da87 [INFO] running `Command { std: "docker" "start" "-a" "0f0c439976d119aac0f4e402cbc73073139423f242a561c1f0e76b0a0bd0da87", 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)]` (part of `#[warn(unused)]`) 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[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/machine/reset_machine.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/delete_license.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Machine` in the current scope [INFO] [stdout] --> examples/machine/reset_machine.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | let machine = Machine::get(&machine_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `License` in the current scope [INFO] [stdout] --> examples/license/delete_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] [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[E0282]: type annotations needed [INFO] [stdout] --> examples/machine/reset_machine.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let machine = Machine::get(&machine_id).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | match machine.reset().await { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `machine` an explicit type [INFO] [stdout] | [INFO] [stdout] 24 | let machine: /* Type */ = Machine::get(&machine_id).await?; [INFO] [stdout] | ++++++++++++ [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] Some errors have detailed explanations: E0282, 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: 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::component::ListComponentsOptions` [INFO] [stdout] --> examples/component/list_components.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::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/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] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/machine/update_machine.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/policy/list_policies.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | println!("Found {} policies:", policies.len()); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/component/list_components.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/license/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] [stderr] error: could not compile `keygen-rs` (example "reset_machine") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `keygen-rs` (example "delete_license") due to 2 previous errors [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[E0282]: type annotations needed [INFO] [stdout] --> examples/webhook_event/list_webhook_events.rs:32:50 [INFO] [stdout] | [INFO] [stdout] 32 | println!("Found {} webhook events:", events.len()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/webhook_event/list_webhook_events.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let preview = if body.len() > 50 { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [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 "create_license") due to 2 previous errors [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Machine` in the current scope [INFO] [stdout] --> examples/machine/update_machine.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let machine = Machine::get(&machine_id).await?; [INFO] [stdout] | ^^^ function or associated item not found in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] error[E0282]: type annotations needed [INFO] [stdout] --> examples/machine/update_machine.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let machine = Machine::get(&machine_id).await?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | match machine.update(request).await { [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `machine` an explicit type [INFO] [stdout] | [INFO] [stdout] 25 | let machine: /* Type */ = Machine::get(&machine_id).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_policies") due to 3 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/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] 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.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | match Component::list(Some(options)).await { [INFO] [stdout] | ^^^^ function or associated item not found in `keygen_rs::component::Component` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/component/list_components.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | println!("Found {} component(s)", components.len()); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `keygen_rs::environment` [INFO] [stdout] --> examples/environment/get_environment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | environment::Environment, [INFO] [stdout] | ^^^^^^^^^^^ could not find `environment` in `keygen_rs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs: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] 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_webhook_events") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_components") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: could not find `webhook` in `keygen_rs` [INFO] [stdout] --> examples/webhook_event/retry_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] [stderr] error: could not compile `keygen-rs` (example "update_machine") due to 3 previous errors [INFO] [stdout] error[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/environment/get_environment.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | token: Some(env::var("KEYGEN_ADMIN_TOKEN").expect("KEYGEN_ADMIN_TOKEN must be set")), [INFO] [stdout] | ^^^^^ `KeygenConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `api_version`, `api_prefix`, `environment`, `user_agent`, `product` ... and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "suspend_license") 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[E0560]: struct `KeygenConfig` has no field named `token` [INFO] [stdout] --> examples/webhook_event/retry_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] [stderr] error: could not compile `keygen-rs` (example "get_environment") due to 2 previous errors [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] 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 "retry_webhook_event") due to 2 previous errors [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[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[E0282]: type annotations needed [INFO] [stdout] --> examples/group/list_groups.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | println!("Found {} groups:", groups.len()); [INFO] [stdout] | ^^^^^^ cannot infer type [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: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[E0282]: type annotations needed [INFO] [stdout] --> examples/group/list_groups.rs:50:55 [INFO] [stdout] | [INFO] [stdout] 50 | println!("Found {} groups (first page):", groups.len()); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keygen-rs` (example "list_groups") due to 6 previous errors [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" "0f0c439976d119aac0f4e402cbc73073139423f242a561c1f0e76b0a0bd0da87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f0c439976d119aac0f4e402cbc73073139423f242a561c1f0e76b0a0bd0da87", kill_on_drop: false }` [INFO] [stdout] 0f0c439976d119aac0f4e402cbc73073139423f242a561c1f0e76b0a0bd0da87