[INFO] cloning repository https://github.com/CryptoMaxPlanck/investmentdao [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CryptoMaxPlanck/investmentdao" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoMaxPlanck%2Finvestmentdao", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoMaxPlanck%2Finvestmentdao'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80c844d4b81b4e18a33d58eb6c85ca535a205505 [INFO] documenting CryptoMaxPlanck/investmentdao against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCryptoMaxPlanck%2Finvestmentdao" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CryptoMaxPlanck/investmentdao on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CryptoMaxPlanck/investmentdao [INFO] finished tweaking git repo https://github.com/CryptoMaxPlanck/investmentdao [INFO] tweaked toml for git repo https://github.com/CryptoMaxPlanck/investmentdao written to /workspace/builds/worker-19/source/Cargo.toml [INFO] crate git repo https://github.com/CryptoMaxPlanck/investmentdao already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-19/source/programs/investmentdao/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-19/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded anchor-attribute-account v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.24.2 [INFO] [stderr] Downloaded solana-logger v1.9.20 [INFO] [stderr] Downloaded solana-frozen-abi v1.9.20 [INFO] [stderr] Downloaded anchor-spl v0.24.2 [INFO] [stderr] Downloaded solana-program v1.9.20 [INFO] [stderr] Downloaded anchor-derive-accounts v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-program v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-constant v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-error v0.24.2 [INFO] [stderr] Downloaded anchor-syn v0.24.2 [INFO] [stderr] Downloaded yansi v0.5.1 [INFO] [stderr] Downloaded fixed v1.15.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.9.20 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.9.20 [INFO] [stderr] Downloaded anchor-lang v0.24.2 [INFO] [stderr] Downloaded az v1.2.0 [INFO] [stderr] Downloaded anchor-attribute-event v0.24.2 [INFO] [stderr] Downloaded anchor-attribute-interface v0.24.2 [INFO] [stderr] Downloaded spl-associated-token-account v1.0.5 [INFO] [stderr] Downloaded anchor-attribute-state v0.24.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c09b68887f191d388f8c56c334ed7007b1992b7d3a5d6e6619be3f761ed9f19 [INFO] running `Command { std: "docker" "start" "-a" "8c09b68887f191d388f8c56c334ed7007b1992b7d3a5d6e6619be3f761ed9f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c09b68887f191d388f8c56c334ed7007b1992b7d3a5d6e6619be3f761ed9f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c09b68887f191d388f8c56c334ed7007b1992b7d3a5d6e6619be3f761ed9f19", kill_on_drop: false }` [INFO] [stdout] 8c09b68887f191d388f8c56c334ed7007b1992b7d3a5d6e6619be3f761ed9f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f716e46bc2ad4ba4889a36826fc5648a3a11f6151ad0a299a06c778f1b3e9d [INFO] running `Command { std: "docker" "start" "-a" "e4f716e46bc2ad4ba4889a36826fc5648a3a11f6151ad0a299a06c778f1b3e9d", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/programs/investmentdao/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling az v1.2.0 [INFO] [stderr] Compiling fixed v1.15.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.5.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.9.20 [INFO] [stderr] Compiling solana-frozen-abi v1.9.20 [INFO] [stderr] Compiling solana-program v1.9.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking solana-logger v1.9.20 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling bytemuck_derive v1.1.0 [INFO] [stderr] Compiling solana-sdk-macro v1.9.20 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking generic-array v0.14.5 [INFO] [stderr] Checking bv v0.11.1 [INFO] [stderr] Checking serde_bytes v0.11.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.9 [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 block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling anchor-syn v0.24.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Checking num_enum v0.5.7 [INFO] [stderr] Compiling anchor-attribute-account v0.24.2 [INFO] [stderr] Compiling anchor-attribute-constant v0.24.2 [INFO] [stderr] Compiling anchor-attribute-state v0.24.2 [INFO] [stderr] Compiling anchor-attribute-error v0.24.2 [INFO] [stderr] Compiling anchor-derive-accounts v0.24.2 [INFO] [stderr] Compiling anchor-attribute-interface v0.24.2 [INFO] [stderr] Compiling anchor-attribute-event v0.24.2 [INFO] [stderr] Compiling anchor-attribute-program v0.24.2 [INFO] [stderr] Compiling anchor-attribute-access-control v0.24.2 [INFO] [stderr] Checking spl-token v3.3.0 [INFO] [stderr] Checking spl-associated-token-account v1.0.5 [INFO] [stderr] Checking anchor-lang v0.24.2 [INFO] [stderr] Checking anchor-spl v0.24.2 [INFO] [stderr] Documenting investmentdao v0.1.0 (/opt/rustwide/workdir/programs/investmentdao) [INFO] [stdout] error: space must be provided with init [INFO] [stdout] --> programs/investmentdao/src/instructions/initialize_dao.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | init, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: init_if_needed requires that anchor-lang be imported with the init-if-needed cargo feature enabled. Carefully read the init_if_needed docs before using this feature to make sure you know how to protect yourself against re-initialization attacks. [INFO] [stdout] --> programs/investmentdao/src/instructions/vote.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | init_if_needed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: init_if_needed requires that anchor-lang be imported with the init-if-needed cargo feature enabled. Carefully read the init_if_needed docs before using this feature to make sure you know how to protect yourself against re-initialization attacks. [INFO] [stdout] --> programs/investmentdao/src/instructions/buy_dao_token.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | init_if_needed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Dao` [INFO] [stdout] --> programs/investmentdao/src/instructions/add_proposal.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Dao; [INFO] [stdout] | ^^^^^^^^^^ no `Dao` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Proposal` [INFO] [stdout] --> programs/investmentdao/src/instructions/add_proposal.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Proposal; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Proposal` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Dao` [INFO] [stdout] --> programs/investmentdao/src/instructions/initialize_dao.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::Dao; [INFO] [stdout] | ^^^^^^^^^^ no `Dao` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dao` in this scope [INFO] [stdout] --> programs/investmentdao/src/instructions/buy_dao_token.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub dao: Account<'info, Dao>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::state::Dao; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `investmentdao` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type cdylib --crate-type lib --crate-name investmentdao programs/investmentdao/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=6800865c93b9670c -L dependency=/opt/rustwide/target/debug/deps --extern anchor_lang=/opt/rustwide/target/debug/deps/libanchor_lang-8c527c810c2f41aa.rmeta --extern anchor_spl=/opt/rustwide/target/debug/deps/libanchor_spl-eed5d20accf01465.rmeta --extern fixed=/opt/rustwide/target/debug/deps/libfixed-58b0e8f73c77afb8.rmeta --extern solana_program=/opt/rustwide/target/debug/deps/libsolana_program-e0222388d3389570.rmeta --extern spl_token=/opt/rustwide/target/debug/deps/libspl_token-e4418ba36cad486e.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "e4f716e46bc2ad4ba4889a36826fc5648a3a11f6151ad0a299a06c778f1b3e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f716e46bc2ad4ba4889a36826fc5648a3a11f6151ad0a299a06c778f1b3e9d", kill_on_drop: false }` [INFO] [stdout] e4f716e46bc2ad4ba4889a36826fc5648a3a11f6151ad0a299a06c778f1b3e9d