[INFO] cloning repository https://github.com/AnujJha88/simple-AMM
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnujJha88/simple-AMM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnujJha88%2Fsimple-AMM", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnujJha88%2Fsimple-AMM'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b90775be706784bc12c5cc29fe0b9c51b9270a0c
[INFO] checking AnujJha88/simple-AMM against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnujJha88%2Fsimple-AMM" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/AnujJha88/simple-AMM
[INFO] finished tweaking git repo https://github.com/AnujJha88/simple-AMM
[INFO] tweaked toml for git repo https://github.com/AnujJha88/simple-AMM written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnujJha88/simple-AMM on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnujJha88/simple-AMM 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded anchor-derive-space v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-event v0.32.1
[INFO] [stderr]   Downloaded anchor-derive-serde v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-error v0.32.1
[INFO] [stderr]   Downloaded solana-invoke v0.4.0
[INFO] [stderr]   Downloaded anchor-syn v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-access-control v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-program v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-account v0.32.1
[INFO] [stderr]   Downloaded anchor-lang v0.32.1
[INFO] [stderr]   Downloaded anchor-attribute-constant v0.32.1
[INFO] [stderr]   Downloaded anchor-derive-accounts v0.32.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1ed66abdb04c4ec62a6b32505623c37b0b31cb4b74c8253beab91f89c99409bc
[INFO] running `Command { std: "docker" "start" "-a" "1ed66abdb04c4ec62a6b32505623c37b0b31cb4b74c8253beab91f89c99409bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1ed66abdb04c4ec62a6b32505623c37b0b31cb4b74c8253beab91f89c99409bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ed66abdb04c4ec62a6b32505623c37b0b31cb4b74c8253beab91f89c99409bc", kill_on_drop: false }`
[INFO] [stdout] 1ed66abdb04c4ec62a6b32505623c37b0b31cb4b74c8253beab91f89c99409bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 62680544aab5688a81d2c6a91b6a1b6b7e1ce1b655e5959f70bbe4e9341677d0
[INFO] running `Command { std: "docker" "start" "-a" "62680544aab5688a81d2c6a91b6a1b6b7e1ce1b655e5959f70bbe4e9341677d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking five8_core v0.1.2
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling toml_datetime v0.7.3
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling borsh v1.5.7
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling indexmap v2.12.0
[INFO] [stderr]     Checking five8 v0.2.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking solana-atomic-u64 v2.2.1
[INFO] [stderr]     Checking solana-sanitize v2.2.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]     Checking solana-decode-error v2.3.0
[INFO] [stderr]     Checking five8_const v0.1.4
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling toml_parser v1.0.4
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking solana-msg v2.2.1
[INFO] [stderr]     Checking solana-program-memory v2.3.1
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]     Checking serde_bytes v0.11.19
[INFO] [stderr]     Checking solana-define-syscall v2.3.0
[INFO] [stderr]     Checking solana-program-option v2.2.1
[INFO] [stderr]    Compiling toml_edit v0.23.7
[INFO] [stderr]    Compiling proc-macro-crate v3.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling borsh-derive v1.5.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling solana-sdk-macro v2.2.1
[INFO] [stderr]    Compiling borsh-derive-internal v0.10.4
[INFO] [stderr]     Checking bytemuck v1.24.0
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.10.4
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling anchor-derive-space v0.32.1
[INFO] [stderr]     Checking solana-hash v2.3.0
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking solana-fee-calculator v2.2.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling anchor-syn v0.32.1
[INFO] [stderr]    Compiling anchor-lang-idl-spec v0.1.0
[INFO] [stderr]     Checking solana-sha256-hasher v2.3.0
[INFO] [stderr]    Compiling anchor-lang-idl v0.1.2
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.10.4
[INFO] [stderr]     Checking borsh v0.10.4
[INFO] [stderr]     Checking solana-pubkey v2.4.0
[INFO] [stderr]     Checking solana-sdk-ids v2.2.1
[INFO] [stderr]     Checking solana-instruction v2.3.0
[INFO] [stderr]     Checking solana-sysvar-id v2.2.1
[INFO] [stderr]     Checking solana-feature-gate-interface v2.2.2
[INFO] [stderr]     Checking solana-clock v2.2.2
[INFO] [stderr]     Checking solana-slot-history v2.2.1
[INFO] [stderr]     Checking solana-rent v2.2.1
[INFO] [stderr]     Checking solana-last-restart-slot v2.2.1
[INFO] [stderr]     Checking solana-slot-hashes v2.2.1
[INFO] [stderr]     Checking solana-epoch-rewards v2.2.1
[INFO] [stderr]     Checking solana-epoch-schedule v2.2.1
[INFO] [stderr]     Checking solana-program-error v2.2.2
[INFO] [stderr]     Checking solana-system-interface v1.0.0
[INFO] [stderr]     Checking solana-serialize-utils v2.2.1
[INFO] [stderr]     Checking solana-stable-layout v2.2.1
[INFO] [stderr]     Checking solana-account-info v2.3.0
[INFO] [stderr]     Checking solana-program-pack v2.2.1
[INFO] [stderr]     Checking solana-cpi v2.2.1
[INFO] [stderr]     Checking solana-program-entrypoint v2.3.0
[INFO] [stderr]     Checking solana-instructions-sysvar v2.2.2
[INFO] [stderr]     Checking solana-invoke v0.4.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-account v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-event v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-constant v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.32.1
[INFO] [stderr]    Compiling anchor-derive-serde v0.32.1
[INFO] [stderr]    Compiling anchor-attribute-error v0.32.1
[INFO] [stderr]     Checking solana-stake-interface v1.2.1
[INFO] [stderr]     Checking solana-loader-v3-interface v3.0.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.32.1
[INFO] [stderr]     Checking solana-sysvar v2.3.0
[INFO] [stderr]     Checking anchor-lang v0.32.1
[INFO] [stderr]     Checking simple_amm v0.1.0 (/opt/rustwide/workdir/programs/simple_amm)
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod simple_amm{`
[INFO] [stdout]   |                    ^
[INFO] [stdout]   |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]   |
[INFO] [stdout] 7 - pub mod simple_amm{`
[INFO] [stdout] 7 + pub mod simple_amm{'
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unknown start of token: `
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod simple_amm{`
[INFO] [stdout]   |                    ^
[INFO] [stdout]   |
[INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not
[INFO] [stdout]   |
[INFO] [stdout] 7 - pub mod simple_amm{`
[INFO] [stdout] 7 + pub mod simple_amm{'
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ could not find `__client_accounts_create_pool` in the crate root
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:6:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ could not find `__client_accounts_swap` in the crate root
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor__spl::token::{self,Token,TokenAccount,Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor__spl`, use `cargo add anchor__spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor__spl`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor__spl::token::{self,Token,TokenAccount,Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor__spl`, use `cargo add anchor__spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor__spl::token::{self,Token,TokenAccount,Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor__spl`, use `cargo add anchor__spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor__spl`
[INFO] [stdout]  --> programs/simple_amm/src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor__spl::token::{self,Token,TokenAccount,Transfer};
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `anchor__spl`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `anchor__spl`, use `cargo add anchor__spl` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `integer_sqrt` found for type `u128` in the current scope
[INFO] [stdout]   --> programs/simple_amm/src/lib.rs:19:87
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let initial_lp_tokens=(token_a as u128).checked_mul(token_b as u128).unwrap().integer_sqrt() as u64;
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^ method not found in `u128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> programs/simple_amm/src/lib.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn initialize(ctx:Context<Initialize>)->Result<()>{
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple_amm` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no method named `integer_sqrt` found for type `u128` in the current scope
[INFO] [stdout]   --> programs/simple_amm/src/lib.rs:19:87
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let initial_lp_tokens=(token_a as u128).checked_mul(token_b as u128).unwrap().integer_sqrt() as u64;
[INFO] [stdout]    |                                                                                       ^^^^^^^^^^^^ method not found in `u128`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> programs/simple_amm/src/lib.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn initialize(ctx:Context<Initialize>)->Result<()>{
[INFO] [stdout]    |                       ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple_amm` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "62680544aab5688a81d2c6a91b6a1b6b7e1ce1b655e5959f70bbe4e9341677d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62680544aab5688a81d2c6a91b6a1b6b7e1ce1b655e5959f70bbe4e9341677d0", kill_on_drop: false }`
[INFO] [stdout] 62680544aab5688a81d2c6a91b6a1b6b7e1ce1b655e5959f70bbe4e9341677d0
