Skip to content

Merge pull request #338 from alphaville/feature/337-codegen-sphere2 #359

Merge pull request #338 from alphaville/feature/337-codegen-sphere2

Merge pull request #338 from alphaville/feature/337-codegen-sphere2 #359

Triggered via push March 20, 2024 13:06
Status Success
Total duration 19m 52s
Artifacts

ci.yml

on: push
Matrix: ci
Matrix: ci_macos
Fit to window
Zoom out
Zoom in

Annotations

78 warnings
this expression creates a reference which is immediately dereferenced by the compiler: src/constraints/sphere2.rs#L41
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/constraints/sphere2.rs:41:35 | 41 | x.copy_from_slice(&center); | ^^^^^^^ help: change this to: `center` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
this function has too many arguments (9/7): src/alm/alm_problem.rs#L135
warning: this function has too many arguments (9/7) --> src/alm/alm_problem.rs:135:5 | 135 | / pub fn new( 136 | | constraints: ConstraintsType, 137 | | alm_set_c: Option<AlmSetC>, 138 | | alm_set_y: Option<LagrangeSetY>, ... | 144 | | n2: usize, 145 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
this function has too many arguments (8/7): src/alm/alm_factory.rs#L158
warning: this function has too many arguments (8/7) --> src/alm/alm_factory.rs:158:5 | 158 | / pub fn new( 159 | | f: Cost, 160 | | df: CostGradient, 161 | | mapping_f1: Option<MappingF1>, ... | 166 | | n2: usize, 167 | | ) -> Self { | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments = note: `#[warn(clippy::too_many_arguments)]` on by default
ci (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci (ubuntu-latest): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-latest)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-latest)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci (ubuntu-latest): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-latest)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-latest)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-latest): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-latest): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-latest)
`only_f1` (lib) generated 2 warnings
ci (ubuntu-latest): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-latest): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-latest)
`only_f2` (lib) generated 2 warnings (2 duplicates)
ci (ubuntu-latest): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-latest): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-latest)
`parametric_f2` (lib) generated 2 warnings (2 duplicates)
ci (ubuntu-latest): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-latest): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-latest)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-latest)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci_macos (macos-11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci_macos (macos-11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci_macos (macos-11): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci_macos (macos-11): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci_macos (macos-11)
`only_f1` (lib) generated 2 warnings
ci_macos (macos-11): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci_macos (macos-11): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci_macos (macos-11)
`only_f2` (lib) generated 2 warnings
ci_macos (macos-11): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci_macos (macos-11): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci_macos (macos-11)
`parametric_f2` (lib test) generated 2 warnings (2 duplicates)
ci_macos (macos-11): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci_macos (macos-11): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci_macos (macos-11)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci_macos (macos-11)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci_macos (macos-11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci_macos (macos-11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci_macos (macos-11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci_macos (macos-11)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci_macos (macos-11): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci_macos (macos-11)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci_macos (macos-11)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci_macos (macos-11): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci_macos (macos-11)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci_macos (macos-11)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ci (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ci (ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-20.04)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci (ubuntu-20.04): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-20.04): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-20.04)
`only_f1` (lib test) generated 2 warnings (1 duplicate)
ci (ubuntu-20.04): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-20.04): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-20.04)
`only_f2` (lib) generated 2 warnings
ci (ubuntu-20.04): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-20.04): src/lib.rs#L184
casting raw pointers to the same type and constness is unnecessary (`*const f64` -> `*const f64`)
ci (ubuntu-20.04)
`parametric_f2` (lib test) generated 2 warnings (1 duplicate)
ci (ubuntu-20.04): src/lib.rs#L178
casting raw pointers to the same type and constness is unnecessary (`*mut f64` -> `*mut f64`)
ci (ubuntu-20.04): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-20.04)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-20.04)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci (ubuntu-20.04): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-20.04)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-20.04)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3
ci (ubuntu-20.04): src/constraints/tests.rs#L2
unused import: `modcholesky::ModCholeskySE99`
ci (ubuntu-20.04)
`optimization_engine` (lib test) generated 1 warning (run `cargo fix --lib -p optimization_engine --tests` to apply 1 suggestion)
ci (ubuntu-20.04)
the following packages contain code that will be rejected by a future version of Rust: cexpr v0.3.6, nom v4.2.3