[INFO] cloning repository https://github.com/ben2x4/cw20-sale-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ben2x4/cw20-sale-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben2x4%2Fcw20-sale-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben2x4%2Fcw20-sale-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fff19845250efb5a750865082d7d95daeb7bfba [INFO] testing ben2x4/cw20-sale-contract against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben2x4%2Fcw20-sale-contract" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ben2x4/cw20-sale-contract on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/ben2x4/cw20-sale-contract [INFO] finished tweaking git repo https://github.com/ben2x4/cw20-sale-contract [INFO] tweaked toml for git repo https://github.com/ben2x4/cw20-sale-contract written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ben2x4/cw20-sale-contract already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e0d7e37ae2c934dff4dbfba4930ab0ac1b130f52e2c1f232c800b3255927e74 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e0d7e37ae2c934dff4dbfba4930ab0ac1b130f52e2c1f232c800b3255927e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e0d7e37ae2c934dff4dbfba4930ab0ac1b130f52e2c1f232c800b3255927e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0d7e37ae2c934dff4dbfba4930ab0ac1b130f52e2c1f232c800b3255927e74", kill_on_drop: false }` [INFO] [stdout] 8e0d7e37ae2c934dff4dbfba4930ab0ac1b130f52e2c1f232c800b3255927e74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3eaf91deda73dd355d55ba09335d0baaa4dc6b7e44185621f5b7091e5ddd3ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d3eaf91deda73dd355d55ba09335d0baaa4dc6b7e44185621f5b7091e5ddd3ab", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling cosmwasm-derive v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling ed25519-zebra v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.14.0 [INFO] [stderr] Compiling cosmwasm-std v0.14.0 [INFO] [stderr] Compiling cw0 v0.6.1 [INFO] [stderr] Compiling cw-storage-plus v0.6.1 [INFO] [stderr] Compiling cosmwasm-storage v0.14.0 [INFO] [stderr] Compiling cw20 v0.6.1 [INFO] [stderr] Compiling sale v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "d3eaf91deda73dd355d55ba09335d0baaa4dc6b7e44185621f5b7091e5ddd3ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3eaf91deda73dd355d55ba09335d0baaa4dc6b7e44185621f5b7091e5ddd3ab", kill_on_drop: false }` [INFO] [stdout] d3eaf91deda73dd355d55ba09335d0baaa4dc6b7e44185621f5b7091e5ddd3ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0718348d72a8684aa645234a7b58b17cc08aa444ca3481e8fce7d43a27ce8885 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0718348d72a8684aa645234a7b58b17cc08aa444ca3481e8fce7d43a27ce8885", kill_on_drop: false }` [INFO] [stderr] Compiling cosmwasm-schema v0.14.0 [INFO] [stderr] Compiling cw2 v0.6.1 [INFO] [stderr] Compiling cw-multi-test v0.6.1 [INFO] [stderr] Compiling cw20-base v0.6.1 [INFO] [stderr] Compiling sale v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.59s [INFO] running `Command { std: "docker" "inspect" "0718348d72a8684aa645234a7b58b17cc08aa444ca3481e8fce7d43a27ce8885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0718348d72a8684aa645234a7b58b17cc08aa444ca3481e8fce7d43a27ce8885", kill_on_drop: false }` [INFO] [stdout] 0718348d72a8684aa645234a7b58b17cc08aa444ca3481e8fce7d43a27ce8885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ad7243cd2b27473807503305b944f23de39e5ce1dafd4c95df97e65beafbd6ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ad7243cd2b27473807503305b944f23de39e5ce1dafd4c95df97e65beafbd6ef", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sale-7810abd81a9f00a8) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test contract::tests::buy_token ... ok [INFO] [stdout] test contract::tests::withdraw_cw20_token_only_creator ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::buy_token_with_multiple_coins ... ok [INFO] [stdout] test contract::tests::withdraw_cw20_token ... ok [INFO] [stdout] test contract::tests::set_price ... ok [INFO] [stdout] test integration_test::sale_happy_path ... ok [INFO] [stdout] test contract::tests::receive_cw20_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests sale [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" "ad7243cd2b27473807503305b944f23de39e5ce1dafd4c95df97e65beafbd6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad7243cd2b27473807503305b944f23de39e5ce1dafd4c95df97e65beafbd6ef", kill_on_drop: false }` [INFO] [stdout] ad7243cd2b27473807503305b944f23de39e5ce1dafd4c95df97e65beafbd6ef