[INFO] fetching crate openbook_dex 0.5.6... [INFO] testing openbook_dex-0.5.6 against 1.77.0 for beta-1.78-1 [INFO] extracting crate openbook_dex 0.5.6 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate openbook_dex 0.5.6 on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openbook_dex 0.5.6 [INFO] finished tweaking crates.io crate openbook_dex 0.5.6 [INFO] tweaked toml for crates.io crate openbook_dex 0.5.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded without-alloc v0.2.2 [INFO] [stderr] Downloaded unsize v1.1.0 [INFO] [stderr] Downloaded arbitrary v0.4.7 [INFO] [stderr] Downloaded alloc-traits v0.1.1 [INFO] [stderr] Downloaded derive_arbitrary v0.4.7 [INFO] [stderr] Downloaded hexdump v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bbd282b94e6920f21d1998caabb38d7efa269d36b58285231aef38336541079 [INFO] running `Command { std: "docker" "start" "-a" "9bbd282b94e6920f21d1998caabb38d7efa269d36b58285231aef38336541079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bbd282b94e6920f21d1998caabb38d7efa269d36b58285231aef38336541079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bbd282b94e6920f21d1998caabb38d7efa269d36b58285231aef38336541079", kill_on_drop: false }` [INFO] [stdout] 9bbd282b94e6920f21d1998caabb38d7efa269d36b58285231aef38336541079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddae54dfaea05382ceb89eb351ed82f7c307797410be8339400da336763acc30 [INFO] running `Command { std: "docker" "start" "-a" "ddae54dfaea05382ceb89eb351ed82f7c307797410be8339400da336763acc30", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.8 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling borsh v1.4.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling solana-frozen-abi v1.18.8 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling borsh-derive v1.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling solana-program v1.18.8 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling solana-sdk-macro v1.18.8 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling without-alloc v0.2.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling borsh v0.9.3 [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 light-poseidon v0.2.0 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling openbook_dex v0.5.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(unaligned_references)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/state.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unchecked_rent` [INFO] [stdout] --> src/state.rs:1622:17 [INFO] [stdout] | [INFO] [stdout] 1622 | unchecked_rent, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unchecked_rent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_sysvar_acc` [INFO] [stdout] --> src/state.rs:1857:21 [INFO] [stdout] | [INFO] [stdout] 1857 | ref rent_sysvar_acc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_sysvar_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_acc` [INFO] [stdout] --> src/state.rs:2441:21 [INFO] [stdout] | [INFO] [stdout] 2441 | ref rent_acc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:2921:13 [INFO] [stdout] | [INFO] [stdout] 2921 | mut open_orders, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/critbit.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | Inner(&'a mut InnerNode), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 177 | Inner(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MarketStateV2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | padding: [u8; 992], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStateV2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:941:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 941 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 35s [INFO] running `Command { std: "docker" "inspect" "ddae54dfaea05382ceb89eb351ed82f7c307797410be8339400da336763acc30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddae54dfaea05382ceb89eb351ed82f7c307797410be8339400da336763acc30", kill_on_drop: false }` [INFO] [stdout] ddae54dfaea05382ceb89eb351ed82f7c307797410be8339400da336763acc30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d0c786b0061c5eaf4fd406ab2145f6b14f0fe70bb3c57fd4554334997d4e09c [INFO] running `Command { std: "docker" "start" "-a" "6d0c786b0061c5eaf4fd406ab2145f6b14f0fe70bb3c57fd4554334997d4e09c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling solana-frozen-abi v1.18.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling borsh-derive v1.4.0 [INFO] [stderr] Compiling borsh v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling solana-program v1.18.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling solana-sdk-macro v1.18.8 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] error: could not compile `libsecp256k1` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/rustc --crate-name libsecp256k1 --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libsecp256k1-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=2 -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=on --cfg 'feature="default"' --cfg 'feature="hmac"' --cfg 'feature="hmac-drbg"' --cfg 'feature="sha2"' --cfg 'feature="static-context"' --cfg 'feature="std"' --cfg 'feature="typenum"' -C metadata=859d75b885a4aa69 -C extra-filename=-859d75b885a4aa69 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayref=/opt/rustwide/target/debug/deps/libarrayref-f67021fe4d9d8e77.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-3d819f1edad410ca.rmeta --extern digest=/opt/rustwide/target/debug/deps/libdigest-3ccba4372f56c896.rmeta --extern hmac_drbg=/opt/rustwide/target/debug/deps/libhmac_drbg-6e556f4ee9bfb52e.rmeta --extern libsecp256k1_core=/opt/rustwide/target/debug/deps/liblibsecp256k1_core-2b85c776442c3743.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-9c7b363202809307.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-ee9cfef19a168bc3.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-b494bd3b73b9f9f5.rmeta --extern typenum=/opt/rustwide/target/debug/deps/libtypenum-83c60ef56ed953f6.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6d0c786b0061c5eaf4fd406ab2145f6b14f0fe70bb3c57fd4554334997d4e09c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0c786b0061c5eaf4fd406ab2145f6b14f0fe70bb3c57fd4554334997d4e09c", kill_on_drop: false }` [INFO] [stdout] 6d0c786b0061c5eaf4fd406ab2145f6b14f0fe70bb3c57fd4554334997d4e09c [INFO] testing openbook_dex-0.5.6 against beta-2024-03-24 for beta-1.78-1 [INFO] extracting crate openbook_dex 0.5.6 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate openbook_dex 0.5.6 on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate openbook_dex 0.5.6 [INFO] finished tweaking crates.io crate openbook_dex 0.5.6 [INFO] tweaked toml for crates.io crate openbook_dex 0.5.6 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca0caf307a23878626c8ecd0aa336bbc4a25ef68a7ec73f495d89ae1aee79141 [INFO] running `Command { std: "docker" "start" "-a" "ca0caf307a23878626c8ecd0aa336bbc4a25ef68a7ec73f495d89ae1aee79141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca0caf307a23878626c8ecd0aa336bbc4a25ef68a7ec73f495d89ae1aee79141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0caf307a23878626c8ecd0aa336bbc4a25ef68a7ec73f495d89ae1aee79141", kill_on_drop: false }` [INFO] [stdout] ca0caf307a23878626c8ecd0aa336bbc4a25ef68a7ec73f495d89ae1aee79141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bec6ce1237b5a95d4ecf567e48df3065bf6291aa988bf076afe57aebcceae4eb [INFO] running `Command { std: "docker" "start" "-a" "bec6ce1237b5a95d4ecf567e48df3065bf6291aa988bf076afe57aebcceae4eb", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling borsh v1.4.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling solana-frozen-abi v1.18.8 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling borsh-derive v1.4.0 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling solana-program v1.18.8 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling solana-sdk-macro v1.18.8 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling without-alloc v0.2.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling borsh v0.9.3 [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 light-poseidon v0.2.0 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling openbook_dex v0.5.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(unaligned_references)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safe_transmute` is imported redundantly [INFO] [stdout] --> src/state.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use safe_transmute::{self, to_bytes::transmute_to_bytes, trivial::TriviallyTransmutable}; [INFO] [stdout] | ^^^^ the item `safe_transmute` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/state.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unchecked_rent` [INFO] [stdout] --> src/state.rs:1622:17 [INFO] [stdout] | [INFO] [stdout] 1622 | unchecked_rent, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unchecked_rent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_sysvar_acc` [INFO] [stdout] --> src/state.rs:1857:21 [INFO] [stdout] | [INFO] [stdout] 1857 | ref rent_sysvar_acc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_sysvar_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_acc` [INFO] [stdout] --> src/state.rs:2441:21 [INFO] [stdout] | [INFO] [stdout] 2441 | ref rent_acc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:2921:13 [INFO] [stdout] | [INFO] [stdout] 2921 | mut open_orders, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/critbit.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | Inner(&'a mut InnerNode), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 177 | Inner(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MarketStateV2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | padding: [u8; 992], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStateV2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:941:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 941 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "bec6ce1237b5a95d4ecf567e48df3065bf6291aa988bf076afe57aebcceae4eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bec6ce1237b5a95d4ecf567e48df3065bf6291aa988bf076afe57aebcceae4eb", kill_on_drop: false }` [INFO] [stdout] bec6ce1237b5a95d4ecf567e48df3065bf6291aa988bf076afe57aebcceae4eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99cfcf6c687ed274c560ba63b86fe1a7f8b802f36a31d32f5d84147aab1cc7ea [INFO] running `Command { std: "docker" "start" "-a" "99cfcf6c687ed274c560ba63b86fe1a7f8b802f36a31d32f5d84147aab1cc7ea", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling solana-frozen-abi v1.18.8 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling borsh-derive v1.4.0 [INFO] [stderr] Compiling borsh v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling solana-program v1.18.8 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling solana-sdk-macro v1.18.8 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling unsize v1.1.0 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling without-alloc v0.2.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling safe-transmute v0.11.2 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling hexdump v0.1.1 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling proptest v1.4.0 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling openbook_dex v0.5.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(unaligned_references)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AccountInfo` is imported redundantly [INFO] [stdout] --> src/tests.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use solana_program::account_info::AccountInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | -------- the item `AccountInfo` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Pubkey` is imported redundantly [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use solana_program::pubkey::Pubkey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | use super::*; [INFO] [stdout] | -------- the item `Pubkey` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safe_transmute` is imported redundantly [INFO] [stdout] --> src/state.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use safe_transmute::{self, to_bytes::transmute_to_bytes, trivial::TriviallyTransmutable}; [INFO] [stdout] | ^^^^ the item `safe_transmute` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `solana_program::clock::Clock` [INFO] [stdout] --> src/state.rs:3372:13 [INFO] [stdout] | [INFO] [stdout] 3372 | use solana_program::clock::Clock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(unaligned_references)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `safe_transmute` is imported redundantly [INFO] [stdout] --> src/state.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use safe_transmute::{self, to_bytes::transmute_to_bytes, trivial::TriviallyTransmutable}; [INFO] [stdout] | ^^^^ the item `safe_transmute` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/tests.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | bump.alloc(Pubkey::new(transmute_to_bytes(&rand::random::<[u64; 4]>()))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/tests.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | let market = Pubkey::new(transmute_to_bytes(&rand::random::<[u64; 4]>())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/state.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stdout] --> src/state.rs:580:17 [INFO] [stdout] | [INFO] [stdout] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unchecked_rent` [INFO] [stdout] --> src/state.rs:1622:17 [INFO] [stdout] | [INFO] [stdout] 1622 | unchecked_rent, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unchecked_rent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_sysvar_acc` [INFO] [stdout] --> src/state.rs:1857:21 [INFO] [stdout] | [INFO] [stdout] 1857 | ref rent_sysvar_acc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_sysvar_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rent_acc` [INFO] [stdout] --> src/state.rs:2441:21 [INFO] [stdout] | [INFO] [stdout] 2441 | ref rent_acc, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_acc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:2921:13 [INFO] [stdout] | [INFO] [stdout] 2921 | mut open_orders, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/critbit.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | Inner(&'a mut InnerNode), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 177 | Inner(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MarketStateV2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | padding: [u8; 992], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStateV2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:941:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 941 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state.rs:2921:13 [INFO] [stdout] | [INFO] [stdout] 2921 | mut open_orders, [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/critbit.rs:177:11 [INFO] [stdout] | [INFO] [stdout] 177 | Inner(&'a mut InnerNode), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 177 | Inner(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct MarketStateV2 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 210 | padding: [u8; 992], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarketStateV2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `padding` is never read [INFO] [stdout] --> src/state.rs:941:5 [INFO] [stdout] | [INFO] [stdout] 936 | pub struct Request { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 941 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "99cfcf6c687ed274c560ba63b86fe1a7f8b802f36a31d32f5d84147aab1cc7ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99cfcf6c687ed274c560ba63b86fe1a7f8b802f36a31d32f5d84147aab1cc7ea", kill_on_drop: false }` [INFO] [stdout] 99cfcf6c687ed274c560ba63b86fe1a7f8b802f36a31d32f5d84147aab1cc7ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 50151b4c87218a0ce735ead8fdcf4a160ff11bcbdbcc4531559d636f33b8e6be [INFO] running `Command { std: "docker" "start" "-a" "50151b4c87218a0ce735ead8fdcf4a160ff11bcbdbcc4531559d636f33b8e6be", kill_on_drop: false }` [INFO] [stderr] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(unaligned_references)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `safe_transmute` is imported redundantly [INFO] [stderr] --> src/state.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | use safe_transmute::{self, to_bytes::transmute_to_bytes, trivial::TriviallyTransmutable}; [INFO] [stderr] | ^^^^ the item `safe_transmute` is already defined by prelude [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stderr] --> src/state.rs:580:17 [INFO] [stderr] | [INFO] [stderr] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unchecked_rent` [INFO] [stderr] --> src/state.rs:1622:17 [INFO] [stderr] | [INFO] [stderr] 1622 | unchecked_rent, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unchecked_rent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rent_sysvar_acc` [INFO] [stderr] --> src/state.rs:1857:21 [INFO] [stderr] | [INFO] [stderr] 1857 | ref rent_sysvar_acc, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_sysvar_acc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rent_acc` [INFO] [stderr] --> src/state.rs:2441:21 [INFO] [stderr] | [INFO] [stderr] 2441 | ref rent_acc, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rent_acc` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state.rs:2921:13 [INFO] [stderr] | [INFO] [stderr] 2921 | mut open_orders, [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/critbit.rs:177:11 [INFO] [stderr] | [INFO] [stderr] 177 | Inner(&'a mut InnerNode), [INFO] [stderr] | ----- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 177 | Inner(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: field `padding` is never read [INFO] [stderr] --> src/state.rs:210:5 [INFO] [stderr] | [INFO] [stderr] 204 | pub struct MarketStateV2 { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 210 | padding: [u8; 992], [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MarketStateV2` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `padding` is never read [INFO] [stderr] --> src/state.rs:941:5 [INFO] [stderr] | [INFO] [stderr] 936 | pub struct Request { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 941 | padding: [u8; 4], [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Request` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `openbook_dex` (lib) generated 10 warnings (run `cargo fix --lib -p openbook_dex` to apply 1 suggestion) [INFO] [stderr] warning: the item `AccountInfo` is imported redundantly [INFO] [stderr] --> src/tests.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use solana_program::account_info::AccountInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | use super::*; [INFO] [stderr] | -------- the item `AccountInfo` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `Pubkey` is imported redundantly [INFO] [stderr] --> src/tests.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use solana_program::pubkey::Pubkey; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | use super::*; [INFO] [stderr] | -------- the item `Pubkey` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `safe_transmute` is imported redundantly [INFO] [stderr] --> src/state.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | use safe_transmute::{self, to_bytes::transmute_to_bytes, trivial::TriviallyTransmutable}; [INFO] [stderr] | ^^^^ the item `safe_transmute` is already defined by prelude [INFO] [stderr] [INFO] [stderr] warning: unused import: `solana_program::clock::Clock` [INFO] [stderr] --> src/state.rs:3372:13 [INFO] [stderr] | [INFO] [stderr] 3372 | use solana_program::clock::Clock; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stderr] --> src/tests.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | bump.alloc(Pubkey::new(transmute_to_bytes(&rand::random::<[u64; 4]>()))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stderr] --> src/tests.rs:177:30 [INFO] [stderr] | [INFO] [stderr] 177 | let market = Pubkey::new(transmute_to_bytes(&rand::random::<[u64; 4]>())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `solana_program::pubkey::Pubkey::new`: Please use 'Pubkey::from' or 'Pubkey::try_from' instead [INFO] [stderr] --> src/state.rs:580:17 [INFO] [stderr] | [INFO] [stderr] 580 | Pubkey::new(cast_slice(&identity(self.own_address) as &[_])) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `openbook_dex` (lib test) generated 12 warnings (5 duplicates) (run `cargo fix --lib -p openbook_dex --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openbook_dex-2d40c98bf050ed57) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test fees::stable_markets::usdh_usdc::test_id ... ok [INFO] [stdout] test fees::stable_markets::stsol_sol::test_id ... ok [INFO] [stdout] test fees::tests::market_order_cannot_cheat ... ok [INFO] [stdout] test fees::tests::positive_net_fees ... ok [INFO] [stdout] test fees::tests::test_add_remove_fees ... ok [INFO] [stdout] test instruction::disable_authority::test_id ... ok [INFO] [stdout] test instruction::fee_sweeper::test_id ... ok [INFO] [stdout] test instruction::msrm_token::test_id ... ok [INFO] [stdout] test instruction::srm_token::test_id ... ok [INFO] [stdout] test fees::stable_markets::ust_usdt::test_id ... ok [INFO] [stdout] test instruction::tests::test_pack_unpack_roundtrip ... ok [INFO] [stdout] test fees::stable_markets::msol_sol::test_id ... ok [INFO] [stdout] test fees::stable_markets::ust_usdc::test_id ... ok [INFO] [stdout] test fees::tests::fee_tenth_of_bps_approx ... ok [INFO] [stdout] test fees::stable_markets::usdt_usdc::test_id ... ok [INFO] [stdout] test critbit::tests::simulate_find_min ... ok [INFO] [stdout] test tests::test_cancel_orders ... ok [INFO] [stdout] test tests::test_initialize_market ... ok [INFO] [stdout] test tests::test_ioc_new_order ... ok [INFO] [stdout] test tests::test_new_order ... ok [INFO] [stdout] test tests::test_max_ts_order ... ok [INFO] [stdout] test tests::test_send_take ... ok [INFO] [stdout] test tests::test_replace_orders ... ok [INFO] [stdout] test critbit::tests::simulate_operations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.01s [INFO] [stdout] [INFO] [stderr] Doc-tests openbook_dex [INFO] [stderr] warning: lint `unaligned_references` has been removed: converted into hard error, see issue #82523 for more information [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(unaligned_references)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/critbit.rs - critbit::Slab::new (line 289) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "50151b4c87218a0ce735ead8fdcf4a160ff11bcbdbcc4531559d636f33b8e6be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50151b4c87218a0ce735ead8fdcf4a160ff11bcbdbcc4531559d636f33b8e6be", kill_on_drop: false }` [INFO] [stdout] 50151b4c87218a0ce735ead8fdcf4a160ff11bcbdbcc4531559d636f33b8e6be