[INFO] cloning repository https://github.com/AdithyaNarayan/uniswap-arb-simulator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdithyaNarayan/uniswap-arb-simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaNarayan%2Funiswap-arb-simulator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaNarayan%2Funiswap-arb-simulator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1c9544c37e4000167a3d077acc7725b87608f01
[INFO] testing AdithyaNarayan/uniswap-arb-simulator against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdithyaNarayan%2Funiswap-arb-simulator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AdithyaNarayan/uniswap-arb-simulator
[INFO] finished tweaking git repo https://github.com/AdithyaNarayan/uniswap-arb-simulator
[INFO] tweaked toml for git repo https://github.com/AdithyaNarayan/uniswap-arb-simulator written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AdithyaNarayan/uniswap-arb-simulator on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AdithyaNarayan/uniswap-arb-simulator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.13.1
[INFO] [stderr]   Downloaded futures-sink v0.3.23
[INFO] [stderr]   Downloaded futures-io v0.3.23
[INFO] [stderr]   Downloaded futures-macro v0.3.23
[INFO] [stderr]   Downloaded futures-core v0.3.23
[INFO] [stderr]   Downloaded futures-executor v0.3.23
[INFO] [stderr]   Downloaded futures-channel v0.3.23
[INFO] [stderr]   Downloaded anyhow v1.0.62
[INFO] [stderr]   Downloaded futures v0.3.23
[INFO] [stderr]   Downloaded futures-util v0.3.23
[INFO] [stderr]   Downloaded futures-task v0.3.23
[INFO] [stderr]   Downloaded libc v0.2.132
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2b37f71d680653804281e1f800f90a705b5dba9edb42e415270da55e06217261
[INFO] running `Command { std: "docker" "start" "-a" "2b37f71d680653804281e1f800f90a705b5dba9edb42e415270da55e06217261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b37f71d680653804281e1f800f90a705b5dba9edb42e415270da55e06217261", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b37f71d680653804281e1f800f90a705b5dba9edb42e415270da55e06217261", kill_on_drop: false }`
[INFO] [stdout] 2b37f71d680653804281e1f800f90a705b5dba9edb42e415270da55e06217261
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5878cd03ebe07947feb8f9a3b8414e7f466d96d4cd80fc5237020f4f18f9e7ad
[INFO] running `Command { std: "docker" "start" "-a" "5878cd03ebe07947feb8f9a3b8414e7f466d96d4cd80fc5237020f4f18f9e7ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling futures-core v0.3.23
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling futures-channel v0.3.23
[INFO] [stderr]    Compiling futures-task v0.3.23
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling futures-util v0.3.23
[INFO] [stderr]    Compiling futures-sink v0.3.23
[INFO] [stderr]    Compiling futures-io v0.3.23
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling anyhow v1.0.62
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling futures-macro v0.3.23
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-executor v0.3.23
[INFO] [stderr]    Compiling futures v0.3.23
[INFO] [stderr]    Compiling uniswap-arb-simulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `LP` is never constructed
[INFO] [stdout]  --> src/liquidity_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum PoolMessage {
[INFO] [stdout]   |          ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     LP,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PoolMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add` and `remove` are never used
[INFO] [stdout]   --> src/liquidity_pool.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait LiquidityPool: Debug + Downcastable {
[INFO] [stdout]    |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 19 |     fn add(&mut self, amount_a_to_add: f64);
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 20 |     fn remove(&mut self, amount_a_to_remove: f64) -> Result<()>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.56s
[INFO] running `Command { std: "docker" "inspect" "5878cd03ebe07947feb8f9a3b8414e7f466d96d4cd80fc5237020f4f18f9e7ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5878cd03ebe07947feb8f9a3b8414e7f466d96d4cd80fc5237020f4f18f9e7ad", kill_on_drop: false }`
[INFO] [stdout] 5878cd03ebe07947feb8f9a3b8414e7f466d96d4cd80fc5237020f4f18f9e7ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 692d8315e96695afde7488c77d7bc03f12b0be8fdfe0a9fcaf0c3454d332a066
[INFO] running `Command { std: "docker" "start" "-a" "692d8315e96695afde7488c77d7bc03f12b0be8fdfe0a9fcaf0c3454d332a066", kill_on_drop: false }`
[INFO] [stderr]    Compiling uniswap-arb-simulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "692d8315e96695afde7488c77d7bc03f12b0be8fdfe0a9fcaf0c3454d332a066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "692d8315e96695afde7488c77d7bc03f12b0be8fdfe0a9fcaf0c3454d332a066", kill_on_drop: false }`
[INFO] [stdout] 692d8315e96695afde7488c77d7bc03f12b0be8fdfe0a9fcaf0c3454d332a066
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 16b313f158646c840acc959305b237c36e4eb95f461c00242e2b1b2f408673ac
[INFO] running `Command { std: "docker" "start" "-a" "16b313f158646c840acc959305b237c36e4eb95f461c00242e2b1b2f408673ac", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/uniswap_arb_simulator-76324147382a6bcb)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test constant_product_pool::tests::test_value_equal_lp_remove ... ok
[INFO] [stdout] test constant_product_pool::tests::test_remove_lp_exceeded ... ok
[INFO] [stdout] test constant_product_pool::tests::test_assert_k_same_if_zero_fees ... ok
[INFO] [stdout] test constant_product_pool::tests::test_swap_simple ... ok
[INFO] [stdout] test constant_product_pool::tests::test_value_equal_lp_add ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "16b313f158646c840acc959305b237c36e4eb95f461c00242e2b1b2f408673ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16b313f158646c840acc959305b237c36e4eb95f461c00242e2b1b2f408673ac", kill_on_drop: false }`
[INFO] [stdout] 16b313f158646c840acc959305b237c36e4eb95f461c00242e2b1b2f408673ac
