[INFO] fetching crate solana-anchor-rando 0.1.2... [INFO] checking solana-anchor-rando-0.1.2 against try#9b06ec641f3d05c126a54ceadba42a64366f72b4 for pr-95755 [INFO] extracting crate solana-anchor-rando 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate solana-anchor-rando 0.1.2 on toolchain 9b06ec641f3d05c126a54ceadba42a64366f72b4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b06ec641f3d05c126a54ceadba42a64366f72b4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana-anchor-rando 0.1.2 [INFO] finished tweaking crates.io crate solana-anchor-rando 0.1.2 [INFO] tweaked toml for crates.io crate solana-anchor-rando 0.1.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b06ec641f3d05c126a54ceadba42a64366f72b4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9b06ec641f3d05c126a54ceadba42a64366f72b4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+9b06ec641f3d05c126a54ceadba42a64366f72b4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98d6bbd166fa4d8bbd56307ab5e1bcfa051e250e316da3363cad1ca7ab74377d [INFO] running `Command { std: "docker" "start" "-a" "98d6bbd166fa4d8bbd56307ab5e1bcfa051e250e316da3363cad1ca7ab74377d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98d6bbd166fa4d8bbd56307ab5e1bcfa051e250e316da3363cad1ca7ab74377d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d6bbd166fa4d8bbd56307ab5e1bcfa051e250e316da3363cad1ca7ab74377d", kill_on_drop: false }` [INFO] [stdout] 98d6bbd166fa4d8bbd56307ab5e1bcfa051e250e316da3363cad1ca7ab74377d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+9b06ec641f3d05c126a54ceadba42a64366f72b4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af21f5665fd2c9fc722d4245696fe00cc123cca55bfc1b84938e16a3e5aa51d5 [INFO] running `Command { std: "docker" "start" "-a" "af21f5665fd2c9fc722d4245696fe00cc123cca55bfc1b84938e16a3e5aa51d5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking zeroize v1.5.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.7.11 [INFO] [stderr] Compiling solana-frozen-abi v1.7.11 [INFO] [stderr] Compiling solana-program v1.7.11 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking solana-logger v1.7.11 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.7.11 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling anchor-syn v0.17.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking borsh v0.9.3 [INFO] [stderr] Compiling anchor-attribute-state v0.17.0 [INFO] [stderr] Compiling anchor-attribute-program v0.17.0 [INFO] [stderr] Compiling anchor-attribute-event v0.17.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.17.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.17.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.17.0 [INFO] [stderr] Compiling anchor-attribute-error v0.17.0 [INFO] [stderr] Compiling anchor-attribute-account v0.17.0 [INFO] [stderr] Checking anchor-lang v0.17.0 [INFO] [stderr] Checking solana-anchor-rando v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | /// fetch oracle's index in the array of oracles. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | / for i in 0 .. ctx.accounts.state.oracles.len() { [INFO] [stdout] 41 | | if ctx.accounts.state.oracles[i] == *ctx.accounts.oracle.key { [INFO] [stdout] 42 | | oracle_index = i; [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// oracle not found yo, what are you feeding me? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | / if oracle_index == 17 { [INFO] [stdout] 48 | | return Err(ErrorCode::IncorrectOracleProvided.into()) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | /// Already filled yo =) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | / if ctx.accounts.vault.done_flag[oracle_index] == 1 { [INFO] [stdout] 53 | | return Err(ErrorCode::AlreadyFilled.into()) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | /// TODO: Verify signature [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | /// fill every n number, n being # of oracles there are. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | /// if n is two, the first oracle will fill index 0,2,4...16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// and second oracle will fill index 1,3,5,...15; [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | /// and second oracle will fill index 1,3,5,...15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// On finished filling all array, fill the result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let sum: u8 = ctx.accounts.vault.done_flag.iter().sum(); [INFO] [stdout] | -------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | /// fetch oracle's index in the array of oracles. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | / for i in 0 .. ctx.accounts.state.oracles.len() { [INFO] [stdout] 41 | | if ctx.accounts.state.oracles[i] == *ctx.accounts.oracle.key { [INFO] [stdout] 42 | | oracle_index = i; [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// oracle not found yo, what are you feeding me? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | / if oracle_index == 17 { [INFO] [stdout] 48 | | return Err(ErrorCode::IncorrectOracleProvided.into()) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | /// Already filled yo =) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | / if ctx.accounts.vault.done_flag[oracle_index] == 1 { [INFO] [stdout] 53 | | return Err(ErrorCode::AlreadyFilled.into()) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | /// TODO: Verify signature [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | /// fill every n number, n being # of oracles there are. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | /// if n is two, the first oracle will fill index 0,2,4...16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | /// and second oracle will fill index 1,3,5,...15; [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | /// and second oracle will fill index 1,3,5,...15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 61 | / for n in (oracle_index .. 16).step_by(ctx.accounts.state.oracles.len()) { [INFO] [stdout] 62 | | ctx.accounts.vault.result[n] = oracle_result[n]; [INFO] [stdout] 63 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// On finished filling all array, fill the result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let sum: u8 = ctx.accounts.vault.done_flag.iter().sum(); [INFO] [stdout] | -------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> src/lib.rs:9:90 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn initialize(ctx: Context, authority: Pubkey, oracles: [Pubkey; 2], bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> src/lib.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fill_oracle_result(ctx: Context, oracle_result: [u8; 64], bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> src/lib.rs:9:90 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn initialize(ctx: Context, authority: Pubkey, oracles: [Pubkey; 2], bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> src/lib.rs:35:88 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fill_oracle_result(ctx: Context, oracle_result: [u8; 64], bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "af21f5665fd2c9fc722d4245696fe00cc123cca55bfc1b84938e16a3e5aa51d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af21f5665fd2c9fc722d4245696fe00cc123cca55bfc1b84938e16a3e5aa51d5", kill_on_drop: false }` [INFO] [stdout] af21f5665fd2c9fc722d4245696fe00cc123cca55bfc1b84938e16a3e5aa51d5