[INFO] fetching crate product-os-authentication 0.0.7... [INFO] testing product-os-authentication-0.0.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate product-os-authentication 0.0.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate product-os-authentication 0.0.7 [INFO] finished tweaking crates.io crate product-os-authentication 0.0.7 [INFO] tweaked toml for crates.io crate product-os-authentication 0.0.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-authentication 0.0.7 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 351 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] [stderr] Adding openidconnect v2.5.1 (available: v4.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5ff41e27914c84674784b85a4f7059dda89adb1fdbea2f2aad22003f08d419b [INFO] running `Command { std: "docker" "start" "-a" "c5ff41e27914c84674784b85a4f7059dda89adb1fdbea2f2aad22003f08d419b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5ff41e27914c84674784b85a4f7059dda89adb1fdbea2f2aad22003f08d419b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ff41e27914c84674784b85a4f7059dda89adb1fdbea2f2aad22003f08d419b", kill_on_drop: false }` [INFO] [stdout] c5ff41e27914c84674784b85a4f7059dda89adb1fdbea2f2aad22003f08d419b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8b88e9eaf42a3eb0d1d588b6099bb4f49fdd60c03fc964a8b1f1d40f45c4a6f [INFO] running `Command { std: "docker" "start" "-a" "e8b88e9eaf42a3eb0d1d588b6099bb4f49fdd60c03fc964a8b1f1d40f45c4a6f", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling compression-codecs v0.4.32 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling async-compression v0.4.33 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling product-os-http-body v0.0.23 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling fiat-crypto v0.3.0 [INFO] [stderr] Compiling ioslice v0.6.0 [INFO] [stderr] Compiling product-os-async-executor v0.0.17 [INFO] [stderr] Compiling product-os-request v0.0.48 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling jwt-compact v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling product-os-random v0.0.27 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling axum-extra v0.10.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling product-os-urlencoding v0.0.1 [INFO] [stderr] Compiling no-std-net v0.6.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling product-os-net v0.0.1 [INFO] [stderr] Compiling product-os-router v0.0.35 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling serde_with v3.15.1 [INFO] [stderr] Compiling dns-lookup v2.1.1 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling product-os-capabilities v0.0.25 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling product-os-openapi v0.0.4 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling orion v0.17.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling psutil v3.3.0 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling product-os-security v0.0.61 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling product-os-monitoring v0.0.3 [INFO] [stderr] Compiling product-os-utilities v0.0.23 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling product-os-connector v0.0.25 [INFO] [stderr] Compiling cron v0.14.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling product-os-configuration v0.0.38 [INFO] [stderr] Compiling serde_plain v1.0.2 [INFO] [stderr] Compiling machine-uid v0.5.4 [INFO] [stderr] Compiling openidconnect v2.5.1 [INFO] [stderr] Compiling product-os-store-macros v0.0.5 [INFO] [stderr] Compiling product-os-store v0.0.32 [INFO] [stderr] Compiling product-os-command-control v0.0.25 [INFO] [stderr] Compiling product-os-authentication v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] Table name generated: ProductOSAuthProviderTransactions [INFO] [stdout] Field: state [INFO] [stdout] Full type string: String [INFO] [stdout] Base type string: String [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: nonce [INFO] [stdout] Full type string: NonceWrapper [INFO] [stdout] Base type string: NonceWrapper [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "NonceWrapper", span: #0 bytes(2724..2736) }] [INFO] [stdout] Field: provider [INFO] [stdout] Full type string: ProductOSIdentity [INFO] [stdout] Base type string: ProductOSIdentity [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "ProductOSIdentity", span: #0 bytes(2756..2773) }] [INFO] [stdout] Field: verifier [INFO] [stdout] Full type string: PkceCodeVerifierWrapper [INFO] [stdout] Base type string: PkceCodeVerifierWrapper [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "PkceCodeVerifierWrapper", span: #0 bytes(2793..2816) }] [INFO] [stdout] Field: expires [INFO] [stdout] Full type string: DateTime [INFO] [stdout] Base type string: DateTime [INFO] [stdout] Full sub type string: Utc [INFO] [stdout] Base Sub type string: Utc [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Table name generated: ProductOSUsers [INFO] [stdout] Field: user_id [INFO] [stdout] Full type string: Uuid [INFO] [stdout] Base type string: Uuid [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: email [INFO] [stdout] Full type string: String [INFO] [stdout] Base type string: String [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: phone [INFO] [stdout] Full type string: Option [INFO] [stdout] Base type string: Option [INFO] [stdout] Full sub type string: u64 [INFO] [stdout] Base Sub type string: u64 [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: identities [INFO] [stdout] Full type string: HashMap [INFO] [stdout] Base type string: HashMap [INFO] [stdout] Full sub type string: ProductOSIdentityType, String [INFO] [stdout] Base Sub type string: ProductOSIdentityType, String [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "HashMap", span: #0 bytes(4178..4185) }] [INFO] [stdout] Field: identity_tokens [INFO] [stdout] Full type string: HashMap> [INFO] [stdout] Base type string: HashMap [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "HashMap", span: #0 bytes(4239..4246) }] [INFO] [stdout] Field: status [INFO] [stdout] Full type string: ProductOSUserStatus [INFO] [stdout] Base type string: ProductOSUserStatus [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Base field mapping type: TokenStream [Ident { ident: "ProductOSUserStatus", span: #0 bytes(4293..4312) }] [INFO] [stdout] Field: profile [INFO] [stdout] Full type string: serde_json::Value [INFO] [stdout] Base type string: serde_json::Value [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: sessions [INFO] [stdout] Full type string: Vec> [INFO] [stdout] Base type string: Vec [INFO] [stdout] Full sub type string: Vec [INFO] [stdout] Base Sub type string: Vec [INFO] [stdout] Full sub type 2 string: u8 [INFO] [stdout] Base Sub 2 type string: u8 [INFO] [stdout] Field: last_login [INFO] [stdout] Full type string: Option> [INFO] [stdout] Base type string: Option [INFO] [stdout] Full sub type string: DateTime [INFO] [stdout] Base Sub type string: DateTime [INFO] [stdout] Full sub type 2 string: Utc [INFO] [stdout] Base Sub 2 type string: Utc [INFO] [stdout] Field: last_login_failure [INFO] [stdout] Full type string: Option> [INFO] [stdout] Base type string: Option [INFO] [stdout] Full sub type string: DateTime [INFO] [stdout] Base Sub type string: DateTime [INFO] [stdout] Full sub type 2 string: Utc [INFO] [stdout] Base Sub 2 type string: Utc [INFO] [stdout] Field: login_failure_count [INFO] [stdout] Full type string: u8 [INFO] [stdout] Base type string: u8 [INFO] [stdout] Full sub type string: [INFO] [stdout] Base Sub type string: [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: created_at [INFO] [stdout] Full type string: DateTime [INFO] [stdout] Base type string: DateTime [INFO] [stdout] Full sub type string: Utc [INFO] [stdout] Base Sub type string: Utc [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] Field: updated_at [INFO] [stdout] Full type string: DateTime [INFO] [stdout] Base type string: DateTime [INFO] [stdout] Full sub type string: Utc [INFO] [stdout] Base Sub type string: Utc [INFO] [stdout] Full sub type 2 string: [INFO] [stdout] Base Sub 2 type string: [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | use product_os_store::types::bstr::ByteSlice; [INFO] [stdout] | ^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `product_os_store::ProductOSRow` [INFO] [stdout] --> src/lib.rs:31:97 [INFO] [stdout] | [INFO] [stdout] 31 | use product_os_store::{Expression, Fields, ProductOSRelationalObject, ProductOSRelationalStore, ProductOSRow, Value}; [INFO] [stdout] | ^^^^^^^^^^^^ no `ProductOSRow` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:20 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationalRow` in this scope [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use product_os_store::RelationalRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::NaiveDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::DateTime; [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RelationalRow` in this scope [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 + use product_os_store::RelationalRow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::NaiveDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `product_os_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `types` in `product_os_store` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:94:43 [INFO] [stdout] | [INFO] [stdout] 92 | #[cfg(feature = "sql_relational_store")] [INFO] [stdout] | -------------------------------- the item is gated behind the `sql_relational_store` feature [INFO] [stdout] 93 | pub use sqlx::{ [INFO] [stdout] 94 | Row as ProductOSRow, FromRow, types, [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 6 + use crate::DateTime; [INFO] [stdout] | [INFO] [stdout] 6 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postgres_relational_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `authentication_layer`, `chrono`, `core_authentication`, `default`, `futures`, `issue_token`, `openidconnect`, `parking_lot`, `product-os-capabilities`, `product-os-command-control`, `product-os-configuration`, `product-os-request`, `product-os-router`, `product-os-security`, `product-os-store`, `product-os-store-macros`, `serde`, `serde_json`, `tokio`, `tracing`, `url`, and `uuid` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ProductOSRelational` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ProductOSRelational` may come from an old version of the `product_os_store_macros` crate, try updating your dependency with `cargo update -p product_os_store_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite_relational_store` [INFO] [stdout] --> src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `authentication_layer`, `chrono`, `core_authentication`, `default`, `futures`, `issue_token`, `openidconnect`, `parking_lot`, `product-os-capabilities`, `product-os-command-control`, `product-os-configuration`, `product-os-request`, `product-os-router`, `product-os-security`, `product-os-store`, `product-os-store-macros`, `serde`, `serde_json`, `tokio`, `tracing`, `url`, and `uuid` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ProductOSRelational` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ProductOSRelational` may come from an old version of the `product_os_store_macros` crate, try updating your dependency with `cargo update -p product_os_store_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `postgres_relational_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `authentication_layer`, `chrono`, `core_authentication`, `default`, `futures`, `issue_token`, `openidconnect`, `parking_lot`, `product-os-capabilities`, `product-os-command-control`, `product-os-configuration`, `product-os-request`, `product-os-router`, `product-os-security`, `product-os-store`, `product-os-store-macros`, `serde`, `serde_json`, `tokio`, `tracing`, `url`, and `uuid` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ProductOSRelational` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ProductOSRelational` may come from an old version of the `product_os_store_macros` crate, try updating your dependency with `cargo update -p product_os_store_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sqlite_relational_store` [INFO] [stdout] --> src/lib.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, ProductOSRelational)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `authentication_layer`, `chrono`, `core_authentication`, `default`, `futures`, `issue_token`, `openidconnect`, `parking_lot`, `product-os-capabilities`, `product-os-command-control`, `product-os-configuration`, `product-os-request`, `product-os-router`, `product-os-security`, `product-os-store`, `product-os-store-macros`, `serde`, `serde_json`, `tokio`, `tracing`, `url`, and `uuid` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ProductOSRelational` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ProductOSRelational` may come from an old version of the `product_os_store_macros` crate, try updating your dependency with `cargo update -p product_os_store_macros` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ProductOSRelational` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:151:61 [INFO] [stdout] | [INFO] [stdout] 151 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 151 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:182:61 [INFO] [stdout] | [INFO] [stdout] 182 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 182 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:212:63 [INFO] [stdout] | [INFO] [stdout] 212 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 212 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:242:67 [INFO] [stdout] | [INFO] [stdout] 242 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 242 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:272:67 [INFO] [stdout] | [INFO] [stdout] 272 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 272 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:308:61 [INFO] [stdout] | [INFO] [stdout] 308 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 308 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:339:60 [INFO] [stdout] | [INFO] [stdout] 339 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 339 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:371:61 [INFO] [stdout] | [INFO] [stdout] 371 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 371 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:404:62 [INFO] [stdout] | [INFO] [stdout] 404 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 404 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/auth_handler.rs:435:67 [INFO] [stdout] | [INFO] [stdout] 435 | ... Json(payload): Json) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 435 | Json(payload): Json) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:1861:67 [INFO] [stdout] | [INFO] [stdout] 1861 | async fn request(&self, request: Request, _: String) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1861 | async fn request(&self, request: Request, _: String) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:1895:81 [INFO] [stdout] | [INFO] [stdout] 1895 | async fn request_mut(&mut self, request: Request, version: String) -> Response { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1895 | async fn request_mut(&mut self, request: Request, version: String) -> Response { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/middleware.rs:67:46 [INFO] [stdout] | [INFO] [stdout] 67 | S: Service, Response = Response> + Send + 'static, [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 67 | S: Service, Response = Response> + Send + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProductOSResponse` [INFO] [stdout] --> src/middleware.rs:134:153 [INFO] [stdout] | [INFO] [stdout] 134 | ...c>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `DRes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-request-0.0.48/src/lib.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct ProductOSResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 134 | async fn perform_authentication_request(headers: HeaderMap, allowed_scopes: Option, command_control: Arc>) -> Result, String> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `request` has 3 parameters but the declaration in trait `product_os_capabilities::Feature::request` has 4 [INFO] [stdout] --> src/lib.rs:1861:22 [INFO] [stdout] | [INFO] [stdout] 1861 | async fn request(&self, request: Request, _: String) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `request` from trait: `fn(&'life0 Self, &'life1 What, &'life2 std::option::Option, &'life3 str) -> Pin> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0050]: method `request_mut` has 3 parameters but the declaration in trait `request_mut` has 4 [INFO] [stdout] --> src/lib.rs:1895:26 [INFO] [stdout] | [INFO] [stdout] 1895 | async fn request_mut(&mut self, request: Request, version: String) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 parameters, found 3 [INFO] [stdout] | [INFO] [stdout] = note: `request_mut` from trait: `fn(&'life0 mut Self, &'life1 What, &'life2 std::option::Option, &'life3 str) -> Pin> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProductOSResponse` [INFO] [stdout] --> src/lib.rs:1901:47 [INFO] [stdout] | [INFO] [stdout] 1901 | async fn process_authenticate_token(response: ProductOSResponse) -> Result, ProductOSAuthError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `DRes` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-request-0.0.48/src/lib.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct ProductOSResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1901 | async fn process_authenticate_token(response: ProductOSResponse) -> Result, ProductOSAuthError> { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:449:100 [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn create_user(&self, _: HashMap, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 449 | pub async fn create_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:511:102 [INFO] [stdout] | [INFO] [stdout] 511 | pub async fn activate_user(&self, _: HashMap, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 511 | pub async fn activate_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:565:110 [INFO] [stdout] | [INFO] [stdout] 565 | ..., String>, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 565 | pub async fn authenticate_user(&self, query: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:780:111 [INFO] [stdout] | [INFO] [stdout] 780 | ..., String>, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 780 | pub async fn authenticate_user_init(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:864:115 [INFO] [stdout] | [INFO] [stdout] 864 | ..., String>, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 864 | pub async fn verify_user_authentication(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:951:99 [INFO] [stdout] | [INFO] [stdout] 951 | pub async fn block_user(&self, _: HashMap, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 951 | pub async fn block_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:997:101 [INFO] [stdout] | [INFO] [stdout] 997 | pub async fn unblock_user(&self, _: HashMap, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 997 | pub async fn unblock_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:1043:108 [INFO] [stdout] | [INFO] [stdout] 1043 | ... String>, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1043 | pub async fn update_profile_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:1099:100 [INFO] [stdout] | [INFO] [stdout] 1099 | pub async fn remove_user(&self, _: HashMap, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1099 | pub async fn remove_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `product_os_request::Response` [INFO] [stdout] --> src/lib.rs:1145:108 [INFO] [stdout] | [INFO] [stdout] 1145 | ... String>, body: serde_json::Value) -> Result { [INFO] [stdout] | ^^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-1.3.1/src/response.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1145 | pub async fn deauthenticate_user(&self, _: HashMap, body: serde_json::Value) -> Result, ProductOSRouterError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `ProductOSResponse` [INFO] [stdout] --> src/lib.rs:1804:67 [INFO] [stdout] | [INFO] [stdout] 1804 | async fn process_client_credentials_response(&self, response: ProductOSResponse, mut user: ProductOSUser) -> Result /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-request-0.0.48/src/lib.rs:398:12 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct ProductOSResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 1804 | async fn process_client_credentials_response(&self, response: ProductOSResponse, mut user: ProductOSUser) -> Result { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/relational_store.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | match store.create(ProductOSUser::default().relational_create( [INFO] [stdout] | _________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 11 | | None, [INFO] [stdout] 12 | | Some(vec!( [INFO] [stdout] 13 | | Action::DoNothingIfExists [INFO] [stdout] 14 | | )), None)).await { [INFO] [stdout] | |_________________^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:757:18 [INFO] [stdout] | [INFO] [stdout] 757 | pub async fn create(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 10 | match store.create(&ProductOSUser::default().relational_create( [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/relational_store.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | match store.create(ProductOSAuthProviderTransaction::default().relational_create( [INFO] [stdout] | _________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 20 | | None, [INFO] [stdout] 21 | | Some(vec!( [INFO] [stdout] 22 | | Action::DoNothingIfExists [INFO] [stdout] 23 | | )), None)).await { [INFO] [stdout] | |_________________^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:757:18 [INFO] [stdout] | [INFO] [stdout] 757 | pub async fn create(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 19 | match store.create(&ProductOSAuthProviderTransaction::default().relational_create( [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 152 - match authentication.downcast_ref::() { [INFO] [stdout] 152 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | match auth.create_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:183:26 [INFO] [stdout] | [INFO] [stdout] 183 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 183 - match authentication.downcast_ref::() { [INFO] [stdout] 183 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:185:19 [INFO] [stdout] | [INFO] [stdout] 185 | match auth.activate_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:213:26 [INFO] [stdout] | [INFO] [stdout] 213 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 213 - match authentication.downcast_ref::() { [INFO] [stdout] 213 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:215:19 [INFO] [stdout] | [INFO] [stdout] 215 | match auth.authenticate_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 243 - match authentication.downcast_ref::() { [INFO] [stdout] 243 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | match auth.authenticate_user_init(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 273 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 273 - match authentication.downcast_ref::() { [INFO] [stdout] 273 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | match auth.verify_user_authentication(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:309:26 [INFO] [stdout] | [INFO] [stdout] 309 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 309 - match authentication.downcast_ref::() { [INFO] [stdout] 309 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:311:19 [INFO] [stdout] | [INFO] [stdout] 311 | match auth.block_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:340:26 [INFO] [stdout] | [INFO] [stdout] 340 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 340 - match authentication.downcast_ref::() { [INFO] [stdout] 340 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:342:19 [INFO] [stdout] | [INFO] [stdout] 342 | match auth.unblock_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:372:26 [INFO] [stdout] | [INFO] [stdout] 372 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 372 - match authentication.downcast_ref::() { [INFO] [stdout] 372 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:374:19 [INFO] [stdout] | [INFO] [stdout] 374 | match auth.update_profile_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:405:26 [INFO] [stdout] | [INFO] [stdout] 405 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 405 - match authentication.downcast_ref::() { [INFO] [stdout] 405 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:407:19 [INFO] [stdout] | [INFO] [stdout] 407 | match auth.remove_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `downcast_ref` found for struct `Arc` in the current scope [INFO] [stdout] --> src/auth_handler.rs:436:26 [INFO] [stdout] | [INFO] [stdout] 436 | match authentication.downcast_ref::() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_ref` with a similar name [INFO] [stdout] | [INFO] [stdout] 436 - match authentication.downcast_ref::() { [INFO] [stdout] 436 + match authentication.as_ref::() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/auth_handler.rs:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | match auth.deauthenticate_user(params, payload).await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this method are incorrect [INFO] [stdout] --> src/middleware.rs:159:58 [INFO] [stdout] | [INFO] [stdout] 159 | ...ller.find_feature_and_prepare_ask("Authentication".to_string(), "/authentication/user/authenticate/verify".to_string(), Some(dat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------- ------------------------------------------------------ expected `&str`, found `String` [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found `String` [INFO] [stdout] | [INFO] [stdout] note: expected `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] --> src/middleware.rs:159:185 [INFO] [stdout] | [INFO] [stdout] 159 | ...ation/user/authenticate/verify".to_string(), Some(data), HashMap::new(), HashMap::new(), Method::POST) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: expected `BTreeMap`, found `HashMap<_, _>` [INFO] [stdout] --> src/middleware.rs:159:201 [INFO] [stdout] | [INFO] [stdout] 159 | ...nticate/verify".to_string(), Some(data), HashMap::new(), HashMap::new(), Method::POST) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: expected struct `BTreeMap` [INFO] [stdout] found struct `HashMap<_, _>` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-command-control-0.0.25/src/lib.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn find_feature_and_prepare_ask(&self, feature: &str, path: &str, data: Option, headers: BTreeMap` cannot be built from an iterator over elements of type `(std::string::String, serde_json::Value)` [INFO] [stdout] --> src/lib.rs:602:48 [INFO] [stdout] | [INFO] [stdout] 602 | ... }).collect(); [INFO] [stdout] | ^^^^^^^ value of type `std::option::Option<_>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<(std::string::String, serde_json::Value)>` is not implemented for `std::option::Option<_>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:2577:0 [INFO] [stdout] = help: for that trait implementation, expected `std::option::Option<_>`, found `(std::string::String, serde_json::Value)` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/lib.rs:600:111 [INFO] [stdout] | [INFO] [stdout] 600 | ... let profile = user.profile.as_object().unwrap().to_owned().iter().map(|(key, value)| { [INFO] [stdout] | _____________________________________------------_________________________________------_^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Iterator::Item` is `(&String, &Value)` here [INFO] [stdout] | | this expression has type `Value` [INFO] [stdout] 601 | | ... return (key.to_owned(), value.to_owned()); [INFO] [stdout] 602 | | ... }).collect(); [INFO] [stdout] | |________________________^ `Iterator::Item` changed to `(String, Value)` here [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> src/lib.rs:607:70 [INFO] [stdout] | [INFO] [stdout] 607 | ...or.jwt_auth(user_id, Some(self.audience.to_owned()), Some(Utc::now().add(Duration::minutes(i64::from(self.token_lifetime)))), profile, self.client_secret.as_bytes(), None, None); [INFO] [stdout] | ^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `&[u8]`, found `std::option::Option<_>` [INFO] [stdout] | | expected `std::option::Option`, found `&[u8]` [INFO] [stdout] | argument #8 of type `&mut std::option::Option<_>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-security-0.0.61/src/lib.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn jwt_auth<'a, T: TokenClaims<'a, T> + Serialize>(&mut self, subject: String, audience: Option, until: Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:614:70 [INFO] [stdout] | [INFO] [stdout] 614 | ... "id_token": "{id_token}" [INFO] [stdout] | ^^^^^^^^^^ `Result<(std::string::String, std::string::String), JWTError>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result<(std::string::String, std::string::String), JWTError>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_str_lossy` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:618:89 [INFO] [stdout] | [INFO] [stdout] 618 | ... let access_token = token.to_owned().to_str_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::option::Option<_>` cannot be built from an iterator over elements of type `(std::string::String, serde_json::Value)` [INFO] [stdout] --> src/lib.rs:670:48 [INFO] [stdout] | [INFO] [stdout] 670 | ... }).collect(); [INFO] [stdout] | ^^^^^^^ value of type `std::option::Option<_>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<(std::string::String, serde_json::Value)>` is not implemented for `std::option::Option<_>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:2577:0 [INFO] [stdout] = help: for that trait implementation, expected `std::option::Option<_>`, found `(std::string::String, serde_json::Value)` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/lib.rs:668:111 [INFO] [stdout] | [INFO] [stdout] 668 | ... let profile = user.profile.as_object().unwrap().to_owned().iter().map(|(key, value)| { [INFO] [stdout] | _____________________________________------------_________________________________------_^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Iterator::Item` is `(&String, &Value)` here [INFO] [stdout] | | this expression has type `Value` [INFO] [stdout] 669 | | ... return (key.to_owned(), value.to_owned()); [INFO] [stdout] 670 | | ... }).collect(); [INFO] [stdout] | |________________________^ `Iterator::Item` changed to `(String, Value)` here [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> src/lib.rs:675:70 [INFO] [stdout] | [INFO] [stdout] 675 | ...or.jwt_auth(user_id, Some(self.audience.to_owned()), Some(Utc::now().add(Duration::minutes(i64::from(self.token_lifetime)))), profile, self.client_secret.as_bytes(), None, None); [INFO] [stdout] | ^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `&[u8]`, found `std::option::Option<_>` [INFO] [stdout] | | expected `std::option::Option`, found `&[u8]` [INFO] [stdout] | argument #8 of type `&mut std::option::Option<_>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-security-0.0.61/src/lib.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn jwt_auth<'a, T: TokenClaims<'a, T> + Serialize>(&mut self, subject: String, audience: Option, until: Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:682:70 [INFO] [stdout] | [INFO] [stdout] 682 | ... "id_token": "{id_token}" [INFO] [stdout] | ^^^^^^^^^^ `Result<(std::string::String, std::string::String), JWTError>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result<(std::string::String, std::string::String), JWTError>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_str_lossy` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:686:89 [INFO] [stdout] | [INFO] [stdout] 686 | ... let access_token = token.to_owned().to_str_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `std::option::Option<_>` cannot be built from an iterator over elements of type `(std::string::String, serde_json::Value)` [INFO] [stdout] --> src/lib.rs:728:48 [INFO] [stdout] | [INFO] [stdout] 728 | ... }).collect(); [INFO] [stdout] | ^^^^^^^ value of type `std::option::Option<_>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<(std::string::String, serde_json::Value)>` is not implemented for `std::option::Option<_>` [INFO] [stdout] but trait `FromIterator>` is implemented for it [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/option.rs:2577:0 [INFO] [stdout] = help: for that trait implementation, expected `std::option::Option<_>`, found `(std::string::String, serde_json::Value)` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/lib.rs:726:111 [INFO] [stdout] | [INFO] [stdout] 726 | ... let profile = user.profile.as_object().unwrap().to_owned().iter().map(|(key, value)| { [INFO] [stdout] | _____________________________________------------_________________________________------_^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `Iterator::Item` is `(&String, &Value)` here [INFO] [stdout] | | this expression has type `Value` [INFO] [stdout] 727 | | ... return (key.to_owned(), value.to_owned()); [INFO] [stdout] 728 | | ... }).collect(); [INFO] [stdout] | |________________________^ `Iterator::Item` changed to `(String, Value)` here [INFO] [stdout] note: required by a bound in `std::iter::Iterator::collect` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> src/lib.rs:733:70 [INFO] [stdout] | [INFO] [stdout] 733 | ...or.jwt_auth(user_id, Some(self.audience.to_owned()), Some(Utc::now().add(Duration::minutes(i64::from(self.token_lifetime)))), profile, self.client_secret.as_bytes(), None, None); [INFO] [stdout] | ^^^^^^^^---------------------------------------------------------------------------------------------------------------------------------------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `&[u8]`, found `std::option::Option<_>` [INFO] [stdout] | | expected `std::option::Option`, found `&[u8]` [INFO] [stdout] | argument #8 of type `&mut std::option::Option<_>` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-security-0.0.61/src/lib.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn jwt_auth<'a, T: TokenClaims<'a, T> + Serialize>(&mut self, subject: String, audience: Option, until: Option` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:740:70 [INFO] [stdout] | [INFO] [stdout] 740 | ... "id_token": "{id_token}" [INFO] [stdout] | ^^^^^^^^^^ `Result<(std::string::String, std::string::String), JWTError>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Result<(std::string::String, std::string::String), JWTError>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_str_lossy` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:744:89 [INFO] [stdout] | [INFO] [stdout] 744 | ... let access_token = token.to_owned().to_str_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_random_string` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, RandomGenerator>` in the current scope [INFO] [stdout] --> src/lib.rs:1207:42 [INFO] [stdout] | [INFO] [stdout] 1207 | let activation_token = generator.get_random_string(32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `get_random_usize` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-random-0.0.27/src/lib.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1004 | fn get_random_usize(&mut self, min: usize, max: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `RandomGeneratorTemplate` which provides `get_random_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use product_os_security::RandomGeneratorTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1219:44 [INFO] [stdout] | [INFO] [stdout] 1219 | match self.relational_store.insert(user.relational_insert()).await { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:790:18 [INFO] [stdout] | [INFO] [stdout] 790 | pub async fn insert(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1219 | match self.relational_store.insert(&user.relational_insert()).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1226:62 [INFO] [stdout] | [INFO] [stdout] 1226 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1226 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1236:72 [INFO] [stdout] | [INFO] [stdout] 1236 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1236 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1254:62 [INFO] [stdout] | [INFO] [stdout] 1254 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("user_id".to_string(), user_id.to_string())))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1254 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("user_id".to_string(), user_id.to_string())))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1266:62 [INFO] [stdout] | [INFO] [stdout] 1266 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1266 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1333:62 [INFO] [stdout] | [INFO] [stdout] 1333 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email.clone())))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1333 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email.clone())))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_random_string` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, RandomGenerator>` in the current scope [INFO] [stdout] --> src/lib.rs:1343:58 [INFO] [stdout] | [INFO] [stdout] 1343 | let activation_token = generator.get_random_string(32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `get_random_usize` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-random-0.0.27/src/lib.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1004 | fn get_random_usize(&mut self, min: usize, max: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `RandomGeneratorTemplate` which provides `get_random_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use product_os_security::RandomGeneratorTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1349:60 [INFO] [stdout] | [INFO] [stdout] 1349 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1349 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1361:62 [INFO] [stdout] | [INFO] [stdout] 1361 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1361 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email)))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_str_lossy` found for struct `Vec` in the current scope [INFO] [stdout] --> src/lib.rs:1370:62 [INFO] [stdout] | [INFO] [stdout] 1370 | ... let stored_token = token.to_str_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1372:76 [INFO] [stdout] | [INFO] [stdout] 1372 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1372 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1534:52 [INFO] [stdout] | [INFO] [stdout] 1534 | match self.relational_store.insert(ProductOSAuthProviderTransaction { [INFO] [stdout] | _____________________________________________------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this method are incorrect [INFO] [stdout] 1535 | | state: state.secret().to_string(), [INFO] [stdout] 1536 | | nonce: NonceWrapper { nonce }, [INFO] [stdout] 1537 | | provider, [INFO] [stdout] 1538 | | verifier: PkceCodeVerifierWrapper { verifier: pkce_verifier }, [INFO] [stdout] 1539 | | expires: Utc::now().add(Duration::minutes(30)) [INFO] [stdout] 1540 | | }.relational_insert()).await { [INFO] [stdout] | |_____________________________________^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:790:18 [INFO] [stdout] | [INFO] [stdout] 790 | pub async fn insert(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1534 | match self.relational_store.insert(&ProductOSAuthProviderTransaction { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1550:81 [INFO] [stdout] | [INFO] [stdout] 1550 | ...re.get_one::(ProductOSAuthProviderTransaction::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("state".to_string(), state)))).a... [INFO] [stdout] | ------------------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1550 | match self.relational_store.get_one::(&ProductOSAuthProviderTransaction::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("state".to_string(), state)))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1577:118 [INFO] [stdout] | [INFO] [stdout] 1577 | ...re.get_one::(ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email.to_string())))).a... [INFO] [stdout] | ------------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Query`, found `Query` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:685:18 [INFO] [stdout] | [INFO] [stdout] 685 | pub async fn get_one(&self, query: &Query) -> Result, ProductOSStoreError> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1577 | match self.relational_store.get_one::(&ProductOSUser::relational_query_basic(product_os_store::Fields::All, Some(product_os_store::Expression::EqualTo("email".to_string(), email.to_string())))).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1585:116 [INFO] [stdout] | [INFO] [stdout] 1585 | ...al_store.update(user.relational_update(Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1585 | match self.relational_store.update(&user.relational_update(Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_random_string` found for struct `parking_lot::lock_api::MutexGuard<'_, parking_lot::RawMutex, RandomGenerator>` in the current scope [INFO] [stdout] --> src/lib.rs:1599:114 [INFO] [stdout] | [INFO] [stdout] 1599 | ... let activation_token = generator.get_random_string(32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `get_random_usize` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-random-0.0.27/src/lib.rs:1004:5 [INFO] [stdout] | [INFO] [stdout] 1004 | fn get_random_usize(&mut self, min: usize, max: usize) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `RandomGeneratorTemplate` which provides `get_random_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use product_os_security::RandomGeneratorTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1609:116 [INFO] [stdout] | [INFO] [stdout] 1609 | ... match self.relational_store.insert(user.relational_insert()).await { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:790:18 [INFO] [stdout] | [INFO] [stdout] 790 | pub async fn insert(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1609 | match self.relational_store.insert(&user.relational_insert()).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1649:44 [INFO] [stdout] | [INFO] [stdout] 1649 | match self.relational_store.update(instruction).await { [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1649 | match self.relational_store.update(&instruction).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1659:44 [INFO] [stdout] | [INFO] [stdout] 1659 | match self.relational_store.update(instruction).await { [INFO] [stdout] | ------ ^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1659 | match self.relational_store.update(&instruction).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1690:76 [INFO] [stdout] | [INFO] [stdout] 1690 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1690 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1702:68 [INFO] [stdout] | [INFO] [stdout] 1702 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1702 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1752:44 [INFO] [stdout] | [INFO] [stdout] 1752 | ..._store.delete(ProductOSUser::relational_delete(Expression::EqualTo("user_id".to_string(), user_id.to_string()), None)).await { [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:823:18 [INFO] [stdout] | [INFO] [stdout] 823 | pub async fn delete(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1752 | match self.relational_store.delete(&ProductOSUser::relational_delete(Expression::EqualTo("user_id".to_string(), user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1807:23 [INFO] [stdout] | [INFO] [stdout] 1807 | match result.as_object() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1810:31 [INFO] [stdout] | [INFO] [stdout] 1810 | match token_data.get("access_token") { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1813:39 [INFO] [stdout] | [INFO] [stdout] 1813 | ... match token_value.as_str() { [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1816:60 [INFO] [stdout] | [INFO] [stdout] 1816 | ... user.sessions.push(token.as_bytes().to_vec()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1818:76 [INFO] [stdout] | [INFO] [stdout] 1818 | ...re.update(user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).a... [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&Instruction`, found `Instruction` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-store-0.0.32/src/lib.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 801 | pub async fn update(&self, instruction: &Instruction) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1818 | match self.relational_store.update(&user.relational_update(product_os_store::Expression::EqualTo("user_id".to_string(), user.user_id.to_string()), None)).await { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1904:19 [INFO] [stdout] | [INFO] [stdout] 1904 | match result.as_object() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1909:24 [INFO] [stdout] | [INFO] [stdout] 1909 | if token_data.get("sub").is_some() && token_data.get("scope").is_some() { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | let status = res.status(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/middleware.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let msg = res.text().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/lib.rs:408:52 [INFO] [stdout] | [INFO] [stdout] 408 | let random_generator = Arc::new(Mutex::new(product_os_security::RandomGenerator::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- argument #1 of type `std::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-random-0.0.27/src/lib.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub fn new(gen: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 408 | let random_generator = Arc::new(Mutex::new(product_os_security::RandomGenerator::new(/* std::option::Option */))); [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:414:49 [INFO] [stdout] | [INFO] [stdout] 414 | ...rc::new(Mutex::new(product_os_security::JWTGenerator::new(app_id.clone(), i64::from(token_lifetime), audience.clone(), 16))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `usize`, found `i64` [INFO] [stdout] | two arguments of type `std::option::Option` and `std::option::Option chrono::DateTime>` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-security-0.0.61/src/lib.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn new(gen: Option, func: Option chrono::DateTime>, issuer: String, default_un... [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 414 - let jwt_generator = Arc::new(Mutex::new(product_os_security::JWTGenerator::new(app_id.clone(), i64::from(token_lifetime), audience.clone(), 16))); [INFO] [stdout] 414 + let jwt_generator = Arc::new(Mutex::new(product_os_security::JWTGenerator::new(/* std::option::Option */, /* std::option::Option chrono::DateTime> */, audience.clone(), 16, app_id.clone(), /* usize */))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:1884:16 [INFO] [stdout] | [INFO] [stdout] 1884 | else { Err(ProductOSRouterError::Query("Not implemented".to_string())) } [INFO] [stdout] | ^^^ cannot infer type of the type parameter `T` declared on the enum `Result` [INFO] [stdout] ... [INFO] [stdout] 1887 | Ok(response) => response.into_response(), [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 1884 | else { Err::(ProductOSRouterError::Query("Not implemented".to_string())) } [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:1896:14 [INFO] [stdout] | [INFO] [stdout] 1896 | self.request(request, version).await [INFO] [stdout] | ^^^^^^^------------------ argument #3 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: expected `&What`, found `Request` [INFO] [stdout] --> src/lib.rs:1896:22 [INFO] [stdout] | [INFO] [stdout] 1896 | self.request(request, version).await [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected reference `&What` [INFO] [stdout] found struct `product_os_request::Request` [INFO] [stdout] note: expected `&Option`, found `String` [INFO] [stdout] --> src/lib.rs:1896:31 [INFO] [stdout] | [INFO] [stdout] 1896 | self.request(request, version).await [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: expected reference `&std::option::Option` [INFO] [stdout] found struct `std::string::String` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/product-os-capabilities-0.0.25/src/lib.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 238 | async fn request(&self, action: &What, input: &Option, semver: &str) -> Response; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 1896 - self.request(request, version).await [INFO] [stdout] 1896 + self.request(/* &What */, /* &std::option::Option */, /* &str */).await [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `feature` [INFO] [stdout] --> src/lib.rs:1857:34 [INFO] [stdout] | [INFO] [stdout] 1857 | async fn register_mut(&self, feature: Arc>, base_path: String, router: &mut product_os_router::ProductOSRou... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_feature` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_path` [INFO] [stdout] --> src/lib.rs:1857:68 [INFO] [stdout] | [INFO] [stdout] 1857 | ...>, base_path: String, router: &mut product_os_router::ProductOSRouter) -> RegistryFeature { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `router` [INFO] [stdout] --> src/lib.rs:1857:87 [INFO] [stdout] | [INFO] [stdout] 1857 | ...re>>, base_path: String, router: &mut product_os_router::ProductOSRouter) -> RegistryFeature { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_router` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0050, E0061, E0107, E0277, E0282, E0308, E0412, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0050`. [INFO] [stdout] [INFO] [stderr] error: could not compile `product-os-authentication` (lib) due to 111 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e8b88e9eaf42a3eb0d1d588b6099bb4f49fdd60c03fc964a8b1f1d40f45c4a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8b88e9eaf42a3eb0d1d588b6099bb4f49fdd60c03fc964a8b1f1d40f45c4a6f", kill_on_drop: false }` [INFO] [stdout] e8b88e9eaf42a3eb0d1d588b6099bb4f49fdd60c03fc964a8b1f1d40f45c4a6f