[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] 8bb5e9a21ad686b54f2d9956deb77d6a199bcc58 [INFO] testing ben2x4/cw20-sale-contract against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben2x4%2Fcw20-sale-contract" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ben2x4/cw20-sale-contract on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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-2/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c2942ba476f354286088c1750dd6797724dea28ff9d568f2ae059d8af7c61fa [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" "3c2942ba476f354286088c1750dd6797724dea28ff9d568f2ae059d8af7c61fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c2942ba476f354286088c1750dd6797724dea28ff9d568f2ae059d8af7c61fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c2942ba476f354286088c1750dd6797724dea28ff9d568f2ae059d8af7c61fa", kill_on_drop: false }` [INFO] [stdout] 3c2942ba476f354286088c1750dd6797724dea28ff9d568f2ae059d8af7c61fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6658bc99be8c1ff89042adaabdd95ccc8dcf6bb27220fa21f1e37f989d7f5b75 [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" "6658bc99be8c1ff89042adaabdd95ccc8dcf6bb27220fa21f1e37f989d7f5b75", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pkcs8 v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [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 sha2 v0.9.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling curve25519-dalek v3.1.0 [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 serde_derive v1.0.126 [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-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-crypto v0.14.0 [INFO] [stderr] Compiling schemars v0.8.3 [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 26s [INFO] running `Command { std: "docker" "inspect" "6658bc99be8c1ff89042adaabdd95ccc8dcf6bb27220fa21f1e37f989d7f5b75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6658bc99be8c1ff89042adaabdd95ccc8dcf6bb27220fa21f1e37f989d7f5b75", kill_on_drop: false }` [INFO] [stdout] 6658bc99be8c1ff89042adaabdd95ccc8dcf6bb27220fa21f1e37f989d7f5b75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f3ac4912be37b58c8c3a080d0a6b7bc32b8a8e4473ca1722167cfd155f6eba51 [INFO] running `Command { std: "docker" "start" "-a" "f3ac4912be37b58c8c3a080d0a6b7bc32b8a8e4473ca1722167cfd155f6eba51", 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 12.55s [INFO] running `Command { std: "docker" "inspect" "f3ac4912be37b58c8c3a080d0a6b7bc32b8a8e4473ca1722167cfd155f6eba51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3ac4912be37b58c8c3a080d0a6b7bc32b8a8e4473ca1722167cfd155f6eba51", kill_on_drop: false }` [INFO] [stdout] f3ac4912be37b58c8c3a080d0a6b7bc32b8a8e4473ca1722167cfd155f6eba51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 262b41604f359269ddd36170406215636ccb88d7ff4b4c61ae3d8c5a79ebf798 [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" "262b41604f359269ddd36170406215636ccb88d7ff4b4c61ae3d8c5a79ebf798", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sale-664f10c37f9e9b12) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test contract::tests::withdraw_cw20_token_only_creator ... ok [INFO] [stdout] test contract::tests::proper_initialization ... ok [INFO] [stdout] test contract::tests::receive_cw20_token ... ok [INFO] [stdout] test contract::tests::buy_token_with_multiple_coins ... ok [INFO] [stdout] test integration_test::sale_happy_path ... ok [INFO] [stdout] test contract::tests::set_price ... ok [INFO] [stdout] test contract::tests::withdraw_cw20_token ... ok [INFO] [stdout] test contract::tests::buy_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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" "262b41604f359269ddd36170406215636ccb88d7ff4b4c61ae3d8c5a79ebf798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262b41604f359269ddd36170406215636ccb88d7ff4b4c61ae3d8c5a79ebf798", kill_on_drop: false }` [INFO] [stdout] 262b41604f359269ddd36170406215636ccb88d7ff4b4c61ae3d8c5a79ebf798