[INFO] cloning repository https://github.com/BT-Corp-BTC/stable-swap-program [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BT-Corp-BTC/stable-swap-program" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 243458c441edad52b0bbe9ee8294d9a46e711b54 [INFO] testing BT-Corp-BTC/stable-swap-program against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBT-Corp-BTC%2Fstable-swap-program" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BT-Corp-BTC/stable-swap-program on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] finished tweaking git repo https://github.com/BT-Corp-BTC/stable-swap-program [INFO] tweaked toml for git repo https://github.com/BT-Corp-BTC/stable-swap-program written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/BT-Corp-BTC/stable-swap-program already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spl-token v3.0.1 [INFO] [stderr] Downloaded solana-frozen-abi v1.5.1 [INFO] [stderr] Downloaded ctor v0.1.17 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.0 [INFO] [stderr] Downloaded solana-frozen-abi-macro v1.5.1 [INFO] [stderr] Downloaded solana-program v1.5.1 [INFO] [stderr] Downloaded solana-crate-features v1.5.1 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded solana-sdk v1.5.1 [INFO] [stderr] Downloaded solana-logger v1.5.1 [INFO] [stderr] Downloaded solana-sdk-macro v1.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2d1bc86628226917c138cba6615e3981d6ee3180c5b1dc07da6b2d3b388f65 [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" "5f2d1bc86628226917c138cba6615e3981d6ee3180c5b1dc07da6b2d3b388f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2d1bc86628226917c138cba6615e3981d6ee3180c5b1dc07da6b2d3b388f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2d1bc86628226917c138cba6615e3981d6ee3180c5b1dc07da6b2d3b388f65", kill_on_drop: false }` [INFO] [stdout] 5f2d1bc86628226917c138cba6615e3981d6ee3180c5b1dc07da6b2d3b388f65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1d212168ddabddde8f1962c17650871a16e8e9f5353d95a802b14e01e977f04 [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" "e1d212168ddabddde8f1962c17650871a16e8e9f5353d95a802b14e01e977f04", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling thread_local v1.0.1 [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 block-buffer v0.7.3 [INFO] [stderr] Compiling uint v0.8.5 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling solana-logger v1.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling solana-sdk-macro v1.5.1 [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 bv v0.11.1 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "e1d212168ddabddde8f1962c17650871a16e8e9f5353d95a802b14e01e977f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d212168ddabddde8f1962c17650871a16e8e9f5353d95a802b14e01e977f04", kill_on_drop: false }` [INFO] [stdout] e1d212168ddabddde8f1962c17650871a16e8e9f5353d95a802b14e01e977f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] eb3cf4ce2de8084d0561d26c6b9e034dc3f08f935bec064fad6a0f92e5b945a3 [INFO] running `Command { std: "docker" "start" "-a" "eb3cf4ce2de8084d0561d26c6b9e034dc3f08f935bec064fad6a0f92e5b945a3", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling signature v1.3.0 [INFO] [stderr] Compiling pyo3 v0.12.4 [INFO] [stderr] Compiling remove_dir_all v0.5.0 [INFO] [stderr] Compiling assert_matches v1.4.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.17 [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 wait-timeout v0.2.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling solana-sdk v1.5.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling cc v1.0.49 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pyo3-derive-backend v0.12.4 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling ctor v0.1.17 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling ed25519 v1.0.3 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-codec v0.1.2 [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 proptest v0.10.1 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling pyo3cls v0.12.4 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "eb3cf4ce2de8084d0561d26c6b9e034dc3f08f935bec064fad6a0f92e5b945a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb3cf4ce2de8084d0561d26c6b9e034dc3f08f935bec064fad6a0f92e5b945a3", kill_on_drop: false }` [INFO] [stdout] eb3cf4ce2de8084d0561d26c6b9e034dc3f08f935bec064fad6a0f92e5b945a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5241213f316a8d1e473d3777c18146e7dda7faea8b77cba76dc9038c919f80f8 [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" "5241213f316a8d1e473d3777c18146e7dda7faea8b77cba76dc9038c919f80f8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/stable_swap-76c3d543df20f741) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test admin::tests::test_is_admin ... ok [INFO] [stdout] test admin::tests::test_commit_new_admin ... ok [INFO] [stdout] test admin::tests::test_set_fee_account ... ok [INFO] [stdout] test admin::tests::test_pause ... ok [INFO] [stdout] test fees::tests::fee_results ... ok [INFO] [stdout] test admin::tests::test_set_new_fees ... ok [INFO] [stdout] test admin::tests::test_ramp_a ... ok [INFO] [stdout] test admin::tests::test_stop_ramp_a ... ok [INFO] [stdout] test instruction::tests::test_admin_instruction_packing ... ok [INFO] [stdout] test admin::tests::test_apply_new_admin ... ok [INFO] [stdout] test admin::tests::test_unpause ... ok [INFO] [stdout] test instruction::tests::test_swap_instruction_packing ... ok [INFO] [stdout] test pool_converter::tests::issued_tokens ... ok [INFO] [stdout] test curve::tests::test_compute_mint_amount_for_deposit ... ok [INFO] [stdout] test fees::tests::pack_fees ... ok [INFO] [stdout] test processor::tests::test_token_program_id_error ... ok [INFO] [stdout] test test_id ... ok [INFO] [stdout] test processor::tests::test_withdraw_one ... ok [INFO] [stdout] test processor::tests::test_deposit ... ok [INFO] [stdout] test state::tests::test_swap_info_packing ... ok [INFO] [stdout] test processor::tests::test_initialize ... ok [INFO] [stdout] test processor::tests::test_swap ... ok [INFO] [stdout] test processor::tests::test_withdraw ... ok [INFO] [stdout] test curve::tests::test_curve_math_specific ... ok [INFO] [stdout] test curve::tests::test_ramp_amp_down ... 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_compute_withdraw_one_with_random_inputs ... ok [INFO] [stdout] test curve::tests::test_curve_math_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] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.18s [INFO] [stdout] [INFO] [stderr] Doc-tests stable_swap [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" "5241213f316a8d1e473d3777c18146e7dda7faea8b77cba76dc9038c919f80f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5241213f316a8d1e473d3777c18146e7dda7faea8b77cba76dc9038c919f80f8", kill_on_drop: false }` [INFO] [stdout] 5241213f316a8d1e473d3777c18146e7dda7faea8b77cba76dc9038c919f80f8