Skip to content

Refactor cli to use clap’s derive. #2750

Refactor cli to use clap’s derive.

Refactor cli to use clap’s derive. #2750

Triggered via pull request July 25, 2024 10:31
@partimpartim
synchronize #1228
update-clap
Status Failure
Total duration 4m 3s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: pykmip-test
Matrix: softhsm2-test
Fit to window
Zoom out
Zoom in

Annotations

46 errors and 34 warnings
build (ubuntu-latest, stable, --features all): src/cli/options/config.rs#L91
single-character string constant used as pattern
build (ubuntu-latest, stable, --features all): src/cli/options/pubserver.rs#L37
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L165
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L168
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L169
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L170
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L171
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L172
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, stable, --features all): src/cli/options/mod.rs#L173
useless conversion to the same type: `cli::report::Report`
build (ubuntu-latest, 1.74.0, --no-default-features)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, beta)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, 1.74.0, --no-default-features)
The operation was canceled.
build (ubuntu-latest, beta)
The operation was canceled.
build (ubuntu-latest, stable)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, stable)
The operation was canceled.
build (ubuntu-latest, 1.74.0, --features all)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, 1.74.0, --features all)
The operation was canceled.
build (ubuntu-latest, 1.74.0)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, 1.74.0)
The operation was canceled.
build (ubuntu-latest, beta, --features all)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, beta, --features all)
The operation was canceled.
build (ubuntu-latest, beta, --no-default-features)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, beta, --no-default-features)
The operation was canceled.
build (ubuntu-latest, stable, --no-default-features)
The job was canceled because "ubuntu-latest_stable_--fe" failed.
build (ubuntu-latest, stable, --no-default-features)
The operation was canceled.
pykmip-test (stable, hsm,hsm-tests-kmip)
Process completed with exit code 101.
softhsm2-test (stable, hsm,hsm-tests-pkcs11)
Process completed with exit code 101.
pykmip-test (beta, hsm,hsm-tests-kmip)
The job was canceled because "stable_hsm_hsm-tests-kmip" failed.
pykmip-test (beta, hsm,hsm-tests-kmip)
Process completed with exit code 1.
pykmip-test (beta, hsm,hsm-tests-kmip)
The operation was canceled.
pykmip-test (1.74.0, hsm,hsm-tests-kmip)
The job was canceled because "stable_hsm_hsm-tests-kmip" failed.
pykmip-test (1.74.0, hsm,hsm-tests-kmip)
Process completed with exit code 1.
pykmip-test (1.74.0, hsm,hsm-tests-kmip)
The operation was canceled.
softhsm2-test (beta, hsm,hsm-tests-pkcs11)
The job was canceled because "stable_hsm_hsm-tests-pkcs" failed.
softhsm2-test (beta, hsm,hsm-tests-pkcs11)
The operation was canceled.
pykmip-test (stable, hsm)
The job was canceled because "stable_hsm_hsm-tests-kmip" failed.
pykmip-test (stable, hsm)
The operation was canceled.
pykmip-test (beta, hsm)
The job was canceled because "stable_hsm_hsm-tests-kmip" failed.
pykmip-test (beta, hsm)
Process completed with exit code 1.
pykmip-test (beta, hsm)
The operation was canceled.
pykmip-test (1.74.0, hsm)
The job was canceled because "stable_hsm_hsm-tests-kmip" failed.
pykmip-test (1.74.0, hsm)
Process completed with exit code 1.
pykmip-test (1.74.0, hsm)
The operation was canceled.
softhsm2-test (1.74.0, hsm,hsm-tests-pkcs11)
The job was canceled because "stable_hsm_hsm-tests-pkcs" failed.
softhsm2-test (1.74.0, hsm,hsm-tests-pkcs11)
The operation was canceled.
build (ubuntu-latest, stable, --features all)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: hecrj/setup-rust-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (ubuntu-latest, beta): src/cli/ta/options/proxy.rs#L364
struct `AcrMsg` is never constructed
build (ubuntu-latest, beta, --no-default-features): tests/common/mod.rs#L148
unused variable: `second_signer`
pykmip-test (stable, hsm,hsm-tests-kmip)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
pykmip-test (stable, hsm,hsm-tests-kmip): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (stable, hsm,hsm-tests-kmip): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
pykmip-test (stable, hsm,hsm-tests-kmip): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (stable, hsm,hsm-tests-kmip): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
softhsm2-test (stable, hsm,hsm-tests-pkcs11)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
softhsm2-test (stable, hsm,hsm-tests-pkcs11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
softhsm2-test (stable, hsm,hsm-tests-pkcs11): src/cli/options/config.rs#L237
fields `0` and `1` are never read
softhsm2-test (stable, hsm,hsm-tests-pkcs11): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
softhsm2-test (stable, hsm,hsm-tests-pkcs11): src/cli/options/config.rs#L237
fields `0` and `1` are never read
softhsm2-test (stable, hsm,hsm-tests-pkcs11): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
pykmip-test (beta, hsm,hsm-tests-kmip): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (beta, hsm,hsm-tests-kmip): src/cli/ta/options/proxy.rs#L364
struct `AcrMsg` is never constructed
pykmip-test (beta, hsm,hsm-tests-kmip): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
pykmip-test (1.74.0, hsm,hsm-tests-kmip): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
softhsm2-test (beta, hsm,hsm-tests-pkcs11): src/cli/options/config.rs#L237
fields `0` and `1` are never read
softhsm2-test (beta, hsm,hsm-tests-pkcs11): src/cli/ta/options/proxy.rs#L364
struct `AcrMsg` is never constructed
softhsm2-test (beta, hsm,hsm-tests-pkcs11): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`
pykmip-test (stable, hsm): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (stable, hsm): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (beta, hsm): src/cli/options/config.rs#L237
fields `0` and `1` are never read
pykmip-test (beta, hsm): src/cli/ta/options/proxy.rs#L364
struct `AcrMsg` is never constructed
softhsm2-test (1.74.0, hsm,hsm-tests-pkcs11): tests/functional_ca_import.rs#L3
unused import: `krill::commons::api`