[INFO] cloning repository https://github.com/mtdamir/Voting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtdamir/Voting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d7a303a78431ed3c75b72915588d1f5ce074356
[INFO] documenting mtdamir/Voting against 1.62.0 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtdamir%2FVoting" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mtdamir/Voting on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mtdamir/Voting
[INFO] finished tweaking git repo https://github.com/mtdamir/Voting
[INFO] tweaked toml for git repo https://github.com/mtdamir/Voting written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/mtdamir/Voting already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3518bce88714bfa30fbda90634ddef90cb20b2af8d162ab068dda6000129e93
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a3518bce88714bfa30fbda90634ddef90cb20b2af8d162ab068dda6000129e93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3518bce88714bfa30fbda90634ddef90cb20b2af8d162ab068dda6000129e93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3518bce88714bfa30fbda90634ddef90cb20b2af8d162ab068dda6000129e93", kill_on_drop: false }`
[INFO] [stdout] a3518bce88714bfa30fbda90634ddef90cb20b2af8d162ab068dda6000129e93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] c012f90f79c54b5ddd04f2e080aa1f46c71d946ee08484c6af0d12f31ec6ae97
[INFO] running `Command { std: "docker" "start" "-a" "c012f90f79c54b5ddd04f2e080aa1f46c71d946ee08484c6af0d12f31ec6ae97", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.33
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling serde_derive v1.0.131
[INFO] [stderr]    Compiling serde v1.0.131
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling anyhow v1.0.51
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.78
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling bumpalo v3.8.0
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling wasm-bindgen v0.2.78
[INFO] [stderr]     Checking zeroize v1.4.3
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling blake3 v1.2.0
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.0
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.0
[INFO] [stderr]    Compiling solana-program v1.9.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking memmap2 v0.5.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking solana-logger v1.9.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.78
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.78
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.78
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]     Checking bv v0.11.1
[INFO] [stderr]     Checking serde_bytes v0.11.5
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]    Compiling serde_json v1.0.73
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking crypto-mac v0.11.1
[INFO] [stderr]     Checking sha2 v0.9.8
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking sha3 v0.9.1
[INFO] [stderr]     Checking curve25519-dalek v3.2.0
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.9.1
[INFO] [stderr]    Compiling anchor-syn v0.18.2
[INFO] [stderr]    Compiling libsecp256k1-gen-genmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1-gen-ecmult v0.2.1
[INFO] [stderr]    Compiling libsecp256k1 v0.6.0
[INFO] [stderr]     Checking borsh v0.9.1
[INFO] [stderr]    Compiling anchor-attribute-interface v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-error v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.18.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-state v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.18.2
[INFO] [stderr]    Compiling anchor-attribute-program v0.18.2
[INFO] [stderr]     Checking anchor-lang v0.18.2
[INFO] [stderr]  Documenting Voting v0.1.0 (/opt/rustwide/workdir/programs/Voting)
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]   --> programs/Voting/src/error.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl From<VotingError> for ProgramError {
[INFO] [stdout]    |                                         - unclosed delimiter
[INFO] [stdout] 38 |     fn from(e: VotingError) -> Self {
[INFO] [stdout]    |                                     - unclosed delimiter
[INFO] [stdout] 39 |         Self::Custom(e as u32)
[INFO] [stdout] 40 |    
[INFO] [stdout]    |    ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, msg, pubkey::Pubkey};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::{account_info::AccountInfo, entrypoint::ProgramResult, msg, pubkey::Pubkey};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/add_party.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/processor/add_party.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/add_party.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/add_voter.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/processor/add_voter.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/add_voter.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/init_voting.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/processor/init_voting.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use borsh::BorshSerialize;
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/init_voting.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/vote.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/processor/vote.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/entrypoint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/processor/vote.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/error.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use solana_program::program_error::ProgramError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/entrypoint.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `thiserror`
[INFO] [stdout]  --> programs/Voting/src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^ help: a similar path exists: `crate::thiserror`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/instruction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/instruction.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `solana_program`
[INFO] [stdout]  --> programs/Voting/src/instruction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use solana_program::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: a similar path exists: `anchor_lang::solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/state/voting_state.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::pubkey::Pubkey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/state/voting_state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/state/voter_votes.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::pubkey::Pubkey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/state/voter_votes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/state/party.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::pubkey::Pubkey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/state/party.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `solana_program`
[INFO] [stdout]  --> programs/Voting/src/state/voter_voted.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::pubkey::Pubkey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ use of undeclared crate or module `solana_program`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `borsh`
[INFO] [stdout]  --> programs/Voting/src/state/voter_voted.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use borsh::{BorshDeserialize, BorshSerialize};
[INFO] [stdout]   |     ^^^^^ help: a similar path exists: `crate::borsh`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `entrypoint`
[INFO] [stdout]  --> programs/Voting/src/entrypoint.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | entrypoint!(process_instruction);
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Error`
[INFO] [stdout]  --> programs/Voting/src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Error, Debug, Copy, Clone)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> programs/Voting/src/error.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 |     #[error("invalid Instruction")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::error
[INFO] [stdout]           crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]  --> programs/Voting/src/error.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[error("illegal voting owner")]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::error
[INFO] [stdout]           crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[error("illegal voter")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     #[error("illegal voting state")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[error("the vote is over")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[error("the voter is not eligible for voting")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[error("the voter already voted for the selected party")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[error("no positive votes left")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[error("no negative votes left")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/Voting/src/error.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 |     #[error("positive votes have to be spent before the negative ones")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider importing one of these items:
[INFO] [stdout]            anchor_lang::error
[INFO] [stdout]            crate::error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize`
[INFO] [stdout]   --> programs/Voting/src/instruction.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize`
[INFO] [stdout]   --> programs/Voting/src/instruction.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/instruction.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             msg!(&error.to_string());
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor/add_party.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     msg!("Party account created.");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor/add_party.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 |     msg!("Party account initialized.");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor/add_voter.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     msg!("VoterVotes account created.");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor/add_voter.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     msg!("VoterVotes account initialized.");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor/init_voting.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     msg!("VotingState initialized.");
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]    --> programs/Voting/src/processor/vote.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 132 |     msg!("VoterVoted account created.");
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]    --> programs/Voting/src/processor/vote.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 |     msg!("Voted.");
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |             msg!("Instruction: InitVoting");
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             msg!("Instruction: AddVoter");
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             msg!("Instruction: AddParty");
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `msg`
[INFO] [stdout]   --> programs/Voting/src/processor.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             msg!("Instruction: Vote");
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize`
[INFO] [stdout]  --> programs/Voting/src/state/voting_state.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize`
[INFO] [stdout]  --> programs/Voting/src/state/voting_state.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize`
[INFO] [stdout]  --> programs/Voting/src/state/voter_votes.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize`
[INFO] [stdout]  --> programs/Voting/src/state/voter_votes.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize`
[INFO] [stdout]  --> programs/Voting/src/state/party.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize`
[INFO] [stdout]  --> programs/Voting/src/state/party.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshSerialize`
[INFO] [stdout]  --> programs/Voting/src/state/voter_voted.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `BorshDeserialize`
[INFO] [stdout]  --> programs/Voting/src/state/voter_voted.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Default, BorshSerialize, BorshDeserialize, Debug)]
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Instructions` in this scope
[INFO] [stdout]   --> programs/Voting/src/instruction.rs:44:53
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn init_voting(voting_owner_pubkey: &Pubkey) -> Instructions {
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 3  | use anchor_lang::prelude::Instructions;
[INFO] [stdout]    |
[INFO] [stdout] 3  | use crate::Instructions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 66 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `Voting`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type cdylib --crate-type lib --crate-name voting programs/Voting/src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=6c7db6db697e8b0c -L dependency=/opt/rustwide/target/debug/deps --extern anchor_lang=/opt/rustwide/target/debug/deps/libanchor_lang-9cf24c4261b89c91.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "c012f90f79c54b5ddd04f2e080aa1f46c71d946ee08484c6af0d12f31ec6ae97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c012f90f79c54b5ddd04f2e080aa1f46c71d946ee08484c6af0d12f31ec6ae97", kill_on_drop: false }`
[INFO] [stdout] c012f90f79c54b5ddd04f2e080aa1f46c71d946ee08484c6af0d12f31ec6ae97
