[INFO] cloning repository https://github.com/deanmlittle/native-amm-2024 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deanmlittle/native-amm-2024" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1278324550c368c3b151c8e08021e32f4f993741 [INFO] building deanmlittle/native-amm-2024 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024" "/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/deanmlittle/native-amm-2024 [INFO] finished tweaking git repo https://github.com/deanmlittle/native-amm-2024 [INFO] tweaked toml for git repo https://github.com/deanmlittle/native-amm-2024 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deanmlittle/native-amm-2024 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/deanmlittle/native-amm-2024 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-2-tc2/source/Cargo.toml: unused manifest key: workspace.authors [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ff0ba235165a0387a4be6492b965a3782f3533b163dd382dd5b51f0a5378815 [INFO] running `Command { std: "docker" "start" "-a" "8ff0ba235165a0387a4be6492b965a3782f3533b163dd382dd5b51f0a5378815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ff0ba235165a0387a4be6492b965a3782f3533b163dd382dd5b51f0a5378815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff0ba235165a0387a4be6492b965a3782f3533b163dd382dd5b51f0a5378815", kill_on_drop: false }` [INFO] [stdout] 8ff0ba235165a0387a4be6492b965a3782f3533b163dd382dd5b51f0a5378815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b45237ef18050096661be61f4763eac3b0f310ae344b144bf5e72e774ba800 [INFO] running `Command { std: "docker" "start" "-a" "d1b45237ef18050096661be61f4763eac3b0f310ae344b144bf5e72e774ba800", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling winnow v0.6.19 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling solana-program v2.0.13 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling solana-sdk v2.0.13 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/crates/constant-product-curve) [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling borsh-derive-internal v0.10.4 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling solana-sdk-macro v2.0.13 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling native-amm-macros v0.1.0 (/opt/rustwide/workdir/crates/native-amm-macros) [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [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 inout v0.1.3 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling borsh-derive v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.0 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling spl-program-error v0.5.0 [INFO] [stderr] Compiling spl-discriminator v0.3.0 [INFO] [stderr] Compiling solana-curve25519 v2.0.13 [INFO] [stderr] Compiling spl-token v6.0.0 [INFO] [stderr] Compiling spl-memo v5.0.0 [INFO] [stderr] Compiling solana-invoke v0.2.0 [INFO] [stderr] Compiling solana-zk-sdk v2.0.13 [INFO] [stderr] Compiling spl-pod v0.4.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-ciphertext-arithmetic v0.1.0 [INFO] [stderr] Compiling spl-type-length-value v0.6.0 [INFO] [stderr] Compiling spl-token-group-interface v0.4.2 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.8.1 [INFO] [stderr] Compiling spl-token-metadata-interface v0.5.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.8.2 [INFO] [stderr] Compiling spl-token-2022 v5.0.2 [INFO] [stderr] Compiling native-amm-2024 v0.1.0 (/opt/rustwide/workdir/programs/native-amm-2024) [INFO] [stdout] warning: unexpected `cfg` condition value: `custom-heap` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::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: this warning originates in the macro `$crate::custom_heap_default` 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: `custom-panic` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | entrypoint!(process_instruction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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 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] --> programs/native-amm-2024/src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | 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`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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::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 macro `entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spl_token_2022::extension::confidential_transfer::instruction::deposit` [INFO] [stdout] --> programs/native-amm-2024/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use spl_token_2022::extension::confidential_transfer::instruction::deposit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Withdraw` [INFO] [stdout] --> programs/native-amm-2024/src/lock.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Config, Withdraw}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> programs/native-amm-2024/src/initialize.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | padding, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `padding: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl AMMInstructions { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 30 | pub fn serialize(&self, ix: T) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Initialize { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | / #[repr(C)] [INFO] [stdout] 39 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 40 | | pub struct Initialize { [INFO] [stdout] 41 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 44 | | pub padding: [u8; 6], [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Deposit { [INFO] [stdout] | ^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / #[repr(C)] [INFO] [stdout] 48 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 49 | | pub struct Deposit { [INFO] [stdout] 50 | | pub amount: u64, // Amount of LP token to claim [INFO] [stdout] ... | [INFO] [stdout] 53 | | pub expiration: i64, [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Config { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/state.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #[repr(C)] [INFO] [stdout] 19 | | #[derive(Clone, Copy, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 20 | | pub struct Config { [INFO] [stdout] 21 | | pub seed: u64, [INFO] [stdout] ... | [INFO] [stdout] 31 | | pub padding: [u8; 1], [INFO] [stdout] 32 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Withdraw { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / #[repr(C)] [INFO] [stdout] 57 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 58 | | pub struct Withdraw { [INFO] [stdout] 59 | | pub amount: u64, // Amount of LP token to burn [INFO] [stdout] ... | [INFO] [stdout] 62 | | pub expiration: i64, [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Swap { [INFO] [stdout] | ^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> programs/native-amm-2024/src/instructions.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / #[repr(C)] [INFO] [stdout] 66 | | #[derive(Clone, Copy, PartialEq, Eq, Pod, Zeroable, TryFromBytes)] [INFO] [stdout] 67 | | pub struct Swap { [INFO] [stdout] 68 | | pub amount: u64, // Amount of tokens we deposit [INFO] [stdout] 69 | | pub min: u64, // Minimum amount of tokens I'd be willing to withdraw [INFO] [stdout] 70 | | pub expiration: i64, [INFO] [stdout] 71 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "d1b45237ef18050096661be61f4763eac3b0f310ae344b144bf5e72e774ba800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b45237ef18050096661be61f4763eac3b0f310ae344b144bf5e72e774ba800", kill_on_drop: false }` [INFO] [stdout] d1b45237ef18050096661be61f4763eac3b0f310ae344b144bf5e72e774ba800 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93719186abcf6ff5814d59adcd889bced1a6ca2b1afc49985767db328904e087 [INFO] running `Command { std: "docker" "start" "-a" "93719186abcf6ff5814d59adcd889bced1a6ca2b1afc49985767db328904e087", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.authors [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling solana-compute-budget v2.0.13 [INFO] [stderr] Compiling solana-vote v2.0.13 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling solana-program-runtime v2.0.13 [INFO] [stderr] Compiling goblin v0.5.4 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] error: could not compile `num-bigint` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name num_bigint --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/num-bigint-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "quickcheck", "quickcheck_macros", "rand", "serde", "std"))' -C metadata=ae086be849ebfb6e -C extra-filename=-ac34dcb27f9c7f0b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern num_integer=/opt/rustwide/target/debug/deps/libnum_integer-3b8018de5d267fee.rmeta --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-0dc368860bb68f9d.rmeta --cap-lints allow --cap-lints=forbid --cfg has_i128` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `brotli` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name brotli --edition=2015 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/brotli-6.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc-stdlib"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc-stdlib", "benchmark", "default", "disable-timer", "external-literal-probability", "ffi-api", "pass-through-ffi-panics", "seccomp", "sha2", "simd", "std", "validation", "vector_scratch_space"))' -C metadata=f490d531f4371f63 -C extra-filename=-4a3fbbdbcb2f3328 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern alloc_no_stdlib=/opt/rustwide/target/debug/deps/liballoc_no_stdlib-06c983927188c99c.rmeta --extern alloc_stdlib=/opt/rustwide/target/debug/deps/liballoc_stdlib-be9175862277e1f4.rmeta --extern brotli_decompressor=/opt/rustwide/target/debug/deps/libbrotli_decompressor-28920ff4f3fb163d.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: could not compile `futures-util` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name futures_util --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-util-0.3.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="futures-io"' --cfg 'feature="io"' --cfg 'feature="memchr"' --cfg 'feature="slab"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "async-await", "async-await-macro", "bilock", "cfg-target-has-atomic", "channel", "compat", "default", "futures-channel", "futures-io", "futures-macro", "futures-sink", "futures_01", "io", "io-compat", "memchr", "portable-atomic", "sink", "slab", "std", "tokio-io", "unstable", "write-all-vectored"))' -C metadata=c516a3c76920ae6f -C extra-filename=-11d21480990177a0 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern futures_core=/opt/rustwide/target/debug/deps/libfutures_core-2da63d8c7891ede1.rmeta --extern futures_io=/opt/rustwide/target/debug/deps/libfutures_io-1e8dd8eeffe2c5f5.rmeta --extern futures_task=/opt/rustwide/target/debug/deps/libfutures_task-a34acde6ee26d4ab.rmeta --extern memchr=/opt/rustwide/target/debug/deps/libmemchr-b49b60ab4582a282.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-e0c50e8704e39276.rmeta --extern pin_utils=/opt/rustwide/target/debug/deps/libpin_utils-9a5791cba021167a.rmeta --extern slab=/opt/rustwide/target/debug/deps/libslab-43d976c9737ff31a.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "93719186abcf6ff5814d59adcd889bced1a6ca2b1afc49985767db328904e087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93719186abcf6ff5814d59adcd889bced1a6ca2b1afc49985767db328904e087", kill_on_drop: false }` [INFO] [stdout] 93719186abcf6ff5814d59adcd889bced1a6ca2b1afc49985767db328904e087