[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.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeanmlittle%2Fconstant-product-curve" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deanmlittle/constant-product-curve on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.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-2-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.85.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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8272023e728dd5535d4dbe0fa0b1939af035f4badf1d5ddfce4d3549758109e9 [INFO] running `Command { std: "docker" "start" "-a" "8272023e728dd5535d4dbe0fa0b1939af035f4badf1d5ddfce4d3549758109e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8272023e728dd5535d4dbe0fa0b1939af035f4badf1d5ddfce4d3549758109e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8272023e728dd5535d4dbe0fa0b1939af035f4badf1d5ddfce4d3549758109e9", kill_on_drop: false }` [INFO] [stdout] 8272023e728dd5535d4dbe0fa0b1939af035f4badf1d5ddfce4d3549758109e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c325054e7d8020fbce84695af67316732a62cb1fac65ff0bbf09e99837c64c10 [INFO] running `Command { std: "docker" "start" "-a" "c325054e7d8020fbce84695af67316732a62cb1fac65ff0bbf09e99837c64c10", 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 . [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 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` profile [unoptimized + debuginfo] target(s) in 9.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.86 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c325054e7d8020fbce84695af67316732a62cb1fac65ff0bbf09e99837c64c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c325054e7d8020fbce84695af67316732a62cb1fac65ff0bbf09e99837c64c10", kill_on_drop: false }` [INFO] [stdout] c325054e7d8020fbce84695af67316732a62cb1fac65ff0bbf09e99837c64c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcae24354c44c4e11c51aead0491407defa742dcf954abcad9a6e942747a8e88 [INFO] running `Command { std: "docker" "start" "-a" "fcae24354c44c4e11c51aead0491407defa742dcf954abcad9a6e942747a8e88", 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` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.86 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fcae24354c44c4e11c51aead0491407defa742dcf954abcad9a6e942747a8e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcae24354c44c4e11c51aead0491407defa742dcf954abcad9a6e942747a8e88", kill_on_drop: false }` [INFO] [stdout] fcae24354c44c4e11c51aead0491407defa742dcf954abcad9a6e942747a8e88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 60b5664f0d2a42d2694026de07c9c63088ca9fa3b7323c01785e357e8fd4aeb4 [INFO] running `Command { std: "docker" "start" "-a" "60b5664f0d2a42d2694026de07c9c63088ca9fa3b7323c01785e357e8fd4aeb4", 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` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.86 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/constant_product_curve-f1e5d97605db72ba) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::deposit_liquidity ... ok [INFO] [stdout] test tests::swap_balance ... ok [INFO] [stdout] test tests::spot_price ... 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-732505a81018129e) [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] [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-696eceebd0afdfe7.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/1.85.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type cdylib --crate-type rlib --color auto --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-696eceebd0afdfe7.rlib --extern constant_product_curve=/opt/rustwide/target/debug/deps/libconstant_product_curve.rlib --extern wasm_bindgen=/opt/rustwide/target/debug/deps/libwasm_bindgen-fb0c04f6c84d1ee9.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --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" "60b5664f0d2a42d2694026de07c9c63088ca9fa3b7323c01785e357e8fd4aeb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60b5664f0d2a42d2694026de07c9c63088ca9fa3b7323c01785e357e8fd4aeb4", kill_on_drop: false }` [INFO] [stdout] 60b5664f0d2a42d2694026de07c9c63088ca9fa3b7323c01785e357e8fd4aeb4