[INFO] cloning repository https://github.com/Shradhesh71/pinocchio_amm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shradhesh71/pinocchio_amm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShradhesh71%2Fpinocchio_amm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShradhesh71%2Fpinocchio_amm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 374eda22e4e852736c73fc65626a9a05c5c3ad15 [INFO] checking Shradhesh71/pinocchio_amm against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShradhesh71%2Fpinocchio_amm" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shradhesh71/pinocchio_amm [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Shradhesh71/pinocchio_amm [INFO] tweaked toml for git repo https://github.com/Shradhesh71/pinocchio_amm written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shradhesh71/pinocchio_amm on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Shradhesh71/pinocchio_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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb [INFO] running `Command { std: "docker" "start" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.26 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.26 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling solana-sdk v1.18.26 [INFO] [stderr] Checking derivation-path v0.2.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling solana-program v1.18.26 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking five8_core v0.1.2 [INFO] [stderr] Checking pinocchio v0.8.4 [INFO] [stderr] Checking five8_const v0.1.4 [INFO] [stderr] Checking pinocchio v0.9.0 [INFO] [stderr] Checking sha2-const-stable v0.1.0 [INFO] [stderr] Checking solana-security-txt v1.1.1 [INFO] [stderr] Checking pinocchio-pubkey v0.2.4 [INFO] [stderr] Checking pinocchio-associated-token-account v0.1.1 [INFO] [stderr] Checking pinocchio-system v0.2.3 [INFO] [stderr] Checking pinocchio-token v0.3.0 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Checking pinocchio-pubkey v0.3.0 [INFO] [stderr] Checking pinocchio_amm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [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::default_allocator` crate for guidance on how handle this unexpected cfg [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::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [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::default_allocator` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_allocator` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `solana` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `hyperlight`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `ps3`, `psp`, `psx`, `qnx`, `qtee`, and `qurt` and 18 more [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::default_panic_handler` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::default_panic_handler` which comes from the expansion of the macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | return Err(ProgramError::IllegalOwner.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 74 - return Err(ProgramError::IllegalOwner.into()); [INFO] [stdout] 74 + return Err(ProgramError::IllegalOwner); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 74 - return Err(ProgramError::IllegalOwner.into()); [INFO] [stdout] 74 + return Err(>::into(ProgramError::IllegalOwner)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `ProgramError` [INFO] [stdout] --> src/instructions/helper.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 77 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 77 + return Err(ProgramError::InvalidAccountData); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 77 - return Err(ProgramError::InvalidAccountData.into()); [INFO] [stdout] 77 + return Err(>::into(ProgramError::InvalidAccountData)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pinocchio_amm` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb", kill_on_drop: false }` [INFO] [stdout] 5cf79b2fb07aaf286231b3a67f3926d65ddcb25282219f2b995907307e73b7cb