[INFO] cloning repository https://github.com/blue32captain/solana-dex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blue32captain/solana-dex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue32captain%2Fsolana-dex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue32captain%2Fsolana-dex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b776af6e7fa14c3e3cd7217fa83f075297f096fa [INFO] testing blue32captain/solana-dex against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue32captain%2Fsolana-dex" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/blue32captain/solana-dex on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/blue32captain/solana-dex [INFO] finished tweaking git repo https://github.com/blue32captain/solana-dex [INFO] tweaked toml for git repo https://github.com/blue32captain/solana-dex written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/blue32captain/solana-dex already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c56c1fa4b8bf28e6fe51110d70baa8ae36de10d16769f244bf3950bb651a1473 [INFO] running `Command { std: "docker" "start" "-a" "c56c1fa4b8bf28e6fe51110d70baa8ae36de10d16769f244bf3950bb651a1473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56c1fa4b8bf28e6fe51110d70baa8ae36de10d16769f244bf3950bb651a1473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56c1fa4b8bf28e6fe51110d70baa8ae36de10d16769f244bf3950bb651a1473", kill_on_drop: false }` [INFO] [stdout] c56c1fa4b8bf28e6fe51110d70baa8ae36de10d16769f244bf3950bb651a1473 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11e732198fe3c0819564fe380ca350b204c0d3124d587ecd11e67698e30f4afd [INFO] running `Command { std: "docker" "start" "-a" "11e732198fe3c0819564fe380ca350b204c0d3124d587ecd11e67698e30f4afd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling pyth-client v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Compiling solana-frozen-abi v1.5.1 [INFO] [stderr] Compiling solana-program v1.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling solana-logger v1.5.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Compiling curve25519-dalek v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling spl-token v3.0.1 [INFO] [stderr] Compiling spl-token-swap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `[_PriceComp; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/processor.rs:460:51 [INFO] [stdout] | [INFO] [stdout] 460 | let mut comp: [_PriceComp; 32] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/processor.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / pub enum _PriceStatus { [INFO] [stdout] 129 | | /// Unknown [INFO] [stdout] 130 | | Unknown, [INFO] [stdout] 131 | | /// Trading [INFO] [stdout] ... | [INFO] [stdout] 136 | | Auction, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 55s [INFO] running `Command { std: "docker" "inspect" "11e732198fe3c0819564fe380ca350b204c0d3124d587ecd11e67698e30f4afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e732198fe3c0819564fe380ca350b204c0d3124d587ecd11e67698e30f4afd", kill_on_drop: false }` [INFO] [stdout] 11e732198fe3c0819564fe380ca350b204c0d3124d587ecd11e67698e30f4afd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 35293b04206f4681da14647c109e85cc325856c436a9b63a7dd03dd9c57f388d [INFO] running `Command { std: "docker" "start" "-a" "35293b04206f4681da14647c109e85cc325856c436a9b63a7dd03dd9c57f388d", kill_on_drop: false }` [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling remove_dir_all v0.5.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling assert_matches v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.0-pre.4 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling proptest v0.10.1 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stdout] warning: the type `[_PriceComp; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/processor.rs:460:51 [INFO] [stdout] | [INFO] [stdout] 460 | let mut comp: [_PriceComp; 32] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/processor.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / pub enum _PriceStatus { [INFO] [stdout] 129 | | /// Unknown [INFO] [stdout] 130 | | Unknown, [INFO] [stdout] 131 | | /// Trading [INFO] [stdout] ... | [INFO] [stdout] 136 | | Auction, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling sim v0.1.0 (/opt/rustwide/workdir/lib/sim) [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling solana-crate-features v1.5.1 [INFO] [stderr] Compiling spl-token-swap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `[_PriceComp; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/processor.rs:460:51 [INFO] [stdout] | [INFO] [stdout] 460 | let mut comp: [_PriceComp; 32] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: enums have to be initialized to a variant [INFO] [stdout] --> src/processor.rs:128:1 [INFO] [stdout] | [INFO] [stdout] 128 | / pub enum _PriceStatus { [INFO] [stdout] 129 | | /// Unknown [INFO] [stdout] 130 | | Unknown, [INFO] [stdout] 131 | | /// Trading [INFO] [stdout] ... | [INFO] [stdout] 136 | | Auction, [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 39s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/stable_swap-0c0bdea4a475f7d4) [INFO] running `Command { std: "docker" "inspect" "35293b04206f4681da14647c109e85cc325856c436a9b63a7dd03dd9c57f388d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35293b04206f4681da14647c109e85cc325856c436a9b63a7dd03dd9c57f388d", kill_on_drop: false }` [INFO] [stdout] 35293b04206f4681da14647c109e85cc325856c436a9b63a7dd03dd9c57f388d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c875de22dd62baf7a71b6b78c9a255450c83fbbefd9e83c867cb96e00924f9dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c875de22dd62baf7a71b6b78c9a255450c83fbbefd9e83c867cb96e00924f9dc", kill_on_drop: false }` [INFO] [stderr] warning: the type `[_PriceComp; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/processor.rs:460:51 [INFO] [stderr] | [INFO] [stderr] 460 | let mut comp: [_PriceComp; 32] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] note: enums have to be initialized to a variant [INFO] [stderr] --> src/processor.rs:128:1 [INFO] [stderr] | [INFO] [stderr] 128 | / pub enum _PriceStatus { [INFO] [stderr] 129 | | /// Unknown [INFO] [stderr] 130 | | Unknown, [INFO] [stderr] 131 | | /// Trading [INFO] [stderr] ... | [INFO] [stderr] 136 | | Auction, [INFO] [stderr] 137 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `spl-token-swap` (lib) generated 1 warning [INFO] [stderr] warning: `spl-token-swap` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stable_swap-0c0bdea4a475f7d4) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test admin::tests::test_is_admin ... ok [INFO] [stdout] test curve::tests::test_compute_mint_amount_for_deposit ... ok [INFO] [stdout] test admin::tests::test_unpause ... ok [INFO] [stdout] test admin::tests::test_ramp_a ... ok [INFO] [stdout] test admin::tests::test_set_new_fees ... ok [INFO] [stdout] test admin::tests::test_pause ... ok [INFO] [stdout] test admin::tests::test_apply_new_admin ... ok [INFO] [stdout] test admin::tests::test_set_fee_account ... ok [INFO] [stdout] test admin::tests::test_commit_new_admin ... ok [INFO] [stdout] test fees::tests::fee_results ... ok [INFO] [stdout] test instruction::tests::test_admin_instruction_packing ... ok [INFO] [stdout] test pool_converter::tests::issued_tokens ... ok [INFO] [stdout] test instruction::tests::test_swap_instruction_packing ... ok [INFO] [stdout] test admin::tests::test_stop_ramp_a ... ok [INFO] [stdout] test fees::tests::pack_fees ... ok [INFO] [stdout] test processor::tests::test_token_program_id_error ... ok [INFO] [stdout] test state::tests::test_swap_info_packing ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] test processor::tests::test_initialize ... ok [INFO] [stdout] test processor::tests::test_withdraw_one ... ok [INFO] [stdout] test processor::tests::test_deposit ... ok [INFO] [stdout] test processor::tests::test_withdraw ... ok [INFO] [stdout] test processor::tests::test_swap ... FAILED [INFO] [stdout] test curve::tests::test_ramp_amp_down ... ok [INFO] [stdout] test curve::tests::test_curve_math_specific ... ok [INFO] [stdout] test curve::tests::test_ramp_amp_up ... ok [INFO] [stdout] test curve::tests::test_swap_calculation_with_random_inputs ... ok [INFO] [stdout] test curve::tests::test_curve_math_with_random_inputs ... ok [INFO] [stdout] test curve::tests::test_compute_withdraw_one_with_random_inputs ... ok [INFO] [stdout] test curve::tests::test_swap_calculation ... ok [INFO] [stdout] test curve::tests::test_curve_math ... ok [INFO] [stdout] test curve::tests::test_compute_withdraw_one ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- processor::tests::test_swap stdout ---- [INFO] [stdout] Instruction: InitializeMint [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: InitializeMint [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: InitializeMint [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: MintTo [INFO] [stdout] Instruction: InitializeAccount [INFO] [stdout] Instruction: Approve [INFO] [stdout] Instruction: Swap [INFO] [stdout] thread 'processor::tests::test_swap' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `Err(UninitializedAccount)`, [INFO] [stdout] right: `Err(NotEnoughAccountKeys)`', src/processor.rs:2889:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560a0b9dc4fd - std::backtrace_rs::backtrace::libunwind::trace::hf368f6ec047d835e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x560a0b9dc4fd - std::backtrace_rs::backtrace::trace_unsynchronized::h5deaa62eab82df22 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560a0b9dc4fd - std::sys_common::backtrace::_print_fmt::h5a1c3a24a936a045 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x560a0b9dc4fd - ::fmt::h0219f75f359b565d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x560a0ba008ec - core::fmt::write::hf0ed2ae6b5ba2d7d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x560a0b9d8231 - std::io::Write::write_fmt::h38d43b38044a5699 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x560a0b9ddff5 - std::sys_common::backtrace::_print::h733b600962ba33ce [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x560a0b9ddff5 - std::sys_common::backtrace::print::h5dc0fa0616f7d4bf [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x560a0b9ddff5 - std::panicking::default_hook::{{closure}}::h3151cab60fd16f06 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x560a0b9ddca0 - std::panicking::default_hook::ha44b338b782f641e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x560a0b9de6d8 - std::panicking::rust_panic_with_hook::hddbb61d11ae83bc7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x560a0b9de587 - std::panicking::begin_panic_handler::{{closure}}::ha90ba42a51d96fb7 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x560a0b9dc9b4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb2f712e9f2c19288 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x560a0b9de2b9 - rust_begin_unwind [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x560a0b9ff2e3 - core::panicking::panic_fmt::ha7e9b4e73b08c9d5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x560a0b9ff428 - core::panicking::assert_failed_inner::hacf07049e9c7e926 [INFO] [stdout] 16: 0x560a0b81b04a - core::panicking::assert_failed::h4d1e6427993d09e1 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panicking.rs:181:5 [INFO] [stdout] 17: 0x560a0b7bad01 - stable_swap::processor::tests::test_swap::h48d41bf372e980d4 [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:2889:13 [INFO] [stdout] 18: 0x560a0b7ba8ca - stable_swap::processor::tests::test_swap::{{closure}}::hb7740f8ff829a37c [INFO] [stdout] at /opt/rustwide/workdir/src/processor.rs:2859:5 [INFO] [stdout] 19: 0x560a0b837f4e - core::ops::function::FnOnce::call_once::h8a477d7b7e81cd2e [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 20: 0x560a0b899263 - core::ops::function::FnOnce::call_once::h0dfe20f12b77bab0 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 21: 0x560a0b899263 - test::__rust_begin_short_backtrace::h621e75342c56b813 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:573:5 [INFO] [stdout] 22: 0x560a0b89800a - as core::ops::function::FnOnce>::call_once::ha960722220d3e4e3 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 23: 0x560a0b89800a - as core::ops::function::FnOnce<()>>::call_once::h8d4f52e2b0282cfb [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x560a0b89800a - std::panicking::try::do_call::h482ae3b09291596d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x560a0b89800a - std::panicking::try::h2ddddb26c086954d [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x560a0b89800a - std::panic::catch_unwind::h743b0e27e7a9c139 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x560a0b89800a - test::run_test_in_process::ha7740d79e504cc37 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:596:18 [INFO] [stdout] 28: 0x560a0b89800a - test::run_test::run_test_inner::{{closure}}::h8418baf60f7a06c4 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:490:39 [INFO] [stdout] 29: 0x560a0b8627bd - test::run_test::run_test_inner::{{closure}}::h0beb35daaa80ec66 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/test/src/lib.rs:517:37 [INFO] [stdout] 30: 0x560a0b8627bd - std::sys_common::backtrace::__rust_begin_short_backtrace::hb005f1ebb9b3ac0b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x560a0b8682b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h496c50f972d6dc0f [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x560a0b8682b8 - as core::ops::function::FnOnce<()>>::call_once::ha5b8911111f511ea [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x560a0b8682b8 - std::panicking::try::do_call::h084ed94d88677037 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x560a0b8682b8 - std::panicking::try::h013a823fb6061e50 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x560a0b8682b8 - std::panic::catch_unwind::h041e5fbe96cdc85b [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x560a0b8682b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h24aad6f3231b4f43 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x560a0b8682b8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88f4642fdc208aab [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x560a0b9e35c3 - as core::ops::function::FnOnce>::call_once::h21f4f903d484bbf8 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 39: 0x560a0b9e35c3 - as core::ops::function::FnOnce>::call_once::h88143291d50223e5 [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/alloc/src/boxed.rs:1866:9 [INFO] [stdout] 40: 0x560a0b9e35c3 - std::sys::unix::thread::Thread::new::thread_start::h21cad75f6abb068a [INFO] [stdout] at /rustc/1b74e096b9bfb06f84a3007193dcd2f059cbdf6a/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7fa4a4edd609 - start_thread [INFO] [stdout] 42: 0x7fa4a4cab163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] processor::tests::test_swap [INFO] [stdout] [INFO] [stdout] test result: FAILED. 31 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.72s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "c875de22dd62baf7a71b6b78c9a255450c83fbbefd9e83c867cb96e00924f9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c875de22dd62baf7a71b6b78c9a255450c83fbbefd9e83c867cb96e00924f9dc", kill_on_drop: false }` [INFO] [stdout] c875de22dd62baf7a71b6b78c9a255450c83fbbefd9e83c867cb96e00924f9dc