[INFO] cloning repository https://github.com/Ozodimgba/leaderboard_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ozodimgba/leaderboard_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzodimgba%2Fleaderboard_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzodimgba%2Fleaderboard_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 290f0d348f5e6a5fb71068f045ec01133669e380
[INFO] documenting Ozodimgba/leaderboard_api against 1.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOzodimgba%2Fleaderboard_api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ozodimgba/leaderboard_api on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ozodimgba/leaderboard_api
[INFO] finished tweaking git repo https://github.com/Ozodimgba/leaderboard_api
[INFO] tweaked toml for git repo https://github.com/Ozodimgba/leaderboard_api written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Ozodimgba/leaderboard_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded solana-sdk-macro v1.15.2
[INFO] [stderr]   Downloaded solana-frozen-abi-macro v1.15.2
[INFO] [stderr]   Downloaded solana-program v1.15.2
[INFO] [stderr]   Downloaded solana-frozen-abi v1.15.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c47ac161d12b8af113fcb71001128953737f262d31a821526e6735e56c9b7916
[INFO] running `Command { std: "docker" "start" "-a" "c47ac161d12b8af113fcb71001128953737f262d31a821526e6735e56c9b7916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c47ac161d12b8af113fcb71001128953737f262d31a821526e6735e56c9b7916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c47ac161d12b8af113fcb71001128953737f262d31a821526e6735e56c9b7916", kill_on_drop: false }`
[INFO] [stdout] c47ac161d12b8af113fcb71001128953737f262d31a821526e6735e56c9b7916
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6b319ada5166c310f0fdf41b47c87e2c51340f3a2d401e3047502fa91bdab88a
[INFO] running `Command { std: "docker" "start" "-a" "6b319ada5166c310f0fdf41b47c87e2c51340f3a2d401e3047502fa91bdab88a", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.27
[INFO] [stderr]    Compiling serde v1.0.163
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling semver v1.0.17
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling ucd-trie v0.1.5
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.85
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]     Checking ark-std v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling rustversion v1.0.12
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling bumpalo v3.12.2
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling blake3 v1.3.3
[INFO] [stderr]     Checking bitmaps v2.1.0
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.15.2
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.85
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking sized-chunks v0.6.5
[INFO] [stderr]     Checking rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.85
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling solana-frozen-abi v1.15.2
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking constant_time_eq v0.2.5
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.85
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling aho-corasick v1.0.1
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling solana-program v1.15.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]    Compiling serde_derive v1.0.163
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.85
[INFO] [stderr]    Compiling bytemuck_derive v1.4.1
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking keccak v0.1.4
[INFO] [stderr]    Compiling regex-syntax v0.7.1
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking array-bytes v1.4.1
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]    Compiling pest v2.6.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.15.2
[INFO] [stderr]    Compiling anchor-derive-space v0.27.0
[INFO] [stderr]    Compiling regex v1.8.1
[INFO] [stderr]    Compiling semver-parser v0.10.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]     Checking serde_bytes v0.11.9
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking ark-serialize v0.3.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking hmac-drbg v0.3.0
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]     Checking pbkdf2 v0.4.0
[INFO] [stderr]     Checking tiny-bip39 v0.8.2
[INFO] [stderr]    Compiling anchor-syn v0.27.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[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 libsecp256k1 v0.6.0
[INFO] [stderr]     Checking borsh v0.9.3
[INFO] [stderr]    Compiling anchor-attribute-constant v0.27.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.27.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.27.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.27.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.27.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.27.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.27.0
[INFO] [stderr]     Checking ark-ec v0.3.0
[INFO] [stderr]     Checking ark-bn254 v0.3.0
[INFO] [stderr]     Checking anchor-lang v0.27.0
[INFO] [stderr]  Documenting leaderboard_api v0.1.0 (/opt/rustwide/workdir/programs/leaderboard_api)
[INFO] [stdout] error: payer must be provided when initializing an account
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |     #[account(init)]
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_spl`
[INFO] [stdout]  --> programs/leaderboard_api/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Mint, TokenAccount};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `anchor_spl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor_spl`
[INFO] [stdout]  --> programs/leaderboard_api/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_spl::token::{self, Mint, TokenAccount};
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `anchor_spl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate`
[INFO] [stdout]  --> programs/leaderboard_api/src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ could not find `__client_accounts_create_contest` in the crate root
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:60:3
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[error]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `error` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use anchor_lang::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `msg` in this scope
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[msg("Insufficient SOL balance")]
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `msg` is imported here, but it is a function-like macro
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:1:5
[INFO] [stdout]    |
[INFO] [stdout] 1  | use anchor_lang::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope
[INFO] [stdout]  --> programs/leaderboard_api/src/lib.rs:8:125
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn create_contest(ctx: Context<CreateContest>, name: String, time_range: u64, value: u64, num_participants: u64) -> ProgramResult {
[INFO] [stdout]   |                                                                                                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProgramAccount` in this scope
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:42:26
[INFO] [stdout]    |
[INFO] [stdout] 42 |     pub contest_account: ProgramAccount<'info, ContestAccount>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CpiAccount` in this scope
[INFO] [stdout]    --> programs/leaderboard_api/src/lib.rs:44:22
[INFO] [stdout]     |
[INFO] [stdout] 44  |     pub sol_account: CpiAccount<'info, TokenAccount>,
[INFO] [stdout]     |                      ^^^^^^^^^^ help: a struct with a similar name exists: `Account`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.27.0/src/accounts/account.rs:226:1
[INFO] [stdout]     |
[INFO] [stdout] 226 | pub struct Account<'info, T: AccountSerialize + AccountDeserialize + Clone> {
[INFO] [stdout]     | --------------------------------------------------------------------------- similarly named struct `Account` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Loader` in this scope
[INFO] [stdout]   --> programs/leaderboard_api/src/lib.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub sol_mint: Loader<'info, Mint>,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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 `leaderboard_api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type cdylib --crate-type lib --crate-name leaderboard_api programs/leaderboard_api/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=086391ab34bee15a -L dependency=/opt/rustwide/target/debug/deps --extern anchor_lang=/opt/rustwide/target/debug/deps/libanchor_lang-20ea3c22edc9d752.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "6b319ada5166c310f0fdf41b47c87e2c51340f3a2d401e3047502fa91bdab88a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6b319ada5166c310f0fdf41b47c87e2c51340f3a2d401e3047502fa91bdab88a", kill_on_drop: false }`
[INFO] [stdout] 6b319ada5166c310f0fdf41b47c87e2c51340f3a2d401e3047502fa91bdab88a
