[INFO] cloning repository https://github.com/nguyenxuanha20210301/dex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nguyenxuanha20210301/dex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fdex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fdex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de7fab2440dc9c9b6824a981df97dc1fa24e0e16 [INFO] testing nguyenxuanha20210301/dex against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnguyenxuanha20210301%2Fdex" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/nguyenxuanha20210301/dex [INFO] finished tweaking git repo https://github.com/nguyenxuanha20210301/dex [INFO] tweaked toml for git repo https://github.com/nguyenxuanha20210301/dex written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nguyenxuanha20210301/dex on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nguyenxuanha20210301/dex 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96b662b7d2d622a0caba17fd7ca1dae4a7afdf4cdf27b69d2ee146763f880d1d [INFO] running `Command { std: "docker" "start" "-a" "96b662b7d2d622a0caba17fd7ca1dae4a7afdf4cdf27b69d2ee146763f880d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96b662b7d2d622a0caba17fd7ca1dae4a7afdf4cdf27b69d2ee146763f880d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b662b7d2d622a0caba17fd7ca1dae4a7afdf4cdf27b69d2ee146763f880d1d", kill_on_drop: false }` [INFO] [stdout] 96b662b7d2d622a0caba17fd7ca1dae4a7afdf4cdf27b69d2ee146763f880d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5110f0b969264b08d84b03f35f44a0b321c59d8ac4154740e384b8338f6c4ab3 [INFO] running `Command { std: "docker" "start" "-a" "5110f0b969264b08d84b03f35f44a0b321c59d8ac4154740e384b8338f6c4ab3", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.11 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.11 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling cosmwasm-crypto v1.5.11 [INFO] [stderr] Compiling cosmwasm-std v1.5.11 [INFO] [stderr] Compiling cosmwasm-schema v1.5.11 [INFO] [stderr] Compiling cw-storage-plus v0.15.1 [INFO] [stderr] Compiling cosmwasm-storage v1.5.2 [INFO] [stderr] Compiling cw2 v0.15.1 [INFO] [stderr] Compiling cw-utils v0.15.1 [INFO] [stderr] Compiling cw20 v0.15.1 [INFO] [stderr] Compiling cw20-base v0.15.1 [INFO] [stderr] Compiling dex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `unused_usdt` [INFO] [stdout] --> src/contract.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | let (orai_to_use, usdt_to_use, unused_orai, unused_usdt) = if input_ratio > pool_ratio { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused_usdt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "5110f0b969264b08d84b03f35f44a0b321c59d8ac4154740e384b8338f6c4ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5110f0b969264b08d84b03f35f44a0b321c59d8ac4154740e384b8338f6c4ab3", kill_on_drop: false }` [INFO] [stdout] 5110f0b969264b08d84b03f35f44a0b321c59d8ac4154740e384b8338f6c4ab3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5204cc77a4d93f5c1b2ebdced6afe79b02561ab6de9ecfd670464277ef757d3 [INFO] running `Command { std: "docker" "start" "-a" "c5204cc77a4d93f5c1b2ebdced6afe79b02561ab6de9ecfd670464277ef757d3", kill_on_drop: false }` [INFO] [stderr] Compiling dex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `unused_usdt` [INFO] [stdout] --> src/contract.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | let (orai_to_use, usdt_to_use, unused_orai, unused_usdt) = if input_ratio > pool_ratio { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused_usdt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unused_usdt` [INFO] [stdout] --> src/contract.rs:241:49 [INFO] [stdout] | [INFO] [stdout] 241 | let (orai_to_use, usdt_to_use, unused_orai, unused_usdt) = if input_ratio > pool_ratio { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused_usdt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "c5204cc77a4d93f5c1b2ebdced6afe79b02561ab6de9ecfd670464277ef757d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5204cc77a4d93f5c1b2ebdced6afe79b02561ab6de9ecfd670464277ef757d3", kill_on_drop: false }` [INFO] [stdout] c5204cc77a4d93f5c1b2ebdced6afe79b02561ab6de9ecfd670464277ef757d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41877d9308b256460794c6b54a009b64b5600b204a0fd185e7a2380230daff23 [INFO] running `Command { std: "docker" "start" "-a" "41877d9308b256460794c6b54a009b64b5600b204a0fd185e7a2380230daff23", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `unused_usdt` [INFO] [stderr] --> src/contract.rs:241:49 [INFO] [stderr] | [INFO] [stderr] 241 | let (orai_to_use, usdt_to_use, unused_orai, unused_usdt) = if input_ratio > pool_ratio { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused_usdt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `dex` (lib) generated 1 warning [INFO] [stderr] warning: `dex` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dex-50866b86570dfce1) [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] [stderr] Running unittests src/bin/schema.rs (/opt/rustwide/target/debug/deps/schema-42512910de3aff7f) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests dex [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] running `Command { std: "docker" "inspect" "41877d9308b256460794c6b54a009b64b5600b204a0fd185e7a2380230daff23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41877d9308b256460794c6b54a009b64b5600b204a0fd185e7a2380230daff23", kill_on_drop: false }` [INFO] [stdout] 41877d9308b256460794c6b54a009b64b5600b204a0fd185e7a2380230daff23