[INFO] cloning repository https://github.com/Cloutage/mvp_contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cloutage/mvp_contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloutage%2Fmvp_contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloutage%2Fmvp_contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 520c9e57af7ac0f364748602dfa1ccd392dd6a82 [INFO] checking Cloutage/mvp_contract against master#ad0d4190facd509a5c79dce427bb7deb2824046e for pr-92472 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCloutage%2Fmvp_contract" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cloutage/mvp_contract on toolchain ad0d4190facd509a5c79dce427bb7deb2824046e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ad0d4190facd509a5c79dce427bb7deb2824046e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cloutage/mvp_contract [INFO] finished tweaking git repo https://github.com/Cloutage/mvp_contract [INFO] tweaked toml for git repo https://github.com/Cloutage/mvp_contract written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/Cloutage/mvp_contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ad0d4190facd509a5c79dce427bb7deb2824046e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ad0d4190facd509a5c79dce427bb7deb2824046e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e75dc946d0b772ac1561619ae1fc61fe4ab3ed70bdbf16bfa2135758bbea22f [INFO] running `Command { std: "docker" "start" "-a" "5e75dc946d0b772ac1561619ae1fc61fe4ab3ed70bdbf16bfa2135758bbea22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e75dc946d0b772ac1561619ae1fc61fe4ab3ed70bdbf16bfa2135758bbea22f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e75dc946d0b772ac1561619ae1fc61fe4ab3ed70bdbf16bfa2135758bbea22f", kill_on_drop: false }` [INFO] [stdout] 5e75dc946d0b772ac1561619ae1fc61fe4ab3ed70bdbf16bfa2135758bbea22f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+ad0d4190facd509a5c79dce427bb7deb2824046e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e0788d419c3c608754af9f45a9fd75b503ee572427aafd95d08054fc6483858 [INFO] running `Command { std: "docker" "start" "-a" "4e0788d419c3c608754af9f45a9fd75b503ee572427aafd95d08054fc6483858", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking zeroize v1.4.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking safe-transmute v0.11.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.8.2 [INFO] [stderr] Compiling solana-frozen-abi v1.8.2 [INFO] [stderr] Compiling solana-program v1.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking without-alloc v0.2.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking curve25519-dalek v2.1.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking solana-logger v1.8.2 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [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] Checking bytemuck v1.7.2 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking 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 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] Checking borsh v0.9.1 [INFO] [stderr] Compiling anchor-derive-accounts v0.18.0 [INFO] [stderr] Compiling anchor-attribute-interface v0.18.0 [INFO] [stderr] Compiling anchor-attribute-state v0.18.0 [INFO] [stderr] Compiling anchor-attribute-access-control v0.18.0 [INFO] [stderr] Compiling anchor-attribute-event v0.18.0 [INFO] [stderr] Compiling anchor-attribute-error v0.18.0 [INFO] [stderr] Compiling anchor-attribute-account v0.18.0 [INFO] [stderr] Compiling anchor-attribute-program v0.18.0 [INFO] [stderr] Checking num_enum v0.5.4 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Checking spl-token v3.2.0 [INFO] [stderr] Checking anchor-lang v0.18.0 [INFO] [stderr] Checking serum_dex v0.4.0 [INFO] [stderr] Checking spl-associated-token-account v1.0.3 [INFO] [stderr] Checking anchor-spl v0.18.0 [INFO] [stderr] Checking pool v0.1.0 (/opt/rustwide/workdir/programs/pool) [INFO] [stdout] warning: unused imports: `SetAuthority`, `TokenAccount`, `Token`, `Transfer`, `self` [INFO] [stdout] --> programs/pool/src/lib.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, SetAuthority, Token, TokenAccount, Transfer}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token::instruction::AuthorityType` [INFO] [stdout] --> programs/pool/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spl_token::instruction::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> programs/pool/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SetAuthority`, `TokenAccount`, `Token`, `Transfer`, `self` [INFO] [stdout] --> programs/pool/src/lib.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use anchor_spl::token::{self, SetAuthority, Token, TokenAccount, Transfer}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token::instruction::AuthorityType` [INFO] [stdout] --> programs/pool/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use spl_token::instruction::AuthorityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> programs/pool/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> programs/pool/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | bump: u8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bump1: u8, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | bump1: u8 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | bump1: u8 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump` [INFO] [stdout] --> programs/pool/src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | bump: u8 [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bump` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | bump1: u8, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | bump1: u8 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bump1` [INFO] [stdout] --> programs/pool/src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | bump1: u8 [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bump1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POOL_PDA_SEED` [INFO] [stdout] --> programs/pool/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | const POOL_PDA_SEED: &[u8] = b"pool"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POOL_PDA_SEED` [INFO] [stdout] --> programs/pool/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | const POOL_PDA_SEED: &[u8] = b"pool"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "4e0788d419c3c608754af9f45a9fd75b503ee572427aafd95d08054fc6483858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e0788d419c3c608754af9f45a9fd75b503ee572427aafd95d08054fc6483858", kill_on_drop: false }` [INFO] [stdout] 4e0788d419c3c608754af9f45a9fd75b503ee572427aafd95d08054fc6483858