[INFO] cloning repository https://github.com/kaimen-sano/astroport-dca-mirror [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaimen-sano/astroport-dca-mirror" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaimen-sano%2Fastroport-dca-mirror", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaimen-sano%2Fastroport-dca-mirror'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a08a52547a50a7859e45c33f2ef4368d2680bda6 [INFO] testing kaimen-sano/astroport-dca-mirror against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaimen-sano%2Fastroport-dca-mirror" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kaimen-sano/astroport-dca-mirror [INFO] finished tweaking git repo https://github.com/kaimen-sano/astroport-dca-mirror [INFO] tweaked toml for git repo https://github.com/kaimen-sano/astroport-dca-mirror written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaimen-sano/astroport-dca-mirror on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaimen-sano/astroport-dca-mirror 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Updating git repository `https://github.com/astroport-fi/astroport-core.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schemars_derive v0.8.10 [INFO] [stderr] Downloaded cw2 v0.13.4 [INFO] [stderr] Downloaded dyn-clone v1.0.8 [INFO] [stderr] Downloaded cw20 v0.14.0 [INFO] [stderr] Downloaded schemars v0.8.10 [INFO] [stderr] Downloaded cw20-base v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f030e01ba83645d9b0970cfe762908961e695559c1e8f58075d3a0e18663131d [INFO] running `Command { std: "docker" "start" "-a" "f030e01ba83645d9b0970cfe762908961e695559c1e8f58075d3a0e18663131d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f030e01ba83645d9b0970cfe762908961e695559c1e8f58075d3a0e18663131d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f030e01ba83645d9b0970cfe762908961e695559c1e8f58075d3a0e18663131d", kill_on_drop: false }` [INFO] [stdout] f030e01ba83645d9b0970cfe762908961e695559c1e8f58075d3a0e18663131d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e5878657fc55549765a1ec2011ff431dab936834cc29547e48764e23e2050796 [INFO] running `Command { std: "docker" "start" "-a" "e5878657fc55549765a1ec2011ff431dab936834cc29547e48764e23e2050796", 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] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling base64ct v1.5.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling dyn-clone v1.0.8 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling rfc6979 v0.1.0 [INFO] [stderr] Compiling ecdsa v0.13.4 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling ed25519-zebra v3.0.0 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling cosmwasm-crypto v1.0.0 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 [INFO] [stderr] Compiling cw-utils v0.13.4 [INFO] [stderr] Compiling cw-storage-plus v0.14.0 [INFO] [stderr] Compiling cw-storage-plus v0.13.4 [INFO] [stderr] Compiling cw2 v0.14.0 [INFO] [stderr] Compiling cw20 v0.13.4 [INFO] [stderr] Compiling cw-utils v0.14.0 [INFO] [stderr] Compiling cw20 v0.14.0 [INFO] [stderr] Compiling astroport v2.0.0 (https://github.com/astroport-fi/astroport-core.git?branch=main#fc319884) [INFO] [stderr] Compiling astroport-dca v1.0.0 (/opt/rustwide/workdir/packages/astroport-dca) [INFO] [stderr] Compiling astroport-dca-module v1.0.0 (/opt/rustwide/workdir/contracts/dca) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/modify_dca_order.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut order = &mut orders[order_position]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let mut order = &mut orders[order_idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut user_balance = user_config [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "e5878657fc55549765a1ec2011ff431dab936834cc29547e48764e23e2050796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5878657fc55549765a1ec2011ff431dab936834cc29547e48764e23e2050796", kill_on_drop: false }` [INFO] [stdout] e5878657fc55549765a1ec2011ff431dab936834cc29547e48764e23e2050796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3023f159d82aa9224aa50a6fbc52e037ff6af77237e4ed5ac6f1528401c509ca [INFO] running `Command { std: "docker" "start" "-a" "3023f159d82aa9224aa50a6fbc52e037ff6af77237e4ed5ac6f1528401c509ca", 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] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling cw2 v0.13.4 [INFO] [stderr] Compiling cosmwasm-schema v1.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cw20-base v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/modify_dca_order.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut order = &mut orders[order_position]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let mut order = &mut orders[order_idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut user_balance = user_config [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling astroport-dca v1.0.0 (/opt/rustwide/workdir/packages/astroport-dca) [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling astroport-router v1.0.0 (https://github.com/astroport-fi/astroport-core.git?branch=main#fc319884) [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling cw-multi-test v0.14.0 [INFO] [stderr] Compiling astroport-pair v1.0.0 (https://github.com/astroport-fi/astroport-core.git?branch=main#fc319884) [INFO] [stderr] Compiling astroport-factory v1.2.0 (https://github.com/astroport-fi/astroport-core.git?branch=main#fc319884) [INFO] [stderr] Compiling astroport-dca-module v1.0.0 (/opt/rustwide/workdir/contracts/dca) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> contracts/dca/src/contract.rs:237:16 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/modify_dca_order.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut order = &mut orders[order_position]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | let mut order = &mut orders[order_idx]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> contracts/dca/src/handlers/perform_dca_purchase.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut user_balance = user_config [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.36s [INFO] running `Command { std: "docker" "inspect" "3023f159d82aa9224aa50a6fbc52e037ff6af77237e4ed5ac6f1528401c509ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3023f159d82aa9224aa50a6fbc52e037ff6af77237e4ed5ac6f1528401c509ca", kill_on_drop: false }` [INFO] [stdout] 3023f159d82aa9224aa50a6fbc52e037ff6af77237e4ed5ac6f1528401c509ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b3e7f4ca71484fbc66213f0dee412d08a372ffde10b094b0ed1aeaa360ae4924 [INFO] running `Command { std: "docker" "start" "-a" "b3e7f4ca71484fbc66213f0dee412d08a372ffde10b094b0ed1aeaa360ae4924", 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: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/dca/src/contract.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/dca/src/contract.rs:75:16 [INFO] [stderr] | [INFO] [stderr] 75 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/dca/src/contract.rs:144:16 [INFO] [stderr] | [INFO] [stderr] 144 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `library` [INFO] [stderr] --> contracts/dca/src/contract.rs:237:16 [INFO] [stderr] | [INFO] [stderr] 237 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `backtraces` [INFO] [stderr] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> contracts/dca/src/handlers/modify_dca_order.rs:168:9 [INFO] [stderr] | [INFO] [stderr] 168 | let mut order = &mut orders[order_position]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> contracts/dca/src/handlers/perform_dca_purchase.rs:193:17 [INFO] [stderr] | [INFO] [stderr] 193 | let mut order = &mut orders[order_idx]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> contracts/dca/src/handlers/perform_dca_purchase.rs:139:13 [INFO] [stderr] | [INFO] [stderr] 139 | let mut user_balance = user_config [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `astroport-dca-module` (lib) generated 8 warnings (run `cargo fix --lib -p astroport-dca-module` to apply 3 suggestions) [INFO] [stderr] warning: `astroport-dca-module` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/astroport_dca-c1eff0a5ae41263b) [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] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/astroport_dca_module-74d4a96312d051c3) [INFO] [stdout] [INFO] [stdout] running 58 tests [INFO] [stdout] test handlers::add_bot_tip::tests::does_add_bot_tip_native ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_require_whitelisted_funds_native ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_require_whitelisted_funds_token ... ok [INFO] [stdout] test handlers::cancel_dca_order::tests::does_cancel_order_native ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_require_funds_native ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_error_on_mismatch_allowance ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_error_on_sent_mismatch_native ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_error_on_sent_mismatch_token ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_increment_tip_balance ... ok [INFO] [stdout] test contract::test::can_migrate ... ok [INFO] [stdout] test handlers::cancel_dca_order::tests::does_cancel_order_token ... ok [INFO] [stdout] test handlers::cancel_dca_order::tests::does_error_on_invalid_id ... ok [INFO] [stdout] test handlers::create_dca_order::tests::cannot_create_duplicate_asset ... ok [INFO] [stdout] test handlers::create_dca_order::tests::cannot_create_greater_dca_order ... ok [INFO] [stdout] test handlers::create_dca_order::tests::cannot_create_indivisible_order ... ok [INFO] [stdout] test handlers::create_dca_order::tests::does_create_native ... ok [INFO] [stdout] test handlers::create_dca_order::tests::does_increment_id ... ok [INFO] [stdout] test handlers::create_dca_order::tests::does_require_token_allowance_set ... ok [INFO] [stdout] test handlers::add_bot_tip::tests::does_add_bot_tip_token ... ok [INFO] [stdout] test handlers::create_dca_order::tests::does_require_native_sent ... ok [INFO] [stdout] test handlers::create_dca_order::tests::can_create_multiple_orders ... ok [INFO] [stdout] test handlers::modify_dca_order::test::can_change_initial_asset_native ... ok [INFO] [stdout] test handlers::modify_dca_order::test::does_error_on_invalid_id ... ok [INFO] [stdout] test handlers::modify_dca_order::test::can_change_initial_asset_token ... ok [INFO] [stdout] test handlers::modify_dca_order::test::cannot_change_to_duplicate_asset ... ok [INFO] [stdout] test handlers::modify_dca_order::test::does_modify_order ... ok [INFO] [stdout] test handlers::modify_dca_order::test::does_refund_same_native ... ok [INFO] [stdout] test handlers::create_dca_order::tests::does_create_token ... ok [INFO] [stdout] test handlers::modify_dca_order::test::does_validate_extra_sent_native ... ok [INFO] [stdout] test handlers::modify_dca_order::test::does_validate_extra_sent_token ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_check_tip_redeem_size ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_delete_order_if_fulfilled ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_not_enough_balance ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_not_target_hop ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_non_whitelisted_hop ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_check_requested_fee_whitelisted ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_empty_hops ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_purchase_too_early ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_not_panic_for_zero_asset ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_not_panic_if_dca_too_big ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::can_perform_native_purchase ... ok [INFO] [stdout] test handlers::update_config::test::does_update ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_check_tip_is_divisible ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::can_perform_token_purchase ... ok [INFO] [stdout] test handlers::update_user_config::tests::does_update_user_config ... ok [INFO] [stdout] test handlers::update_config::test::does_allow_empty_update ... ok [INFO] [stdout] test handlers::update_config::test::does_check_if_authorized ... ok [INFO] [stdout] test handlers::withdraw::tests::does_update_config ... ok [INFO] [stdout] test handlers::withdraw::tests::wont_excess_withdraw ... ok [INFO] [stdout] test handlers::update_user_config::tests::does_reset_config ... ok [INFO] [stdout] test handlers::withdraw::tests::cant_withdraw_non_whitelisted_asset ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::can_purchase_with_token_fee ... ok [INFO] [stdout] test handlers::update_user_config::tests::does_not_change_tip_balance ... ok [INFO] [stdout] test handlers::withdraw::tests::will_withdraw_tip ... ok [INFO] [stdout] test handlers::perform_dca_purchase::test::does_error_if_too_many_hops ... ok [INFO] [stdout] test queries::get_config::test::does_get_config ... ok [INFO] [stdout] test queries::get_user_config::test::does_get_user_config ... ok [INFO] [stdout] test queries::get_user_dca_orders::test::does_get_user_orders ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3e7f4ca71484fbc66213f0dee412d08a372ffde10b094b0ed1aeaa360ae4924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3e7f4ca71484fbc66213f0dee412d08a372ffde10b094b0ed1aeaa360ae4924", kill_on_drop: false }` [INFO] [stdout] b3e7f4ca71484fbc66213f0dee412d08a372ffde10b094b0ed1aeaa360ae4924