rust_ev_verifier_lib 0.2.1

Main library for the E-Voting system of Swiss Post.
Build #1598701 2024-12-24T15:54:43.644044+00:00
# rustc version
rustc 1.85.0-nightly (bdc6b3de4 2024-12-23)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust_ev_verifier_lib-0.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust_ev_verifier_lib-0.2.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241223-1.85.0-nightly-bdc6b3de4\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9f04cad1d564756ed1a2eafb6ba17d31f110524feb0caa490a3aa99792610b99
[INFO] running `Command { std: "docker" "start" "-a" "9f04cad1d564756ed1a2eafb6ba17d31f110524feb0caa490a3aa99792610b99", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting rust_ev_verifier_lib v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `paste`
[INFO] [stderr]   --> src/file_structure/mock/context_directory_data.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use paste::paste;
[INFO] [stderr]    |     ^^^^^ use of undeclared crate or module `paste`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `paste`
[INFO] [stderr]   --> src/file_structure/mock/setup_directory_data.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use paste::paste;
[INFO] [stderr]    |     ^^^^^ use of undeclared crate or module `paste`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `paste`
[INFO] [stderr]   --> src/file_structure/mock/tally_directory_data.rs:22:5
[INFO] [stderr]    |
[INFO] [stderr] 22 | use paste::paste;
[INFO] [stderr]    |     ^^^^^ use of undeclared crate or module `paste`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MockControlComponentPublicKeysPayloadAsResultIter` in this scope
[INFO] [stderr]    --> src/file_structure/mock/context_directory_data.rs:95:9
[INFO] [stderr]     |
[INFO] [stderr] 95  |         MockControlComponentPublicKeysPayloadAsResultIter;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `ControlComponentPublicKeysPayloadAsResultIter`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/file_group.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         pub(crate) type $preaditer = FileGroupIter<$pread>;
[INFO] [stderr]     |         --------------------------------------------------- similarly named type alias `ControlComponentPublicKeysPayloadAsResultIter` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MockSetupComponentVerificationDataPayloadAsResultIter` in this scope
[INFO] [stderr]    --> src/file_structure/mock/setup_directory_data.rs:76:9
[INFO] [stderr]     |
[INFO] [stderr] 76  |         MockSetupComponentVerificationDataPayloadAsResultIter;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `SetupComponentVerificationDataPayloadAsResultIter`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/file_group.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         pub(crate) type $preaditer = FileGroupIter<$pread>;
[INFO] [stderr]     |         --------------------------------------------------- similarly named type alias `SetupComponentVerificationDataPayloadAsResultIter` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MockControlComponentCodeSharesPayloadAsResultIter` in this scope
[INFO] [stderr]    --> src/file_structure/mock/setup_directory_data.rs:78:9
[INFO] [stderr]     |
[INFO] [stderr] 78  |         MockControlComponentCodeSharesPayloadAsResultIter;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `ControlComponentCodeSharesPayloadAsResultIter`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/file_group.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         pub(crate) type $preaditer = FileGroupIter<$pread>;
[INFO] [stderr]     |         --------------------------------------------------- similarly named type alias `ControlComponentCodeSharesPayloadAsResultIter` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MockControlComponentBallotBoxPayloadAsResultIter` in this scope
[INFO] [stderr]    --> src/file_structure/mock/tally_directory_data.rs:129:9
[INFO] [stderr]     |
[INFO] [stderr] 129 |         MockControlComponentBallotBoxPayloadAsResultIter;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `ControlComponentBallotBoxPayloadAsResultIter`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/file_group.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         pub(crate) type $preaditer = FileGroupIter<$pread>;
[INFO] [stderr]     |         --------------------------------------------------- similarly named type alias `ControlComponentBallotBoxPayloadAsResultIter` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MockControlComponentShufflePayloadAsResultIter` in this scope
[INFO] [stderr]    --> src/file_structure/mock/tally_directory_data.rs:131:9
[INFO] [stderr]     |
[INFO] [stderr] 131 |         MockControlComponentShufflePayloadAsResultIter;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `ControlComponentShufflePayloadAsResultIter`
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/file_group.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |         pub(crate) type $preaditer = FileGroupIter<$pread>;
[INFO] [stderr]     |         --------------------------------------------------- similarly named type alias `ControlComponentShufflePayloadAsResultIter` defined here
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `setup_component_public_keys_payload`, `election_event_context_payload`, `election_event_configuration`, `control_component_public_keys_payload_iter`
[INFO] [stderr]   --> src/file_structure/mock/context_directory_data.rs:91:1
[INFO] [stderr]    |
[INFO] [stderr] 91 |   impl ContextDirectoryTrait for MockContextDirectory {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `setup_component_public_keys_payload`, `election_event_context_payload`, `election_event_configuration`, `control_component_public_keys_payload_iter` in implementation
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/file_structure/context_directory.rs:65:5
[INFO] [stderr]    |
[INFO] [stderr] 65 | /     fn setup_component_public_keys_payload(
[INFO] [stderr] 66 | |         &self,
[INFO] [stderr] 67 | |     ) -> Result<Box<SetupComponentPublicKeysPayload>, FileStructureError>;
[INFO] [stderr]    | |__________________________________________________________________________- `setup_component_public_keys_payload` from trait
[INFO] [stderr] 68 |
[INFO] [stderr] 69 | /     fn election_event_context_payload(
[INFO] [stderr] 70 | |         &self,
[INFO] [stderr] 71 | |     ) -> Result<Box<ElectionEventContextPayload>, FileStructureError>;
[INFO] [stderr]    | |______________________________________________________________________- `election_event_context_payload` from trait
[INFO] [stderr] 72 | /     fn election_event_configuration(
[INFO] [stderr] 73 | |         &self,
[INFO] [stderr] 74 | |     ) -> Result<Box<ElectionEventConfiguration>, FileStructureError>;
[INFO] [stderr]    | |_____________________________________________________________________- `election_event_configuration` from trait
[INFO] [stderr] 75 |
[INFO] [stderr] 76 | /     fn control_component_public_keys_payload_iter(
[INFO] [stderr] 77 | |         &self,
[INFO] [stderr] 78 | |     ) -> Self::ControlComponentPublicKeysPayloadAsResultIterType;
[INFO] [stderr]    | |_________________________________________________________________- `control_component_public_keys_payload_iter` from trait
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `setup_component_tally_data_payload`
[INFO] [stderr]    --> src/file_structure/mock/context_directory_data.rs:142:1
[INFO] [stderr]     |
[INFO] [stderr] 142 |   impl ContextVCSDirectoryTrait for MockContextVCSDirectory {
[INFO] [stderr]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `setup_component_tally_data_payload` in implementation
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/context_directory.rs:95:5
[INFO] [stderr]     |
[INFO] [stderr] 95  | /     fn setup_component_tally_data_payload(
[INFO] [stderr] 96  | |         &self,
[INFO] [stderr] 97  | |     ) -> Result<Box<SetupComponentTallyDataPayload>, FileStructureError>;
[INFO] [stderr]     | |_________________________________________________________________________- `setup_component_tally_data_payload` from trait
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `setup_component_verification_data_payload_iter`, `control_component_code_shares_payload_iter`
[INFO] [stderr]   --> src/file_structure/mock/setup_directory_data.rs:74:1
[INFO] [stderr]    |
[INFO] [stderr] 74 |   impl SetupVCSDirectoryTrait for MockSetupVCSDirectory {
[INFO] [stderr]    |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `setup_component_verification_data_payload_iter`, `control_component_code_shares_payload_iter` in implementation
[INFO] [stderr]    |
[INFO] [stderr]   ::: src/file_structure/setup_directory.rs:76:5
[INFO] [stderr]    |
[INFO] [stderr] 76 | /     fn setup_component_verification_data_payload_iter(
[INFO] [stderr] 77 | |         &self,
[INFO] [stderr] 78 | |     ) -> Self::SetupComponentVerificationDataPayloadAsResultIterType;
[INFO] [stderr]    | |_____________________________________________________________________- `setup_component_verification_data_payload_iter` from trait
[INFO] [stderr] 79 |
[INFO] [stderr] 80 | /     fn control_component_code_shares_payload_iter(
[INFO] [stderr] 81 | |         &self,
[INFO] [stderr] 82 | |     ) -> Self::ControlComponentCodeSharesPayloadAsResultIterType;
[INFO] [stderr]    | |_________________________________________________________________- `control_component_code_shares_payload_iter` from trait
[INFO] [stderr] 
[INFO] [stderr] error[E0046]: not all trait items implemented, missing: `tally_component_votes_payload`, `tally_component_shuffle_payload`, `control_component_ballot_box_payload_iter`, `control_component_shuffle_payload_iter`
[INFO] [stderr]    --> src/file_structure/mock/tally_directory_data.rs:127:1
[INFO] [stderr]     |
[INFO] [stderr] 127 |   impl BBDirectoryTrait for MockBBDirectory {
[INFO] [stderr]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `tally_component_votes_payload`, `tally_component_shuffle_payload`, `control_component_ballot_box_payload_iter`, `control_component_shuffle_payload_iter` in implementation
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/file_structure/tally_directory.rs:84:5
[INFO] [stderr]     |
[INFO] [stderr] 84  | /     fn tally_component_votes_payload(
[INFO] [stderr] 85  | |         &self,
[INFO] [stderr] 86  | |     ) -> Result<Box<TallyComponentVotesPayload>, FileStructureError>;
[INFO] [stderr]     | |_____________________________________________________________________- `tally_component_votes_payload` from trait
[INFO] [stderr] 87  | /     fn tally_component_shuffle_payload(
[INFO] [stderr] 88  | |         &self,
[INFO] [stderr] 89  | |     ) -> Result<Box<TallyComponentShufflePayload>, FileStructureError>;
[INFO] [stderr]     | |_______________________________________________________________________- `tally_component_shuffle_payload` from trait
[INFO] [stderr] 90  | /     fn control_component_ballot_box_payload_iter(
[INFO] [stderr] 91  | |         &self,
[INFO] [stderr] 92  | |     ) -> Self::ControlComponentBallotBoxPayloadAsResultIterType;
[INFO] [stderr]     | |________________________________________________________________- `control_component_ballot_box_payload_iter` from trait
[INFO] [stderr] 93  | /     fn control_component_shuffle_payload_iter(
[INFO] [stderr] 94  | |         &self,
[INFO] [stderr] 95  | |     ) -> Self::ControlComponentShufflePayloadAsResultIterType;
[INFO] [stderr]     | |______________________________________________________________- `control_component_shuffle_payload_iter` from trait
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0046, E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0046`.
[INFO] [stderr] error: could not document `rust_ev_verifier_lib`
[INFO] running `Command { std: "docker" "inspect" "9f04cad1d564756ed1a2eafb6ba17d31f110524feb0caa490a3aa99792610b99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f04cad1d564756ed1a2eafb6ba17d31f110524feb0caa490a3aa99792610b99", kill_on_drop: false }`
[INFO] [stdout] 9f04cad1d564756ed1a2eafb6ba17d31f110524feb0caa490a3aa99792610b99