[INFO] cloning repository https://github.com/robre/vestingroyale [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robre/vestingroyale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobre%2Fvestingroyale", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobre%2Fvestingroyale'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73276aa2668228b956d73476ef292f9d42f92170 [INFO] testing robre/vestingroyale against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobre%2Fvestingroyale" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robre/vestingroyale on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robre/vestingroyale [INFO] finished tweaking git repo https://github.com/robre/vestingroyale [INFO] tweaked toml for git repo https://github.com/robre/vestingroyale written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/robre/vestingroyale 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-frozen-abi-macro v1.18.4 [INFO] [stderr] Downloaded solana-frozen-abi v1.18.4 [INFO] [stderr] Downloaded solana-logger v1.18.4 [INFO] [stderr] Downloaded solana-sdk-macro v1.18.4 [INFO] [stderr] Downloaded solana-program v1.18.4 [INFO] [stderr] Downloaded solana-sdk v1.18.4 [INFO] [stderr] Downloaded solana-zk-token-sdk v1.18.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc7ffdf0fb959b153d7587f06b128c0a8fea1ef6eb846bc62b5618396113e378 [INFO] running `Command { std: "docker" "start" "-a" "fc7ffdf0fb959b153d7587f06b128c0a8fea1ef6eb846bc62b5618396113e378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc7ffdf0fb959b153d7587f06b128c0a8fea1ef6eb846bc62b5618396113e378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7ffdf0fb959b153d7587f06b128c0a8fea1ef6eb846bc62b5618396113e378", kill_on_drop: false }` [INFO] [stdout] fc7ffdf0fb959b153d7587f06b128c0a8fea1ef6eb846bc62b5618396113e378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70cc2e475565aa47eef91f5ec35c713f14d31c08851b0338733ad4e72e6c7c34 [INFO] running `Command { std: "docker" "start" "-a" "70cc2e475565aa47eef91f5ec35c713f14d31c08851b0338733ad4e72e6c7c34", 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.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.4 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling borsh v1.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling borsh-derive v1.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling solana-program v1.18.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling solana-sdk-macro v1.18.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling solana-sdk v1.18.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling solana-logger v1.18.4 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling spl-program-error v0.3.1 [INFO] [stderr] Compiling spl-discriminator v0.1.1 [INFO] [stderr] Compiling spl-token v4.0.1 [INFO] [stderr] Compiling spl-memo v4.0.1 [INFO] [stderr] Compiling anchor-lang v0.29.0 [INFO] [stderr] Compiling solana-zk-token-sdk v1.18.4 [INFO] [stderr] Compiling spl-pod v0.1.1 [INFO] [stderr] Compiling spl-type-length-value v0.3.1 [INFO] [stderr] Compiling spl-token-group-interface v0.1.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Compiling spl-token-2022 v2.0.2 [INFO] [stderr] Compiling spl-token-2022 v0.9.0 [INFO] [stderr] Compiling spl-associated-token-account v2.3.1 [INFO] [stderr] Compiling anchor-spl v0.29.0 [INFO] [stderr] Compiling vestingroyale v0.1.0 (/opt/rustwide/workdir/programs/vestingroyale) [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::VestingRoyaleError` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::VestingRoyaleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::system_program` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_lang::system_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::id` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::id; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// End [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | / if now >= self.end_epoch { [INFO] [stdout] 48 | | msg!("current unlocked bps: 10000"); [INFO] [stdout] 49 | | return 10000 * 1000; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if ( now < self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if ( now < self.start_epoch ) { [INFO] [stdout] 52 + if now < self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if ( now == self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if ( now == self.start_epoch ) { [INFO] [stdout] 57 + if now == self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Always safe and non-0, because end_epoch > start_epoch (created with saturating add) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | let steps = self.end_epoch - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// Always safe, because initial_vest is required to be <= 10000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | let allocatable = (10000 - self.initial_vest) as u64 * 1000; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | /// Div Rounds Down. Steps never 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let alloc_per_step:u64 = allocatable / steps; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// safe because we already checked that now > start_epoch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let passed = now - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / /// epoch is about 3 days. 120 per year, so in 100 years, passed * alloc_per_step would [INFO] [stdout] 75 | | /// never exceed u64 [INFO] [stdout] | |____________________________^ [INFO] [stdout] 76 | let a: u64 = (self.initial_vest as u64 * 1000) + passed * alloc_per_step; [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: `args` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn handle(ctx: Context, args: TakeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.85s [INFO] running `Command { std: "docker" "inspect" "70cc2e475565aa47eef91f5ec35c713f14d31c08851b0338733ad4e72e6c7c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cc2e475565aa47eef91f5ec35c713f14d31c08851b0338733ad4e72e6c7c34", kill_on_drop: false }` [INFO] [stdout] 70cc2e475565aa47eef91f5ec35c713f14d31c08851b0338733ad4e72e6c7c34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 938f2ca0cd15415d9ab4c7d4fe24bb3e6b59f9d8ab1bacc6cc2abde37413e526 [INFO] running `Command { std: "docker" "start" "-a" "938f2ca0cd15415d9ab4c7d4fe24bb3e6b59f9d8ab1bacc6cc2abde37413e526", 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] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::VestingRoyaleError` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::VestingRoyaleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::system_program` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_lang::system_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::id` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::id; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// End [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | / if now >= self.end_epoch { [INFO] [stdout] 48 | | msg!("current unlocked bps: 10000"); [INFO] [stdout] 49 | | return 10000 * 1000; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if ( now < self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if ( now < self.start_epoch ) { [INFO] [stdout] 52 + if now < self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if ( now == self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if ( now == self.start_epoch ) { [INFO] [stdout] 57 + if now == self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Always safe and non-0, because end_epoch > start_epoch (created with saturating add) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | let steps = self.end_epoch - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// Always safe, because initial_vest is required to be <= 10000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | let allocatable = (10000 - self.initial_vest) as u64 * 1000; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | /// Div Rounds Down. Steps never 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let alloc_per_step:u64 = allocatable / steps; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// safe because we already checked that now > start_epoch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let passed = now - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / /// epoch is about 3 days. 120 per year, so in 100 years, passed * alloc_per_step would [INFO] [stdout] 75 | | /// never exceed u64 [INFO] [stdout] | |____________________________^ [INFO] [stdout] 76 | let a: u64 = (self.initial_vest as u64 * 1000) + passed * alloc_per_step; [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: `args` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn handle(ctx: Context, args: TakeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vestingroyale v0.1.0 (/opt/rustwide/workdir/programs/vestingroyale) [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::VestingRoyaleError` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::VestingRoyaleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::system_program` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_lang::system_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::id` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::id; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// End [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | / if now >= self.end_epoch { [INFO] [stdout] 48 | | msg!("current unlocked bps: 10000"); [INFO] [stdout] 49 | | return 10000 * 1000; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if ( now < self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if ( now < self.start_epoch ) { [INFO] [stdout] 52 + if now < self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if ( now == self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if ( now == self.start_epoch ) { [INFO] [stdout] 57 + if now == self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Always safe and non-0, because end_epoch > start_epoch (created with saturating add) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | let steps = self.end_epoch - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// Always safe, because initial_vest is required to be <= 10000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | let allocatable = (10000 - self.initial_vest) as u64 * 1000; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | /// Div Rounds Down. Steps never 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let alloc_per_step:u64 = allocatable / steps; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// safe because we already checked that now > start_epoch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let passed = now - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / /// epoch is about 3 days. 120 per year, so in 100 years, passed * alloc_per_step would [INFO] [stdout] 75 | | /// never exceed u64 [INFO] [stdout] | |____________________________^ [INFO] [stdout] 76 | let a: u64 = (self.initial_vest as u64 * 1000) + passed * alloc_per_step; [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: `args` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn handle(ctx: Context, args: TakeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "938f2ca0cd15415d9ab4c7d4fe24bb3e6b59f9d8ab1bacc6cc2abde37413e526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938f2ca0cd15415d9ab4c7d4fe24bb3e6b59f9d8ab1bacc6cc2abde37413e526", kill_on_drop: false }` [INFO] [stdout] 938f2ca0cd15415d9ab4c7d4fe24bb3e6b59f9d8ab1bacc6cc2abde37413e526 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b91ad33c0c31fc334336f603d644c596c9f4a7a61f7d7cac424d161fcb3c338e [INFO] running `Command { std: "docker" "start" "-a" "b91ad33c0c31fc334336f603d644c596c9f4a7a61f7d7cac424d161fcb3c338e", 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] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stderr] --> programs/vestingroyale/src/instructions/create_vesting.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::*` [INFO] [stderr] --> programs/vestingroyale/src/instructions/create_vesting.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::utils::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::error::VestingRoyaleError` [INFO] [stderr] --> programs/vestingroyale/src/instructions/take.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::error::VestingRoyaleError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stderr] --> programs/vestingroyale/src/instructions/take.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::*` [INFO] [stderr] --> programs/vestingroyale/src/instructions/take.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::utils::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::task::Wake` [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::task::Wake; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `anchor_lang::system_program` [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use anchor_lang::system_program; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::error::*` [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::error::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::id` [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::id; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | /// End [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 47 | / if now >= self.end_epoch { [INFO] [stderr] 48 | | msg!("current unlocked bps: 10000"); [INFO] [stderr] 49 | | return 10000 * 1000; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_________- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | if ( now < self.start_epoch ) { [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - if ( now < self.start_epoch ) { [INFO] [stderr] 52 + if now < self.start_epoch { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | if ( now == self.start_epoch ) { [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if ( now == self.start_epoch ) { [INFO] [stderr] 57 + if now == self.start_epoch { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | /// Always safe and non-0, because end_epoch > start_epoch (created with saturating add) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 63 | let steps = self.end_epoch - self.start_epoch; [INFO] [stderr] | ---------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | /// Always safe, because initial_vest is required to be <= 10000 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 66 | let allocatable = (10000 - self.initial_vest) as u64 * 1000; [INFO] [stderr] | ------------------------------------------------------------ rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | /// Div Rounds Down. Steps never 0 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 69 | let alloc_per_step:u64 = allocatable / steps; [INFO] [stderr] | --------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 71 | /// safe because we already checked that now > start_epoch [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 72 | let passed = now - self.start_epoch; [INFO] [stderr] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | / /// epoch is about 3 days. 120 per year, so in 100 years, passed * alloc_per_step would [INFO] [stderr] 75 | | /// never exceed u64 [INFO] [stderr] | |____________________________^ [INFO] [stderr] 76 | let a: u64 = (self.initial_vest as u64 * 1000) + passed * alloc_per_step; [INFO] [stderr] | ------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> programs/vestingroyale/src/instructions/take.rs:53:39 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn handle(ctx: Context, args: TakeArgs) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `vestingroyale` (lib) generated 18 warnings (run `cargo fix --lib -p vestingroyale` to apply 11 suggestions) [INFO] [stderr] warning: `vestingroyale` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vestingroyale-22c112340222bff5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vestingroyale [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | if ( now < self.start_epoch ) { [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 52 - if ( now < self.start_epoch ) { [INFO] [stderr] 52 + if now < self.start_epoch { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | if ( now == self.start_epoch ) { [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 57 - if ( now == self.start_epoch ) { [INFO] [stderr] 57 + if now == self.start_epoch { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b91ad33c0c31fc334336f603d644c596c9f4a7a61f7d7cac424d161fcb3c338e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b91ad33c0c31fc334336f603d644c596c9f4a7a61f7d7cac424d161fcb3c338e", kill_on_drop: false }` [INFO] [stdout] b91ad33c0c31fc334336f603d644c596c9f4a7a61f7d7cac424d161fcb3c338e [INFO] testing robre/vestingroyale against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobre%2Fvestingroyale" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/robre/vestingroyale on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/robre/vestingroyale [INFO] finished tweaking git repo https://github.com/robre/vestingroyale [INFO] tweaked toml for git repo https://github.com/robre/vestingroyale written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/robre/vestingroyale 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0320790fa04da5d6240a43172ef6b235a551165fd052840f5ca7ddf2e55f60d2 [INFO] running `Command { std: "docker" "start" "-a" "0320790fa04da5d6240a43172ef6b235a551165fd052840f5ca7ddf2e55f60d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0320790fa04da5d6240a43172ef6b235a551165fd052840f5ca7ddf2e55f60d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0320790fa04da5d6240a43172ef6b235a551165fd052840f5ca7ddf2e55f60d2", kill_on_drop: false }` [INFO] [stdout] 0320790fa04da5d6240a43172ef6b235a551165fd052840f5ca7ddf2e55f60d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bad961499fb6b503647e2b0122fbe019736723b919ba0916f021f61d0b5729b [INFO] running `Command { std: "docker" "start" "-a" "6bad961499fb6b503647e2b0122fbe019736723b919ba0916f021f61d0b5729b", 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.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.4 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.4 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling borsh-derive v1.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.18.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling solana-sdk-macro v1.18.4 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling solana-sdk v1.18.4 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling solana-logger v1.18.4 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling bs58 v0.5.0 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling anchor-derive-space v0.29.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling anchor-syn v0.29.0 [INFO] [stderr] Compiling anchor-attribute-event v0.29.0 [INFO] [stderr] Compiling anchor-attribute-account v0.29.0 [INFO] [stderr] Compiling anchor-derive-accounts v0.29.0 [INFO] [stderr] Compiling anchor-attribute-constant v0.29.0 [INFO] [stderr] Compiling anchor-attribute-error v0.29.0 [INFO] [stderr] Compiling anchor-attribute-program v0.29.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.29.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling anchor-derive-serde v0.29.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling spl-program-error v0.3.1 [INFO] [stderr] Compiling spl-discriminator v0.1.1 [INFO] [stderr] Compiling spl-token v4.0.1 [INFO] [stderr] Compiling spl-memo v4.0.1 [INFO] [stderr] Compiling anchor-lang v0.29.0 [INFO] [stderr] Compiling solana-zk-token-sdk v1.18.4 [INFO] [stderr] Compiling spl-pod v0.1.1 [INFO] [stderr] Compiling spl-type-length-value v0.3.1 [INFO] [stderr] Compiling spl-token-group-interface v0.1.1 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.4.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.3.0 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Compiling spl-token-2022 v2.0.2 [INFO] [stderr] Compiling spl-token-2022 v0.9.0 [INFO] [stderr] Compiling spl-associated-token-account v2.3.1 [INFO] [stderr] Compiling anchor-spl v0.29.0 [INFO] [stderr] Compiling vestingroyale v0.1.0 (/opt/rustwide/workdir/programs/vestingroyale) [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/create_vesting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::VestingRoyaleError` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::VestingRoyaleError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::solana_program::pubkey` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anchor_lang::solana_program::pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::*` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Wake` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::task::Wake; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anchor_lang::system_program` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use anchor_lang::system_program; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::*` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::id` [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::id; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | /// End [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | / if now >= self.end_epoch { [INFO] [stdout] 48 | | msg!("current unlocked bps: 10000"); [INFO] [stdout] 49 | | return 10000 * 1000; [INFO] [stdout] 50 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | if ( now < self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 52 - if ( now < self.start_epoch ) { [INFO] [stdout] 52 + if now < self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | if ( now == self.start_epoch ) { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - if ( now == self.start_epoch ) { [INFO] [stdout] 57 + if now == self.start_epoch { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> programs/vestingroyale/src/state/vesting_royale.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | /// Always safe and non-0, because end_epoch > start_epoch (created with saturating add) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 63 | let steps = self.end_epoch - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | /// Always safe, because initial_vest is required to be <= 10000 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | let allocatable = (10000 - self.initial_vest) as u64 * 1000; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | /// Div Rounds Down. Steps never 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 69 | let alloc_per_step:u64 = allocatable / steps; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | /// safe because we already checked that now > start_epoch [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | let passed = now - self.start_epoch; [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] --> programs/vestingroyale/src/state/vesting_royale.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | / /// epoch is about 3 days. 120 per year, so in 100 years, passed * alloc_per_step would [INFO] [stdout] 75 | | /// never exceed u64 [INFO] [stdout] | |____________________________^ [INFO] [stdout] 76 | let a: u64 = (self.initial_vest as u64 * 1000) + passed * alloc_per_step; [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: `args` [INFO] [stdout] --> programs/vestingroyale/src/instructions/take.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn handle(ctx: Context, args: TakeArgs) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustceHMcjL/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustceHMcjL/symbols.o" "/opt/rustwide/target/debug/deps/vestingroyale.vestingroyale.ea1516ca58b84ce0-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/vestingroyale.vestingroyale.ea1516ca58b84ce0-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/vestingroyale.vestingroyale.ea1516ca58b84ce0-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/vestingroyale.vestingroyale.ea1516ca58b84ce0-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/vestingroyale.vestingroyale.ea1516ca58b84ce0-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/vestingroyale.6hoj7m9k48qr0g61bt4tjgdz4.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/blake3-a1039e39cd203a5e/out" "-L" "/opt/rustwide/target/debug/build/blake3-a1039e39cd203a5e/out" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libanchor_spl-82ff2abbf2860ca2.rlib" "/opt/rustwide/target/debug/deps/libspl_token_2022-102da823ecfb87f1.rlib" "/opt/rustwide/target/debug/deps/libspl_transfer_hook_interface-4a8257f76ee1a5f8.rlib" "/opt/rustwide/target/debug/deps/libspl_tlv_account_resolution-200f1919f9ee8124.rlib" "/opt/rustwide/target/debug/deps/libspl_associated_token_account-ab69f31a3c0b0814.rlib" "/opt/rustwide/target/debug/deps/libspl_token_2022-4f5013e736210a33.rlib" "/opt/rustwide/target/debug/deps/libspl_token-fb96e80ed2eb2412.rlib" "/opt/rustwide/target/debug/deps/libspl_memo-6ee0f774af56d9a2.rlib" "/opt/rustwide/target/debug/deps/libspl_transfer_hook_interface-24110626e2b13a80.rlib" "/opt/rustwide/target/debug/deps/libspl_tlv_account_resolution-a7876181a9ab4c24.rlib" "/opt/rustwide/target/debug/deps/libspl_token_metadata_interface-1d980722430d3fdc.rlib" "/opt/rustwide/target/debug/deps/libspl_type_length_value-d93ffb217d0e8b68.rlib" "/opt/rustwide/target/debug/deps/libspl_token_group_interface-5e36e0e440e026f8.rlib" "/opt/rustwide/target/debug/deps/libspl_discriminator-d15a9ca5fb5868bc.rlib" "/opt/rustwide/target/debug/deps/libspl_pod-6a729c33ea923fa3.rlib" "/opt/rustwide/target/debug/deps/libsolana_zk_token_sdk-cc89e0953a939984.rlib" "/opt/rustwide/target/debug/deps/libmerlin-cf396073437e5bc6.rlib" "/opt/rustwide/target/debug/deps/libsolana_sdk-4be160580cac8d61.rlib" "/opt/rustwide/target/debug/deps/libpbkdf2-7529eb0358bf2ac7.rlib" "/opt/rustwide/target/debug/deps/libserde_json-0c610f18fbdf5e32.rlib" "/opt/rustwide/target/debug/deps/libitoa-a7cade3bf815672a.rlib" "/opt/rustwide/target/debug/deps/libryu-fc6cbebb9d6eeca5.rlib" "/opt/rustwide/target/debug/deps/libqstring-3d5eeaf7641a3040.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-a400589552762a21.rlib" "/opt/rustwide/target/debug/deps/libed25519_dalek_bip32-e40878a5fc5c3f6d.rlib" "/opt/rustwide/target/debug/deps/libhmac-ee260898a66a7dc9.rlib" "/opt/rustwide/target/debug/deps/libserde_with-a5688cb7f5e57fe2.rlib" "/opt/rustwide/target/debug/deps/libchrono-640e37fca793b66a.rlib" "/opt/rustwide/target/debug/deps/libsiphasher-b9c790f685f59773.rlib" "/opt/rustwide/target/debug/deps/libed25519_dalek-8e78953905a77e67.rlib" "/opt/rustwide/target/debug/deps/libed25519-de950e895bb6baf5.rlib" "/opt/rustwide/target/debug/deps/libsignature-f19c8c26dc7817ab.rlib" "/opt/rustwide/target/debug/deps/liburiparse-b0f2c8dca4cd0ba3.rlib" "/opt/rustwide/target/debug/deps/libfnv-574dedeaa4c89e1d.rlib" "/opt/rustwide/target/debug/deps/libderivation_path-f56ab6604a7848d7.rlib" "/opt/rustwide/target/debug/deps/libsha3-d071c3eea6f6752e.rlib" "/opt/rustwide/target/debug/deps/libaes_gcm_siv-38290f1a3ec5aaae.rlib" "/opt/rustwide/target/debug/deps/libaes-a0a8c9c7e197ff16.rlib" "/opt/rustwide/target/debug/deps/libpolyval-ee8774bb758fe8f6.rlib" "/opt/rustwide/target/debug/deps/libuniversal_hash-d995c57674d6f0ea.rlib" "/opt/rustwide/target/debug/deps/libctr-eacb2ce4e102334a.rlib" "/opt/rustwide/target/debug/deps/libcipher-72aca45952f64a13.rlib" "/opt/rustwide/target/debug/deps/libaead-8093627af5a8154a.rlib" "/opt/rustwide/target/debug/deps/libspl_program_error-68766824e91eb631.rlib" "/opt/rustwide/target/debug/deps/libnum_enum-562314697daab197.rlib" "/opt/rustwide/target/debug/deps/libassert_matches-87316ac06bd88b01.rlib" "/opt/rustwide/target/debug/deps/libanchor_lang-edb6c00ee3b34a09.rlib" "/opt/rustwide/target/debug/deps/libbase64-f062755f48da8a6d.rlib" "/opt/rustwide/target/debug/deps/libsolana_program-e85faa745d95f614.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1-5851eccd682e75e3.rlib" "/opt/rustwide/target/debug/deps/libbase64-e226af56d8537d02.rlib" "/opt/rustwide/target/debug/deps/libsha2-140111cd655b41b1.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-f459251d9ab59279.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-eb93d973f1fa9240.rlib" "/opt/rustwide/target/debug/deps/libblock_padding-43f3c2b167473047.rlib" "/opt/rustwide/target/debug/deps/libhmac_drbg-e9cb1d83abb2cb04.rlib" "/opt/rustwide/target/debug/deps/libhmac-567ebe21d2290a1a.rlib" "/opt/rustwide/target/debug/deps/libcrypto_mac-17e45f75953ef075.rlib" "/opt/rustwide/target/debug/deps/librand-8a35570d84b30215.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-f947264e1833a98f.rlib" "/opt/rustwide/target/debug/deps/liblibsecp256k1_core-ba648d07cb614607.rlib" "/opt/rustwide/target/debug/deps/libcrunchy-8be2c4684b4e447f.rlib" "/opt/rustwide/target/debug/deps/libcurve25519_dalek-db1770c047676a54.rlib" "/opt/rustwide/target/debug/deps/librand_core-8925522eea1f6e7d.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-b7d729790c470fc8.rlib" "/opt/rustwide/target/debug/deps/libdigest-ee41e07ba22c2893.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-2e61be03665a4f9a.rlib" "/opt/rustwide/target/debug/deps/libserde_bytes-c7b7dba28e99eec3.rlib" "/opt/rustwide/target/debug/deps/libsolana_frozen_abi-cf1c115f7d2b6b33.rlib" "/opt/rustwide/target/debug/deps/libbs58-45c8d374f81c9315.rlib" "/opt/rustwide/target/debug/deps/libmemmap2-65abe53cba52a854.rlib" "/opt/rustwide/target/debug/deps/libim-3a80608d84ef6c18.rlib" "/opt/rustwide/target/debug/deps/librand_xoshiro-b419618d3c282f54.rlib" "/opt/rustwide/target/debug/deps/librayon-7bab2ab8fefb42c6.rlib" "/opt/rustwide/target/debug/deps/librayon_core-f23d05b62c81faa8.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-c6e1785b68690343.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-c171b400ee23aaa7.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-f78a4e4154289a13.rlib" "/opt/rustwide/target/debug/deps/libsized_chunks-5dc0cf3fc9441c87.rlib" "/opt/rustwide/target/debug/deps/libbitmaps-40060d9e3fe0941c.rlib" "/opt/rustwide/target/debug/deps/libwasm_bindgen-053243ebf2146f97.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a0c642ab8f94b714.rlib" "/opt/rustwide/target/debug/deps/libbv-1e2c707d41260b10.rlib" "/opt/rustwide/target/debug/deps/libbase64-309ef582bd843d33.rlib" "/opt/rustwide/target/debug/deps/liblight_poseidon-b18cd469a3df104a.rlib" "/opt/rustwide/target/debug/deps/libblake3-ecf32d1dd4d557fb.rlib" "/opt/rustwide/target/debug/deps/libconstant_time_eq-298a8eb32ab4ced9.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-8ddae3ce25bac3b3.rlib" "/opt/rustwide/target/debug/deps/libarrayref-12dccd49f84627c2.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-b82c15677deef9e2.rlib" "/opt/rustwide/target/debug/deps/libsha3-ddd3020625b85b7f.rlib" "/opt/rustwide/target/debug/deps/libkeccak-d71113c6ace34008.rlib" "/opt/rustwide/target/debug/deps/libbincode-ee9930391bba18b5.rlib" "/opt/rustwide/target/debug/deps/libsha2-1a5c1638ade75cee.rlib" "/opt/rustwide/target/debug/deps/libcpufeatures-e58d67928e727c66.rlib" "/opt/rustwide/target/debug/deps/liblog-a00a231d50da9d95.rlib" "/opt/rustwide/target/debug/deps/libborsh-2db9395f6d5aadb3.rlib" "/opt/rustwide/target/debug/deps/libborsh-eea810e27cad3819.rlib" "/opt/rustwide/target/debug/deps/libborsh-fb36d472396f4cd2.rlib" "/opt/rustwide/target/debug/deps/libark_bn254-fd93070e4a0a22b0.rlib" "/opt/rustwide/target/debug/deps/libark_ec-d4d613e621c9e943.rlib" "/opt/rustwide/target/debug/deps/libark_poly-8d943cc8383f38bd.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-8251e3cc50fc5f21.rlib" "/opt/rustwide/target/debug/deps/libahash-80f85b6932ac24e7.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-795d6939e3fe8636.rlib" "/opt/rustwide/target/debug/deps/libzerocopy-b5de6ab072fcc516.rlib" "/opt/rustwide/target/debug/deps/libitertools-d2159bacc5a4d395.rlib" "/opt/rustwide/target/debug/deps/libeither-45104b1dbffd1cd4.rlib" "/opt/rustwide/target/debug/deps/libark_ff-da29432bc02b1cdb.rlib" "/opt/rustwide/target/debug/deps/libzeroize-a8f10e366e74ab21.rlib" "/opt/rustwide/target/debug/deps/libark_serialize-0493ee59b142d584.rlib" "/opt/rustwide/target/debug/deps/libdigest-d7eba2ff2f0c8e65.rlib" "/opt/rustwide/target/debug/deps/libsubtle-b6922dfdcb899328.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-4416c7c01eddbe11.rlib" "/opt/rustwide/target/debug/deps/libcrypto_common-cc6b04fa3c3311f9.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-36d000e97c024d0b.rlib" "/opt/rustwide/target/debug/deps/libtypenum-5326f72807cfe834.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-6f47d2cfe548ce6c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-aa00e66f760e5d94.rlib" "/opt/rustwide/target/debug/deps/libark_std-ba2c83853a2e18ae.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-d24cc5ca30a6763d.rlib" "/opt/rustwide/target/debug/deps/librand-92c242799ae1c251.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-65adcfcac84c5661.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-905fd835b337451d.rlib" "/opt/rustwide/target/debug/deps/librand_core-74c8183e52aea525.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-85c3cd77567c7698.rlib" "/opt/rustwide/target/debug/deps/liblibc-31f2fca5370a751f.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-57bf25c23e31efdb.rlib" "/opt/rustwide/target/debug/deps/libserde-7ef7486afb3d26c0.rlib" "/opt/rustwide/target/debug/deps/libthiserror-e17074c82463c361.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-3c81425daee5e787.rlib" "/opt/rustwide/target/debug/deps/libbytemuck-007be95a1801264a.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-de48b8168d6cf4fa.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-9f3477fb95a0bba7.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-210d920812faea91.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f3d3451767410a17.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-1a79dd36d08251de.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-886230e7120831b2.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2caea079085a58a2.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a9d7d97cdc65a449.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5727477b0a78105a.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7e555563aa211118.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c8f13465f1a795b2.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-ee5b5774583426df.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-14df174c91007922.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-e8bfe52be756260a.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-6275035a459b3ada.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b6892f3c52c68f01.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f72b956e24d1de70.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-632ae0f28c5e55ff.rlib" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e8b7e96e438f08f6.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/b642703cf9526da1e72c0b6755753b939a9c6b6d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libvestingroyale.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: final link failed: No space left on device [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vestingroyale` (lib) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6bad961499fb6b503647e2b0122fbe019736723b919ba0916f021f61d0b5729b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bad961499fb6b503647e2b0122fbe019736723b919ba0916f021f61d0b5729b", kill_on_drop: false }` [INFO] [stdout] 6bad961499fb6b503647e2b0122fbe019736723b919ba0916f021f61d0b5729b