[INFO] cloning repository https://github.com/deanmlittle/constant-product-curve
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deanmlittle/constant-product-curve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fconstant-product-curve", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fconstant-product-curve'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a723a0ff5ad522f657f80c053c2bb290da28b70
[INFO] testing deanmlittle/constant-product-curve against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fconstant-product-curve" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/deanmlittle/constant-product-curve on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/deanmlittle/constant-product-curve
[INFO] finished tweaking git repo https://github.com/deanmlittle/constant-product-curve
[INFO] tweaked toml for git repo https://github.com/deanmlittle/constant-product-curve written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/deanmlittle/constant-product-curve 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 241b1f2c3424d2d5679086d760ba559632820f29bfdc59c42f254b7c1de63040
[INFO] running `Command { std: "docker" "start" "-a" "241b1f2c3424d2d5679086d760ba559632820f29bfdc59c42f254b7c1de63040", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "241b1f2c3424d2d5679086d760ba559632820f29bfdc59c42f254b7c1de63040", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "241b1f2c3424d2d5679086d760ba559632820f29bfdc59c42f254b7c1de63040", kill_on_drop: false }`
[INFO] [stdout] 241b1f2c3424d2d5679086d760ba559632820f29bfdc59c42f254b7c1de63040
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe998051741de4d99fb4004f42bb66f763572cfcf8060bfe3f054d31a2f69304
[INFO] running `Command { std: "docker" "start" "-a" "fe998051741de4d99fb4004f42bb66f763572cfcf8060bfe3f054d31a2f69304", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The lib target `constant_product_curve` in package `constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)` has the same output filename as the lib target `constant_product_curve` in package `constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/libconstant_product_curve.rlib
[INFO] [stderr] The targets should have unique names.
[INFO] [stderr] Consider changing their names to be unique or compiling them separately.
[INFO] [stderr] This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.86
[INFO] [stderr]    Compiling bumpalo v3.13.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.86
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.86
[INFO] [stderr]    Compiling constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.83s
[INFO] running `Command { std: "docker" "inspect" "fe998051741de4d99fb4004f42bb66f763572cfcf8060bfe3f054d31a2f69304", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe998051741de4d99fb4004f42bb66f763572cfcf8060bfe3f054d31a2f69304", kill_on_drop: false }`
[INFO] [stdout] fe998051741de4d99fb4004f42bb66f763572cfcf8060bfe3f054d31a2f69304
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e57feb0a9328f15df460fedfe2dcd1dd9b42315e910cbb3f9a0a3198144ca407
[INFO] running `Command { std: "docker" "start" "-a" "e57feb0a9328f15df460fedfe2dcd1dd9b42315e910cbb3f9a0a3198144ca407", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr]    Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)
[INFO] [stderr]    Compiling constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "e57feb0a9328f15df460fedfe2dcd1dd9b42315e910cbb3f9a0a3198144ca407", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e57feb0a9328f15df460fedfe2dcd1dd9b42315e910cbb3f9a0a3198144ca407", kill_on_drop: false }`
[INFO] [stdout] e57feb0a9328f15df460fedfe2dcd1dd9b42315e910cbb3f9a0a3198144ca407
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0cbed2c2d7316756621014f3a1f0f7804e629202145f18d97fd68c201788e966
[INFO] running `Command { std: "docker" "start" "-a" "0cbed2c2d7316756621014f3a1f0f7804e629202145f18d97fd68c201788e966", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-86666cefc1ec7346)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::spot_price ... ok
[INFO] [stdout] test tests::swap_balance ... ok
[INFO] [stdout] test tests::deposit_liquidity ... ok
[INFO] [stdout] test tests::swap_balance_with_fee ... ok
[INFO] [stdout] test tests::swap_balance_reverse ... 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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-2a4813d1612d5c98)
[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] [stderr]    Doc-tests constant_product_curve
[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] [stderr]    Doc-tests constant_product_curve
[INFO] [stderr] error[E0464]: multiple candidates for `rlib` dependency `constant_product_curve` found
[INFO] [stderr]  --> constant-product-curve-wasm/src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use constant_product_curve;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: candidate #1: /opt/rustwide/target/debug/deps/libconstant_product_curve-5df977d33cadb0c5.rlib
[INFO] [stderr]   = note: candidate #2: /opt/rustwide/target/debug/deps/libconstant_product_curve.rlib
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0464`.
[INFO] [stderr] error: doctest failed, to rerun pass `-p constant-product-curve-wasm --doc`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type cdylib --crate-type rlib --crate-name constant_product_curve --test constant-product-curve-wasm/src/lib.rs --test-run-directory /opt/rustwide/workdir/constant-product-curve-wasm -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern constant_product_curve=/opt/rustwide/target/debug/deps/libconstant_product_curve-5df977d33cadb0c5.rlib --extern constant_product_curve=/opt/rustwide/target/debug/deps/libconstant_product_curve.rlib --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-31c3dd08f19acd4c.rlib -C embed-bitcode=no --cap-lints=warn --error-format human` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "0cbed2c2d7316756621014f3a1f0f7804e629202145f18d97fd68c201788e966", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cbed2c2d7316756621014f3a1f0f7804e629202145f18d97fd68c201788e966", kill_on_drop: false }`
[INFO] [stdout] 0cbed2c2d7316756621014f3a1f0f7804e629202145f18d97fd68c201788e966
[INFO] testing deanmlittle/constant-product-curve against beta-2023-12-22 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fconstant-product-curve" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/deanmlittle/constant-product-curve on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/deanmlittle/constant-product-curve
[INFO] finished tweaking git repo https://github.com/deanmlittle/constant-product-curve
[INFO] tweaked toml for git repo https://github.com/deanmlittle/constant-product-curve written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/deanmlittle/constant-product-curve 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" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dae2647ac02043cfac88dace0dec684a7a6539edc103a9afb6064133cebe2eb3
[INFO] running `Command { std: "docker" "start" "-a" "dae2647ac02043cfac88dace0dec684a7a6539edc103a9afb6064133cebe2eb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dae2647ac02043cfac88dace0dec684a7a6539edc103a9afb6064133cebe2eb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dae2647ac02043cfac88dace0dec684a7a6539edc103a9afb6064133cebe2eb3", kill_on_drop: false }`
[INFO] [stdout] dae2647ac02043cfac88dace0dec684a7a6539edc103a9afb6064133cebe2eb3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 531c1eced153f1572098abeb56ca64fafdc2e44617b833a9f9fb86780fd60c2c
[INFO] running `Command { std: "docker" "start" "-a" "531c1eced153f1572098abeb56ca64fafdc2e44617b833a9f9fb86780fd60c2c", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr] warning: output filename collision.
[INFO] [stderr] The lib target `constant_product_curve` in package `constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)` has the same output filename as the lib target `constant_product_curve` in package `constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)`.
[INFO] [stderr] Colliding filename is: /opt/rustwide/target/debug/libconstant_product_curve.rlib
[INFO] [stderr] The targets should have unique names.
[INFO] [stderr] Consider changing their names to be unique or compiling them separately.
[INFO] [stderr] This may become a hard error in the future; see <https://github.com/rust-lang/cargo/issues/6313>.
[INFO] [stderr]    Compiling proc-macro2 v1.0.59
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.86
[INFO] [stderr]    Compiling log v0.4.18
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling bumpalo v3.13.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.86
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.86
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.86
[INFO] [stderr]    Compiling constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.25s
[INFO] running `Command { std: "docker" "inspect" "531c1eced153f1572098abeb56ca64fafdc2e44617b833a9f9fb86780fd60c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "531c1eced153f1572098abeb56ca64fafdc2e44617b833a9f9fb86780fd60c2c", kill_on_drop: false }`
[INFO] [stdout] 531c1eced153f1572098abeb56ca64fafdc2e44617b833a9f9fb86780fd60c2c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4150f2287891faf980c724ff856dbfb5b70ea8290e42a363ff901c0172b0a246
[INFO] running `Command { std: "docker" "start" "-a" "4150f2287891faf980c724ff856dbfb5b70ea8290e42a363ff901c0172b0a246", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr]    Compiling constant-product-curve-wasm v0.1.0 (/opt/rustwide/workdir/constant-product-curve-wasm)
[INFO] [stderr]    Compiling constant-product-curve v0.1.0 (/opt/rustwide/workdir/constant-product-curve)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "4150f2287891faf980c724ff856dbfb5b70ea8290e42a363ff901c0172b0a246", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4150f2287891faf980c724ff856dbfb5b70ea8290e42a363ff901c0172b0a246", kill_on_drop: false }`
[INFO] [stdout] 4150f2287891faf980c724ff856dbfb5b70ea8290e42a363ff901c0172b0a246
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bf076f64e0085c7882d6e9a600647fe0fa7143f5aa73ec175a2c461dbce4a0f9
[INFO] running `Command { std: "docker" "start" "-a" "bf076f64e0085c7882d6e9a600647fe0fa7143f5aa73ec175a2c461dbce4a0f9", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: profile package spec `anchor-cli` in profile `release` did not match any packages
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-125441f73e21fd45)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test tests::deposit_liquidity ... ok
[INFO] [stdout] test tests::swap_balance_reverse ... ok
[INFO] [stdout] test tests::spot_price ... ok
[INFO] [stdout] test tests::swap_balance ... ok
[INFO] [stdout] test tests::swap_balance_with_fee ... 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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-aeb5b0cc3c8590cf)
[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] [stderr]    Doc-tests constant_product_curve
[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] [stderr]    Doc-tests constant_product_curve
[INFO] [stderr] error[E0464]: multiple candidates for `rlib` dependency `constant_product_curve` found
[INFO] [stderr]  --> constant-product-curve-wasm/src/lib.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use constant_product_curve;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: candidate #1: /opt/rustwide/target/debug/deps/libconstant_product_curve-9edf57c2c1308eea.rlib
[INFO] [stderr]   = note: candidate #2: /opt/rustwide/target/debug/deps/libconstant_product_curve.rlib
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 1 previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0464`.
[INFO] [stderr] error: doctest failed, to rerun pass `-p constant-product-curve-wasm --doc`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2023-12-22-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type cdylib --crate-type rlib --crate-name constant_product_curve --test constant-product-curve-wasm/src/lib.rs --test-run-directory /opt/rustwide/workdir/constant-product-curve-wasm -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern constant_product_curve=/opt/rustwide/target/debug/deps/libconstant_product_curve-9edf57c2c1308eea.rlib --extern constant_product_curve=/opt/rustwide/target/debug/deps/libconstant_product_curve.rlib --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-e7fb04cbc46f06b8.rlib -C embed-bitcode=no --cap-lints=warn --error-format human` (exit status: 1)
[INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness.
[INFO] running `Command { std: "docker" "inspect" "bf076f64e0085c7882d6e9a600647fe0fa7143f5aa73ec175a2c461dbce4a0f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf076f64e0085c7882d6e9a600647fe0fa7143f5aa73ec175a2c461dbce4a0f9", kill_on_drop: false }`
[INFO] [stdout] bf076f64e0085c7882d6e9a600647fe0fa7143f5aa73ec175a2c461dbce4a0f9
