[INFO] fetching crate zino-model 0.41.0... [INFO] checking zino-model-0.41.0 against try#b6bca0d7327839b5e3f7a7779947cb9113d08917+rustflags=-Zstrict-projection-item-bounds for 150662-leaf [INFO] extracting crate zino-model 0.41.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate zino-model 0.41.0 [INFO] finished tweaking crates.io crate zino-model 0.41.0 [INFO] tweaked toml for crates.io crate zino-model 0.41.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zino-model 0.41.0 on toolchain b6bca0d7327839b5e3f7a7779947cb9113d08917 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate zino-model 0.41.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cabffd56f101ade71ed4fcc5bf7cb8e6c4ace030e515fa7f4a89bdbe393e14c [INFO] running `Command { std: "docker" "start" "-a" "3cabffd56f101ade71ed4fcc5bf7cb8e6c4ace030e515fa7f4a89bdbe393e14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cabffd56f101ade71ed4fcc5bf7cb8e6c4ace030e515fa7f4a89bdbe393e14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cabffd56f101ade71ed4fcc5bf7cb8e6c4ace030e515fa7f4a89bdbe393e14c", kill_on_drop: false }` [INFO] [stdout] 3cabffd56f101ade71ed4fcc5bf7cb8e6c4ace030e515fa7f4a89bdbe393e14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Zstrict-projection-item-bounds" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b6bca0d7327839b5e3f7a7779947cb9113d08917" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d772970a0eee6755f741bbfcb2229d3432111a40ed32f5abf057edfe76bfc83 [INFO] running `Command { std: "docker" "start" "-a" "5d772970a0eee6755f741bbfcb2229d3432111a40ed32f5abf057edfe76bfc83", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bigdecimal v0.4.10 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking crc v3.4.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking uuid v1.23.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking rust_decimal v1.40.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling bon-macros v3.9.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking cipher v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Checking cpubits v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Checking aes v0.9.0-rc.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Checking toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling serde_spanned v1.1.0 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking pkcs1 v0.7.5 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Checking cron v0.16.0 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling convert_case v0.11.0 [INFO] [stderr] Checking toml v1.1.0+spec-1.1.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking rsa v0.9.10 [INFO] [stderr] Compiling faster-hex v0.10.0 [INFO] [stderr] Checking aes-keywrap v0.9.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_qs v1.1.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Checking hmac-sha512 v1.1.12 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hmac-sha256 v1.1.14 [INFO] [stderr] Checking ct-codecs v1.1.6 [INFO] [stderr] Checking constant_time_eq v0.4.2 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking blake2b_simd v1.0.4 [INFO] [stderr] Checking ed25519-compact v2.2.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Checking superboring v0.1.7 [INFO] [stderr] Checking coarsetime v0.1.37 [INFO] [stderr] Checking hmac-sha1-compact v1.1.7 [INFO] [stderr] Checking binstring v0.1.7 [INFO] [stderr] Compiling strum_macros v0.28.0 [INFO] [stderr] Checking jwt-simple v0.12.14 [INFO] [stderr] Compiling bon v3.9.1 [INFO] [stderr] Compiling apache-avro v0.21.0 [INFO] [stderr] Checking strum v0.28.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking zino-core v0.43.0 [INFO] [stderr] Checking zino-orm v0.15.0 [INFO] [stderr] Checking zino-auth v0.15.0 [INFO] [stderr] Compiling zino-derive v0.41.0 [INFO] [stderr] Checking zino-model v0.41.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Self: ModelAccessor + ModelHelper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAccessor` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ModelAccessor: Schema [INFO] [stdout] | ------------- required by a bound in this trait [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Self: ModelAccessor + ModelHelper, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `ModelAccessor` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait ModelAccessor: Schema [INFO] [stdout] | ------------- required by a bound in this trait [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if Self::verify_password(passowrd, encrypted_password) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `verify_password` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelHelper::verify_password` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/helper.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn verify_password(password: &str, encrypted_password: &str) -> Result { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if Self::verify_password(passowrd, encrypted_password) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `verify_password` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelHelper::verify_password` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/helper.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn verify_password(password: &str, encrypted_password: &str) -> Result { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:310:37 [INFO] [stdout] | [INFO] [stdout] 310 | let password_verified = Self::verify_password(password, encrypted_password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `verify_password` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelHelper::verify_password` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/helper.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn verify_password(password: &str, encrypted_password: &str) -> Result { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:310:37 [INFO] [stdout] | [INFO] [stdout] 310 | let password_verified = Self::verify_password(password, encrypted_password)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `verify_password` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelHelper::verify_password` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/helper.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn verify_password(password: &str, encrypted_password: &str) -> Result { [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | claims.upsert("updated_at", self.updated_at().timestamp()); [INFO] [stdout] | ^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `updated_at` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor::updated_at` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn updated_at(&self) -> DateTime { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(map) = self.extra() { [INFO] [stdout] | ^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `extra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor::extra` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn extra(&self) -> Option<&Map> { [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | claims.upsert("updated_at", self.updated_at().timestamp()); [INFO] [stdout] | ^^^^^^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `updated_at` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor::updated_at` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn updated_at(&self) -> DateTime { [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `K: PrimaryKey` is not satisfied [INFO] [stdout] --> src/user/jwt_auth.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(map) = self.extra() { [INFO] [stdout] | ^^^^^ the trait `PrimaryKey` is not implemented for `K` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `extra` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/schema.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | type PrimaryKey: PrimaryKey; [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `ModelAccessor::extra` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/zino-orm-0.15.0/src/accessor.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn extra(&self) -> Option<&Map> { [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] help: consider further restricting type parameter `K` with trait `PrimaryKey` [INFO] [stdout] | [INFO] [stdout] 17 | K: Default + Display + FromStr + PartialEq + serde::de::DeserializeOwned + zino_orm::PrimaryKey, [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zino-model` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zino-model` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "5d772970a0eee6755f741bbfcb2229d3432111a40ed32f5abf057edfe76bfc83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d772970a0eee6755f741bbfcb2229d3432111a40ed32f5abf057edfe76bfc83", kill_on_drop: false }` [INFO] [stdout] 5d772970a0eee6755f741bbfcb2229d3432111a40ed32f5abf057edfe76bfc83