[INFO] cloning repository https://github.com/defi-protocols/rust-presale [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/defi-protocols/rust-presale" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefi-protocols%2Frust-presale", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefi-protocols%2Frust-presale'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75a9c72ac04642b2fb79c8e2236a36fc03b55cc7 [INFO] testing defi-protocols/rust-presale against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefi-protocols%2Frust-presale" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/defi-protocols/rust-presale [INFO] finished tweaking git repo https://github.com/defi-protocols/rust-presale [INFO] tweaked toml for git repo https://github.com/defi-protocols/rust-presale written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/defi-protocols/rust-presale on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/defi-protocols/rust-presale 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anchor-spl v0.18.0 [INFO] [stderr] Downloaded solana-sdk-macro v1.8.2 [INFO] [stderr] Downloaded bs58 v0.3.1 [INFO] [stderr] Downloaded rustversion v1.0.5 [INFO] [stderr] Downloaded solana-logger v1.8.2 [INFO] [stderr] Downloaded anchor-attribute-event v0.18.0 [INFO] [stderr] Downloaded anchor-attribute-access-control v0.18.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded borsh v0.9.1 [INFO] [stderr] Downloaded spl-token v3.2.0 [INFO] [stderr] Downloaded libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Downloaded borsh-derive v0.9.1 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded env_logger v0.8.4 [INFO] [stderr] Downloaded anchor-attribute-interface v0.18.0 [INFO] [stderr] Downloaded anchor-attribute-program v0.18.0 [INFO] [stderr] Downloaded anchor-attribute-account v0.18.0 [INFO] [stderr] Downloaded zeroize v1.4.2 [INFO] [stderr] Downloaded anchor-lang v0.18.0 [INFO] [stderr] Downloaded anchor-syn v0.18.0 [INFO] [stderr] Downloaded anyhow v1.0.45 [INFO] [stderr] Downloaded without-alloc v0.2.1 [INFO] [stderr] Downloaded serum_dex v0.4.0 [INFO] [stderr] Downloaded bv v0.11.1 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded safe-transmute v0.11.2 [INFO] [stderr] Downloaded alloc-traits v0.1.1 [INFO] [stderr] Downloaded libsecp256k1-core v0.2.2 [INFO] [stderr] Downloaded libsecp256k1 v0.5.0 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded anchor-attribute-error v0.18.0 [INFO] [stderr] Downloaded spl-associated-token-account v1.0.3 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded bytemuck_derive v1.0.1 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded solana-program v1.8.2 [INFO] [stderr] Downloaded anchor-attribute-state v0.18.0 [INFO] [stderr] Downloaded anchor-derive-accounts v0.18.0 [INFO] [stderr] Downloaded field-offset v0.3.4 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded borsh-derive-internal v0.9.1 [INFO] [stderr] Downloaded borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Downloaded libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.15 [INFO] [stderr] Downloaded solana-frozen-abi v1.8.2 [INFO] [stderr] Downloaded feature-probe v0.1.1 [INFO] [stderr] Downloaded libc v0.2.106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e8cd930c325b88315e22aefa8e5392f0e5e435e00612df1a71211a0903ab1c1 [INFO] running `Command { std: "docker" "start" "-a" "9e8cd930c325b88315e22aefa8e5392f0e5e435e00612df1a71211a0903ab1c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e8cd930c325b88315e22aefa8e5392f0e5e435e00612df1a71211a0903ab1c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8cd930c325b88315e22aefa8e5392f0e5e435e00612df1a71211a0903ab1c1", kill_on_drop: false }` [INFO] [stdout] 9e8cd930c325b88315e22aefa8e5392f0e5e435e00612df1a71211a0903ab1c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9927249b3b35a22afec7802348e91105feefd041d62ffab061a840296083d0e2 [INFO] running `Command { std: "docker" "start" "-a" "9927249b3b35a22afec7802348e91105feefd041d62ffab061a840296083d0e2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling solana-frozen-abi v1.8.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling solana-program v1.8.2 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling solana-logger v1.8.2 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling without-alloc v0.2.1 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.8.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [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 sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling anchor-syn v0.18.0 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.0 [INFO] [stderr] Compiling anchor-attribute-error v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program v0.18.0 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.0 [INFO] [stderr] Compiling anchor-lang v0.18.0 [INFO] [stderr] Compiling spl-token v3.2.0 [INFO] [stderr] Compiling spl-associated-token-account v1.0.3 [INFO] [stderr] Compiling serum_dex v0.4.0 [INFO] [stderr] Compiling anchor-spl v0.18.0 [INFO] [stderr] Compiling fraction-presale v0.1.0 (/opt/rustwide/workdir/programs/fraction-presale) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer`, and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::*` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/fraction-presale/src/instructions/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use initialize_presale::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use unlock_fractions::*; [INFO] [stdout] | ------------------- but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pda_bump: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_fractions_for_sale(ctx: Context, pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn init_vesting_account(ctx: Context, vesting_pda_bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:52:86 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn purchase_fractions(ctx: Context, presale_pda_bump: u8, vesting_pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 16s [INFO] running `Command { std: "docker" "inspect" "9927249b3b35a22afec7802348e91105feefd041d62ffab061a840296083d0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9927249b3b35a22afec7802348e91105feefd041d62ffab061a840296083d0e2", kill_on_drop: false }` [INFO] [stdout] 9927249b3b35a22afec7802348e91105feefd041d62ffab061a840296083d0e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d6a3ee344a8fb24640a74c25a17aff7e4abb353356dfdac7e9f7533c8d2c309 [INFO] running `Command { std: "docker" "start" "-a" "8d6a3ee344a8fb24640a74c25a17aff7e4abb353356dfdac7e9f7533c8d2c309", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer`, and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::*` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/fraction-presale/src/instructions/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use initialize_presale::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use unlock_fractions::*; [INFO] [stdout] | ------------------- but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fraction-presale v0.1.0 (/opt/rustwide/workdir/programs/fraction-presale) [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pda_bump: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_fractions_for_sale(ctx: Context, pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn init_vesting_account(ctx: Context, vesting_pda_bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:52:86 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn purchase_fractions(ctx: Context, presale_pda_bump: u8, vesting_pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/initialize_presale.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/add_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/remove_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer`, and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/start_presale.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/collect_funds.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transfer` and `self` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::errors::*` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::errors::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mint` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:2:48 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Accounts)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> programs/fraction-presale/src/instructions/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use initialize_presale::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stdout] ... [INFO] [stdout] 17 | pub use unlock_fractions::*; [INFO] [stdout] | ------------------- but the name `handler` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pda_bump: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:29:63 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_fractions_for_sale(ctx: Context, pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn init_vesting_account(ctx: Context, vesting_pda_bump: u8) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vesting_pda_bump` [INFO] [stdout] --> programs/fraction-presale/src/lib.rs:52:86 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn purchase_fractions(ctx: Context, presale_pda_bump: u8, vesting_pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.88s [INFO] running `Command { std: "docker" "inspect" "8d6a3ee344a8fb24640a74c25a17aff7e4abb353356dfdac7e9f7533c8d2c309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d6a3ee344a8fb24640a74c25a17aff7e4abb353356dfdac7e9f7533c8d2c309", kill_on_drop: false }` [INFO] [stdout] 8d6a3ee344a8fb24640a74c25a17aff7e4abb353356dfdac7e9f7533c8d2c309 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d96c1eb84fed4183e2159f6114266ca4f9529d4909d713b6c70eb9506383586e [INFO] running `Command { std: "docker" "start" "-a" "d96c1eb84fed4183e2159f6114266ca4f9529d4909d713b6c70eb9506383586e", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_heap_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_heap_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `$crate::custom_panic_default` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `$crate::custom_panic_default` may come from an old version of the `solana_program` crate, try updating your dependency with `cargo update -p solana_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Transfer` and `self` [INFO] [stderr] --> programs/fraction-presale/src/instructions/initialize_presale.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/initialize_presale.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mint` [INFO] [stderr] --> programs/fraction-presale/src/instructions/add_fractions.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/add_fractions.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mint` [INFO] [stderr] --> programs/fraction-presale/src/instructions/remove_fractions.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/remove_fractions.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Mint`, `TokenAccount`, `Token`, `Transfer`, and `self` [INFO] [stderr] --> programs/fraction-presale/src/instructions/start_presale.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/start_presale.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mint` [INFO] [stderr] --> programs/fraction-presale/src/instructions/collect_funds.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/collect_funds.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Transfer` and `self` [INFO] [stderr] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:2:25 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::errors::*` [INFO] [stderr] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::errors::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/init_vesting_account.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mint` [INFO] [stderr] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/purchase_fractions.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mint` [INFO] [stderr] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:2:48 [INFO] [stderr] | [INFO] [stderr] 2 | use anchor_spl::token::{self, Transfer, Token, Mint, TokenAccount}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/instructions/unlock_fractions.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Accounts)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Accounts` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Accounts` may come from an old version of the `anchor_derive_accounts` crate, try updating your dependency with `cargo update -p anchor_derive_accounts` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Accounts` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> programs/fraction-presale/src/instructions/mod.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub use initialize_presale::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the name `handler` in the value namespace is first re-exported here [INFO] [stderr] ... [INFO] [stderr] 17 | pub use unlock_fractions::*; [INFO] [stderr] | ------------------- but the name `handler` in the value namespace is also re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `anchor-debug` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | #[program] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cpi`, `default`, `no-entrypoint`, and `no-idl` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `program` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `program` may come from an old version of the `anchor_attribute_program` crate, try updating your dependency with `cargo update -p anchor_attribute_program` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pda_bump` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | pda_bump: u8, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pda_bump` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:29:63 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn add_fractions_for_sale(ctx: Context, pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pda_bump` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vesting_pda_bump` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:47:60 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn init_vesting_account(ctx: Context, vesting_pda_bump: u8) -> ProgramResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vesting_pda_bump` [INFO] [stderr] --> programs/fraction-presale/src/lib.rs:52:86 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn purchase_fractions(ctx: Context, presale_pda_bump: u8, vesting_pda_bump: u8, amount: u64) -> ProgramResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vesting_pda_bump` [INFO] [stderr] [INFO] [stderr] warning: `fraction-presale` (lib) generated 25 warnings (run `cargo fix --lib -p fraction-presale` to apply 9 suggestions) [INFO] [stderr] warning: `fraction-presale` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fraction_presale-75d6c6ec02f08dd1) [INFO] [stdout] running 1 test [INFO] [stdout] test test_id ... ok [INFO] [stderr] Doc-tests fraction_presale [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "d96c1eb84fed4183e2159f6114266ca4f9529d4909d713b6c70eb9506383586e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96c1eb84fed4183e2159f6114266ca4f9529d4909d713b6c70eb9506383586e", kill_on_drop: false }` [INFO] [stdout] d96c1eb84fed4183e2159f6114266ca4f9529d4909d713b6c70eb9506383586e