You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I encountered an error in the last step, i.e. "cargo pgrx install":
Compiling linfa-logistic v0.7.0 (/home/wx/qp/tp/investigate/pgml/postgresml/pgml-extension/deps/linfa/algorithms/linfa-logistic)
error[E0277]:Trait binding argmin_param::ArgminParam<F, Dim<[usize;1]>>: serde::ser::Serialize not satisfied
--> deps/linfa/algorithms/linfa-logistic/src/lib.rs:830:19
|
830 | type Solver = LBFGSType1;
| ^^^^^^^^^^^^^ The "serde::ser::Serialize" feature of `argmin_param::ArgminParam<F, Dim<[usize;1]>> is not implemented.
However, When I execute 'cargo build' in the 'deps/linfa/algorithms/linfa-logistic' directory it does not report an error. I'm not familiar with rust, so I'm looking for help!
The following is the environment:
The result of the 'hostnamectl' is as follows
Static hostname: ubuntu
Icon name: computer-desktop
Chassis: desktop
Machine ID: eba2af7b0f294eaf8ae445e52c99168e
Boot ID: feaef101a092456ba57d852ef201caaf
OS: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.0-156 Linux 5.4.0-156-generic
Architecture: x86-64
rust version: rustc 1.76.0-nightly (6a6287132 2023-12-17)
Cargo version: cargo 1.76.0-nightly (1aa9df1a5 2023-12-12)
The commitid of the postgresml used: b29606c
Thanks.
The text was updated successfully, but these errors were encountered:
Hi.
I encountered an error in the last step, i.e. "cargo pgrx install":
Compiling linfa-logistic v0.7.0 (/home/wx/qp/tp/investigate/pgml/postgresml/pgml-extension/deps/linfa/algorithms/linfa-logistic)
error[E0277]:Trait binding
argmin_param::ArgminParam<F, Dim<[usize;1]>>: serde::ser::Serialize
not satisfied--> deps/linfa/algorithms/linfa-logistic/src/lib.rs:830:19
|
830 | type Solver = LBFGSType1;
| ^^^^^^^^^^^^^ The "serde::ser::Serialize" feature of `argmin_param::ArgminParam<F, Dim<[usize;1]>> is not implemented.
However, When I execute 'cargo build' in the 'deps/linfa/algorithms/linfa-logistic' directory it does not report an error. I'm not familiar with rust, so I'm looking for help!
The following is the environment:
The result of the 'hostnamectl' is as follows
Static hostname: ubuntu
Icon name: computer-desktop
Chassis: desktop
Machine ID: eba2af7b0f294eaf8ae445e52c99168e
Boot ID: feaef101a092456ba57d852ef201caaf
OS: Ubuntu 20.04.6 LTS
Kernel: Linux 5.4.0-156 Linux 5.4.0-156-generic
Architecture: x86-64
rust version: rustc 1.76.0-nightly (6a6287132 2023-12-17)
Cargo version: cargo 1.76.0-nightly (1aa9df1a5 2023-12-12)
The commitid of the postgresml used: b29606c
Thanks.
The text was updated successfully, but these errors were encountered: