[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 1.83.0 for beta-1.84.0-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdefi-protocols%2Frust-presale" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/defi-protocols/rust-presale on toolchain 1.83.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.83.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+1.83.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded without-alloc v0.2.1 [INFO] [stderr] Downloaded serum_dex v0.4.0 [INFO] [stderr] Downloaded anchor-spl v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6937d12aee2a9cf9db91cd3fdbf12bbb6b546f7dfaa8a8f7b44a3f3da764b1e2 [INFO] running `Command { std: "docker" "start" "-a" "6937d12aee2a9cf9db91cd3fdbf12bbb6b546f7dfaa8a8f7b44a3f3da764b1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6937d12aee2a9cf9db91cd3fdbf12bbb6b546f7dfaa8a8f7b44a3f3da764b1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6937d12aee2a9cf9db91cd3fdbf12bbb6b546f7dfaa8a8f7b44a3f3da764b1e2", kill_on_drop: false }` [INFO] [stdout] 6937d12aee2a9cf9db91cd3fdbf12bbb6b546f7dfaa8a8f7b44a3f3da764b1e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 352294d0d169fd1f3ed5f5f77776f655dccae615b5bd4d02cc2f5f010d609500 [INFO] running `Command { std: "docker" "start" "-a" "352294d0d169fd1f3ed5f5f77776f655dccae615b5bd4d02cc2f5f010d609500", 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 version_check v0.9.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling opaque-debug v0.3.0 [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 anyhow v1.0.45 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling solana-frozen-abi v1.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling solana-program v1.8.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling zeroize v1.4.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling without-alloc v0.2.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling solana-logger v1.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling solana-sdk-macro v1.8.2 [INFO] [stderr] Compiling num-derive v0.3.3 [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 bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [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 hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [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 borsh-derive v0.9.1 [INFO] [stderr] Compiling num_enum_derive v0.5.4 [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 v0.9.1 [INFO] [stderr] Compiling num_enum v0.5.4 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program 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-derive-accounts 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 41.85s [INFO] running `Command { std: "docker" "inspect" "352294d0d169fd1f3ed5f5f77776f655dccae615b5bd4d02cc2f5f010d609500", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352294d0d169fd1f3ed5f5f77776f655dccae615b5bd4d02cc2f5f010d609500", kill_on_drop: false }` [INFO] [stdout] 352294d0d169fd1f3ed5f5f77776f655dccae615b5bd4d02cc2f5f010d609500 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 947609b670e867359396df4cbd804eb885348f7ce53fa171f5f29e12c7132797 [INFO] running `Command { std: "docker" "start" "-a" "947609b670e867359396df4cbd804eb885348f7ce53fa171f5f29e12c7132797", kill_on_drop: false }` [INFO] [stderr] Compiling fraction-presale v0.1.0 (/opt/rustwide/workdir/programs/fraction-presale) [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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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 1.97s [INFO] running `Command { std: "docker" "inspect" "947609b670e867359396df4cbd804eb885348f7ce53fa171f5f29e12c7132797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "947609b670e867359396df4cbd804eb885348f7ce53fa171f5f29e12c7132797", kill_on_drop: false }` [INFO] [stdout] 947609b670e867359396df4cbd804eb885348f7ce53fa171f5f29e12c7132797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+1.83.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b8e338626f46a258ac91073b572d64726874e7520f56eef8bada32442836236 [INFO] running `Command { std: "docker" "start" "-a" "3b8e338626f46a258ac91073b572d64726874e7520f56eef8bada32442836236", kill_on_drop: false }` [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: 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: 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: 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: 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: 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: 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: 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: 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: 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 14 warnings (run `cargo fix --lib -p fraction-presale` to apply 9 suggestions) [INFO] [stderr] warning: `fraction-presale` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fraction_presale-68d99e38dfdefd51) [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 fraction_presale [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" "3b8e338626f46a258ac91073b572d64726874e7520f56eef8bada32442836236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8e338626f46a258ac91073b572d64726874e7520f56eef8bada32442836236", kill_on_drop: false }` [INFO] [stdout] 3b8e338626f46a258ac91073b572d64726874e7520f56eef8bada32442836236