[INFO] fetching crate phoenix-common 0.2.1... [INFO] testing phoenix-common-0.2.1 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate phoenix-common 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate phoenix-common 0.2.1 on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate phoenix-common 0.2.1 [INFO] finished tweaking crates.io crate phoenix-common 0.2.1 [INFO] tweaked toml for crates.io crate phoenix-common 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "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" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spl-memo v4.0.1 [INFO] [stderr] Downloaded shank_render v0.0.1 [INFO] [stderr] Downloaded shank_macro v0.0.12 [INFO] [stderr] Downloaded shank v0.0.12 [INFO] [stderr] Downloaded spl-token v3.5.0 [INFO] [stderr] Downloaded spl-associated-token-account v2.3.1 [INFO] [stderr] Downloaded spl-token-group-interface v0.1.1 [INFO] [stderr] Downloaded spl-token-metadata-interface v0.2.1 [INFO] [stderr] Downloaded lib-sokoban v0.3.0 [INFO] [stderr] Downloaded spl-token v4.0.1 [INFO] [stderr] Downloaded spl-token-2022 v2.0.1 [INFO] [stderr] Downloaded shank_macro_impl v0.0.12 [INFO] [stderr] Downloaded spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Downloaded ellipsis-macros v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb11d87653420f0fcc8d651f0e801653ce0647ad8c7ae321c60d719576f7ed5 [INFO] running `Command { std: "docker" "start" "-a" "3cb11d87653420f0fcc8d651f0e801653ce0647ad8c7ae321c60d719576f7ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb11d87653420f0fcc8d651f0e801653ce0647ad8c7ae321c60d719576f7ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb11d87653420f0fcc8d651f0e801653ce0647ad8c7ae321c60d719576f7ed5", kill_on_drop: false }` [INFO] [stdout] 3cb11d87653420f0fcc8d651f0e801653ce0647ad8c7ae321c60d719576f7ed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6304e53ef47f094cf914b153a874ced4dcf9d897c8511117aad55562ccce72b0 [INFO] running `Command { std: "docker" "start" "-a" "6304e53ef47f094cf914b153a874ced4dcf9d897c8511117aad55562ccce72b0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ahash v0.8.10 [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 zerocopy v0.7.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling paste v1.0.14 [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.91 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.3 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling borsh v1.3.1 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling solana-frozen-abi v1.18.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.18.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling borsh-derive v1.3.1 [INFO] [stderr] Compiling solana-sdk-macro v1.18.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling solana-sdk v1.18.3 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling solana-logger v1.18.3 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling toml v0.5.11 [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 digest v0.10.7 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [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 borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling shank_macro_impl v0.0.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling shank_render v0.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling shank_macro v0.0.12 [INFO] [stderr] Compiling lib-sokoban v0.3.0 [INFO] [stderr] Compiling shank v0.0.12 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling ellipsis-macros v0.1.1 [INFO] [stderr] Compiling spl-program-error v0.3.1 [INFO] [stderr] Compiling spl-discriminator v0.1.1 [INFO] [stderr] Compiling spl-memo v4.0.1 [INFO] [stderr] Compiling spl-token v4.0.1 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling solana-zk-token-sdk v1.18.3 [INFO] [stderr] Compiling spl-pod v0.1.1 [INFO] [stderr] Compiling spl-type-length-value v0.3.1 [INFO] [stderr] Compiling spl-token-group-interface v0.1.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Compiling spl-token-2022 v2.0.1 [INFO] [stderr] Compiling spl-associated-token-account v2.3.1 [INFO] [stderr] Compiling phoenix-common v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn claim_all_funds( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13m 35s [INFO] running `Command { std: "docker" "inspect" "6304e53ef47f094cf914b153a874ced4dcf9d897c8511117aad55562ccce72b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6304e53ef47f094cf914b153a874ced4dcf9d897c8511117aad55562ccce72b0", kill_on_drop: false }` [INFO] [stdout] 6304e53ef47f094cf914b153a874ced4dcf9d897c8511117aad55562ccce72b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56098ecfc606a9869092e464b6649d050c8f3dc722bc00af4fdfaf3dca6e7ffb [INFO] running `Command { std: "docker" "start" "-a" "56098ecfc606a9869092e464b6649d050c8f3dc722bc00af4fdfaf3dca6e7ffb", kill_on_drop: false }` [INFO] [stderr] Compiling phoenix-common v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn claim_all_funds( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MarketEvent` is imported redundantly [INFO] [stdout] --> src/state/markets/test_market.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::markets::*; [INFO] [stdout] | ------------------------ the item `MarketEvent` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::state::markets::MarketEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state` and `cancel_order` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.43s [INFO] running `Command { std: "docker" "inspect" "56098ecfc606a9869092e464b6649d050c8f3dc722bc00af4fdfaf3dca6e7ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56098ecfc606a9869092e464b6649d050c8f3dc722bc00af4fdfaf3dca6e7ffb", kill_on_drop: false }` [INFO] [stdout] 56098ecfc606a9869092e464b6649d050c8f3dc722bc00af4fdfaf3dca6e7ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26aa0cc99de49a9608eb1d5eaf4893c08a9d4e388a6549fabb48cba5347e97bf [INFO] running `Command { std: "docker" "start" "-a" "26aa0cc99de49a9608eb1d5eaf4893c08a9d4e388a6549fabb48cba5347e97bf", kill_on_drop: false }` [INFO] [stderr] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stderr] --> src/state/markets/fifo.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | use crate::state::*; [INFO] [stderr] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `phoenix_log` is imported redundantly [INFO] [stderr] --> src/state/markets/fifo.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use phoenix_log; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/log.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / macro_rules! phoenix_log { [INFO] [stderr] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stderr] 3 | | #[cfg(target_os = "solana")] [INFO] [stderr] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stderr] ... | [INFO] [stderr] 13 | | }; [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- the item `phoenix_log` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stderr] --> src/state/markets/market_traits.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stderr] [INFO] [stderr] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stderr] --> src/state/markets/market_traits.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 159 | pub(crate) trait WritableMarket< [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | fn cancel_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 267 | fn claim_all_funds( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `MarketEvent` is imported redundantly [INFO] [stderr] --> src/state/markets/test_market.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::state::markets::*; [INFO] [stderr] | ------------------------ the item `MarketEvent` is already imported here [INFO] [stderr] ... [INFO] [stderr] 11 | use crate::state::markets::MarketEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `try_remove_trader_state` and `cancel_order` are never used [INFO] [stderr] --> src/state/markets/market_traits.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 159 | pub(crate) trait WritableMarket< [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | fn cancel_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `phoenix-common` (lib) generated 4 warnings [INFO] [stderr] warning: `phoenix-common` (lib test) generated 5 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phoenix-7a6a36604b5e8128) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test phoenix_log_authority::check_pda ... ok [INFO] [stdout] test program::instruction::test_instruction_serialization ... ok [INFO] [stdout] test program::dispatch_market::test_market_size ... ok [INFO] [stdout] test quantities::test_multiply_macro ... ok [INFO] [stdout] test program::accounts::test_valid_discriminants ... ok [INFO] [stdout] test quantities::test_new_constructor_macro ... ok [INFO] [stdout] test phoenix_log_authority::test_id ... ok [INFO] [stdout] test state::markets::test_market::test_cancel_all ... ok [INFO] [stdout] test state::markets::test_market::test_fees_basic ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_5 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_1 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_3 ... ok [INFO] [stdout] test state::markets::test_market::test_evict_order ... ok [INFO] [stdout] test state::markets::test_market::test_limit_order_crossing ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_1 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_with_free_funds ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_3 ... ok [INFO] [stdout] test state::markets::test_market::test_limit_orders_with_self_trade ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_2 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_2 ... ok [INFO] [stdout] test state::markets::test_market::test_limit_orders_with_free_lots ... ok [INFO] [stdout] test state::markets::test_market::test_orders_with_only_free_funds ... ok [INFO] [stdout] test state::markets::test_market::test_market_simple ... ok [INFO] [stdout] test state::markets::test_market::test_post_only_default ... ok [INFO] [stdout] test state::order_schema::order_packet::test_decode_order_packet ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] test state::markets::test_market::test_reduce_order ... ok [INFO] [stdout] test state::markets::test_market::test_sell_with_quote_lot_budget ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_4 ... ok [INFO] [stderr] Doc-tests phoenix [INFO] [stdout] test state::markets::test_market::test_post_only_rejection ... ok [INFO] [stdout] test state::markets::test_market::test_tif ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "26aa0cc99de49a9608eb1d5eaf4893c08a9d4e388a6549fabb48cba5347e97bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26aa0cc99de49a9608eb1d5eaf4893c08a9d4e388a6549fabb48cba5347e97bf", kill_on_drop: false }` [INFO] [stdout] 26aa0cc99de49a9608eb1d5eaf4893c08a9d4e388a6549fabb48cba5347e97bf [INFO] testing phoenix-common-0.2.1 against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] extracting crate phoenix-common 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate phoenix-common 0.2.1 on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate phoenix-common 0.2.1 [INFO] finished tweaking crates.io crate phoenix-common 0.2.1 [INFO] tweaked toml for crates.io crate phoenix-common 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "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" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07358a5371c22091d2ae455979b983aaa685ad0ed55494c38295d95fa64e6b69 [INFO] running `Command { std: "docker" "start" "-a" "07358a5371c22091d2ae455979b983aaa685ad0ed55494c38295d95fa64e6b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07358a5371c22091d2ae455979b983aaa685ad0ed55494c38295d95fa64e6b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07358a5371c22091d2ae455979b983aaa685ad0ed55494c38295d95fa64e6b69", kill_on_drop: false }` [INFO] [stdout] 07358a5371c22091d2ae455979b983aaa685ad0ed55494c38295d95fa64e6b69 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66358fa33f09fada438baab39cc8e94c55384d607607a9066921509cb807d1a6 [INFO] running `Command { std: "docker" "start" "-a" "66358fa33f09fada438baab39cc8e94c55384d607607a9066921509cb807d1a6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling indexmap v2.2.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.91 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cc v1.0.83 [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 toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling bumpalo v3.15.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.91 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.18.3 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling blake3 v1.5.0 [INFO] [stderr] Compiling borsh v1.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.91 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.10.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.10.3 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling solana-frozen-abi v1.18.3 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.91 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling solana-program v1.18.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ed25519 v1.5.3 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.91 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling solana-sdk-macro v1.18.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling borsh-derive v1.3.1 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling solana-sdk v1.18.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling derivation-path v0.2.0 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling solana-logger v1.18.3 [INFO] [stderr] Compiling qualifier_attr v0.2.2 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [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 libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [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 serde_bytes v0.11.14 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling borsh-derive v0.10.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling borsh v0.10.3 [INFO] [stderr] Compiling tiny-bip39 v0.8.2 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling num_enum v0.7.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling ed25519-dalek-bip32 v0.2.0 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling aes-gcm-siv v0.10.3 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling spl-program-error-derive v0.3.2 [INFO] [stderr] Compiling spl-discriminator-syn v0.1.2 [INFO] [stderr] Compiling light-poseidon v0.2.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling shank_macro_impl v0.0.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling spl-discriminator-derive v0.1.2 [INFO] [stderr] Compiling shank_render v0.0.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-security-txt v1.1.1 [INFO] [stderr] Compiling shank_macro v0.0.12 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling lib-sokoban v0.3.0 [INFO] [stderr] Compiling shank v0.0.12 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling spl-program-error v0.3.1 [INFO] [stderr] Compiling spl-discriminator v0.1.1 [INFO] [stderr] Compiling spl-memo v4.0.1 [INFO] [stderr] Compiling spl-token v4.0.1 [INFO] [stderr] Compiling spl-token v3.5.0 [INFO] [stderr] Compiling ellipsis-macros v0.1.1 [INFO] [stderr] Compiling solana-zk-token-sdk v1.18.3 [INFO] [stderr] Compiling spl-pod v0.1.1 [INFO] [stderr] Compiling spl-type-length-value v0.3.1 [INFO] [stderr] Compiling spl-token-group-interface v0.1.1 [INFO] [stderr] Compiling spl-tlv-account-resolution v0.5.2 [INFO] [stderr] Compiling spl-token-metadata-interface v0.2.1 [INFO] [stderr] Compiling spl-transfer-hook-interface v0.5.1 [INFO] [stderr] Compiling spl-token-2022 v2.0.1 [INFO] [stderr] Compiling spl-associated-token-account v2.3.1 [INFO] [stderr] Compiling phoenix-common v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn claim_all_funds( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13m 33s [INFO] running `Command { std: "docker" "inspect" "66358fa33f09fada438baab39cc8e94c55384d607607a9066921509cb807d1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66358fa33f09fada438baab39cc8e94c55384d607607a9066921509cb807d1a6", kill_on_drop: false }` [INFO] [stdout] 66358fa33f09fada438baab39cc8e94c55384d607607a9066921509cb807d1a6 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 975a9f9350febec9bd63f41f7aac9edb6f39b49b5bd2213d7a1a8c9445b43867 [INFO] running `Command { std: "docker" "start" "-a" "975a9f9350febec9bd63f41f7aac9edb6f39b49b5bd2213d7a1a8c9445b43867", kill_on_drop: false }` [INFO] [stderr] Compiling phoenix-common v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn claim_all_funds( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | use crate::state::*; [INFO] [stdout] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `phoenix_log` is imported redundantly [INFO] [stdout] --> src/state/markets/fifo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use phoenix_log; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/log.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / macro_rules! phoenix_log { [INFO] [stdout] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stdout] 3 | | #[cfg(target_os = "solana")] [INFO] [stdout] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stdout] ... | [INFO] [stdout] 13 | | }; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- the item `phoenix_log` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stdout] --> src/state/markets/market_traits.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MarketEvent` is imported redundantly [INFO] [stdout] --> src/state/markets/test_market.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::markets::*; [INFO] [stdout] | ------------------------ the item `MarketEvent` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::state::markets::MarketEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `try_remove_trader_state` and `cancel_order` are never used [INFO] [stdout] --> src/state/markets/market_traits.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub(crate) trait WritableMarket< [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn cancel_order( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.57s [INFO] running `Command { std: "docker" "inspect" "975a9f9350febec9bd63f41f7aac9edb6f39b49b5bd2213d7a1a8c9445b43867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "975a9f9350febec9bd63f41f7aac9edb6f39b49b5bd2213d7a1a8c9445b43867", kill_on_drop: false }` [INFO] [stdout] 975a9f9350febec9bd63f41f7aac9edb6f39b49b5bd2213d7a1a8c9445b43867 [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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b3b6f732eb8a47755643ad920894fd4c9e4d7840da2141f25e22d53b74e0a9e [INFO] running `Command { std: "docker" "start" "-a" "6b3b6f732eb8a47755643ad920894fd4c9e4d7840da2141f25e22d53b74e0a9e", kill_on_drop: false }` [INFO] [stderr] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stderr] --> src/state/markets/fifo.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use crate::state::matching_engine_response::MatchingEngineResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | use crate::state::*; [INFO] [stderr] | --------------- the item `MatchingEngineResponse` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `phoenix_log` is imported redundantly [INFO] [stderr] --> src/state/markets/fifo.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use phoenix_log; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/log.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / macro_rules! phoenix_log { [INFO] [stderr] 2 | | ($message:literal, $($arg:tt)*) => { [INFO] [stderr] 3 | | #[cfg(target_os = "solana")] [INFO] [stderr] 4 | | solana_program::msg!($message, $($arg)*); [INFO] [stderr] ... | [INFO] [stderr] 13 | | }; [INFO] [stderr] 14 | | } [INFO] [stderr] | |_- the item `phoenix_log` is already defined here [INFO] [stderr] [INFO] [stderr] warning: the item `MatchingEngineResponse` is imported redundantly [INFO] [stderr] --> src/state/markets/market_traits.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | state::{matching_engine_response::MatchingEngineResponse, *}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - the item `MatchingEngineResponse` is already imported here [INFO] [stderr] [INFO] [stderr] warning: methods `try_remove_trader_state`, `cancel_order`, and `claim_all_funds` are never used [INFO] [stderr] --> src/state/markets/market_traits.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 159 | pub(crate) trait WritableMarket< [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | fn cancel_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 267 | fn claim_all_funds( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `phoenix-common` (lib) generated 4 warnings [INFO] [stderr] warning: the item `MarketEvent` is imported redundantly [INFO] [stderr] --> src/state/markets/test_market.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::state::markets::*; [INFO] [stderr] | ------------------------ the item `MarketEvent` is already imported here [INFO] [stderr] ... [INFO] [stderr] 11 | use crate::state::markets::MarketEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `try_remove_trader_state` and `cancel_order` are never used [INFO] [stderr] --> src/state/markets/market_traits.rs:190:8 [INFO] [stderr] | [INFO] [stderr] 159 | pub(crate) trait WritableMarket< [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 190 | fn try_remove_trader_state(&mut self, trader: &MarketTraderId) -> Option<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | fn cancel_order( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `phoenix-common` (lib test) generated 5 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/phoenix-7a6a36604b5e8128) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test program::accounts::test_valid_discriminants ... ok [INFO] [stdout] test program::dispatch_market::test_market_size ... ok [INFO] [stdout] test program::instruction::test_instruction_serialization ... ok [INFO] [stdout] test quantities::test_new_constructor_macro ... ok [INFO] [stdout] test quantities::test_multiply_macro ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_2 ... ok [INFO] [stdout] test phoenix_log_authority::test_id ... ok [INFO] [stdout] test state::markets::test_market::test_fees_basic ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_4 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_5 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_1 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_3 ... ok [INFO] [stdout] test state::markets::test_market::test_limit_order_crossing ... ok [INFO] [stdout] test state::markets::test_market::test_evict_order ... ok [INFO] [stdout] test state::markets::test_market::test_cancel_all ... ok [INFO] [stdout] test state::markets::test_market::test_limit_orders_with_self_trade ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_with_free_funds ... ok [INFO] [stdout] test state::markets::test_market::test_limit_orders_with_free_lots ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_2 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_with_slippage_3 ... ok [INFO] [stdout] test state::markets::test_market::test_fok_and_ioc_limit_1 ... ok [INFO] [stdout] test phoenix_log_authority::check_pda ... ok [INFO] [stdout] test state::order_schema::order_packet::test_decode_order_packet ... ok [INFO] [stdout] test state::markets::test_market::test_orders_with_only_free_funds ... ok [INFO] [stdout] test state::markets::test_market::test_post_only_default ... ok [INFO] [stdout] test state::markets::test_market::test_market_simple ... ok [INFO] [stdout] test state::markets::test_market::test_post_only_rejection ... ok [INFO] [stdout] test state::markets::test_market::test_tif ... ok [INFO] [stdout] test state::markets::test_market::test_sell_with_quote_lot_budget ... ok [INFO] [stderr] Doc-tests phoenix [INFO] [stdout] test test_id ... ok [INFO] [stdout] test state::markets::test_market::test_reduce_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b3b6f732eb8a47755643ad920894fd4c9e4d7840da2141f25e22d53b74e0a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3b6f732eb8a47755643ad920894fd4c9e4d7840da2141f25e22d53b74e0a9e", kill_on_drop: false }` [INFO] [stdout] 6b3b6f732eb8a47755643ad920894fd4c9e4d7840da2141f25e22d53b74e0a9e