[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#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fnative-amm-2024" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/deanmlittle/native-amm-2024 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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-3-tc2/source/Cargo.toml: unused manifest key: workspace.authors [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ec5bf1f2fc7b004dd5df161b6cf68f413f7f0d1b3ba6d4829daf8334651257c [INFO] running `Command { std: "docker" "start" "-a" "7ec5bf1f2fc7b004dd5df161b6cf68f413f7f0d1b3ba6d4829daf8334651257c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ec5bf1f2fc7b004dd5df161b6cf68f413f7f0d1b3ba6d4829daf8334651257c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec5bf1f2fc7b004dd5df161b6cf68f413f7f0d1b3ba6d4829daf8334651257c", kill_on_drop: false }` [INFO] [stdout] 7ec5bf1f2fc7b004dd5df161b6cf68f413f7f0d1b3ba6d4829daf8334651257c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac1c82d364d49f2cf994746f7ce4367667401217e155c23aed873ea283cc6cef [INFO] running `Command { std: "docker" "start" "-a" "ac1c82d364d49f2cf994746f7ce4367667401217e155c23aed873ea283cc6cef", 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 libc v0.2.159 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling winnow v0.6.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.1.21 [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 signature v1.6.4 [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 memmap2 v0.5.10 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/crates/constant-product-curve) [INFO] [stderr] Compiling blake3 v1.5.1 [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 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 borsh-schema-derive-internal v0.10.4 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling solana-sdk-macro v2.0.13 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling native-amm-macros v0.1.0 (/opt/rustwide/workdir/crates/native-amm-macros) [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.128 [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 proc-macro-crate v0.1.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling borsh-derive v0.10.4 [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 sha3 v0.10.8 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling borsh v0.10.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling spl-program-error-derive v0.4.1 [INFO] [stderr] Compiling spl-discriminator-syn v0.2.0 [INFO] [stderr] Compiling spl-discriminator-derive v0.2.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-memo v5.0.0 [INFO] [stderr] Compiling spl-token v6.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-ciphertext-arithmetic v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-generation v0.1.0 [INFO] [stderr] Compiling spl-token-confidential-transfer-proof-extraction 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`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, and `trusty` and 12 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/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: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/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 30s [INFO] running `Command { std: "docker" "inspect" "ac1c82d364d49f2cf994746f7ce4367667401217e155c23aed873ea283cc6cef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac1c82d364d49f2cf994746f7ce4367667401217e155c23aed873ea283cc6cef", kill_on_drop: false }` [INFO] [stdout] ac1c82d364d49f2cf994746f7ce4367667401217e155c23aed873ea283cc6cef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e29009f34fe7d522a442be6c2a9aaba9de2fce6ec5448b8f2775eea2f855db6e [INFO] running `Command { std: "docker" "start" "-a" "e29009f34fe7d522a442be6c2a9aaba9de2fce6ec5448b8f2775eea2f855db6e", 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 toml_edit v0.22.22 [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 futures-util v0.3.30 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling solana-vote v2.0.13 [INFO] [stderr] Compiling solana-compute-budget v2.0.13 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling goblin v0.5.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling solana-program-runtime v2.0.13 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/4987e9d4227139400384ab59296ffee3b0fb1183/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.40.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="bytes"' --cfg 'feature="default"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="rt"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="windows-sys"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=ebf16bace6bb5660 -C extra-filename=-caae8b57ee03823f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-76f23c7bd2b8c31b.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-3fc2d635cb50a9c8.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-617b563d35463cbc.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-e0c50e8704e39276.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-75eeca45420a3d79.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e29009f34fe7d522a442be6c2a9aaba9de2fce6ec5448b8f2775eea2f855db6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29009f34fe7d522a442be6c2a9aaba9de2fce6ec5448b8f2775eea2f855db6e", kill_on_drop: false }` [INFO] [stdout] e29009f34fe7d522a442be6c2a9aaba9de2fce6ec5448b8f2775eea2f855db6e