[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#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fben2x4%2Fcw20-sale-contract" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ben2x4/cw20-sale-contract on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/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-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a5fec3d74d04408723d25420ad54ecbc46576df5fdcb7625c7fc0473cd103ad [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" "8a5fec3d74d04408723d25420ad54ecbc46576df5fdcb7625c7fc0473cd103ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a5fec3d74d04408723d25420ad54ecbc46576df5fdcb7625c7fc0473cd103ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5fec3d74d04408723d25420ad54ecbc46576df5fdcb7625c7fc0473cd103ad", kill_on_drop: false }` [INFO] [stdout] 8a5fec3d74d04408723d25420ad54ecbc46576df5fdcb7625c7fc0473cd103ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54960f2b5c8b83b9d075a7bea8b358b0a53ff15258f0731c9721ad726b0f045f [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" "54960f2b5c8b83b9d075a7bea8b358b0a53ff15258f0731c9721ad726b0f045f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [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 v1.0.126 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling const-oid v0.4.5 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling der v0.1.0 [INFO] [stderr] Compiling hmac v0.10.1 [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 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 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 39s [INFO] running `Command { std: "docker" "inspect" "54960f2b5c8b83b9d075a7bea8b358b0a53ff15258f0731c9721ad726b0f045f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54960f2b5c8b83b9d075a7bea8b358b0a53ff15258f0731c9721ad726b0f045f", kill_on_drop: false }` [INFO] [stdout] 54960f2b5c8b83b9d075a7bea8b358b0a53ff15258f0731c9721ad726b0f045f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] eb302e6376053fde6b6db651a2553693ee8a7ce34235359966bfae8eae867adf [INFO] running `Command { std: "docker" "start" "-a" "eb302e6376053fde6b6db651a2553693ee8a7ce34235359966bfae8eae867adf", 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 14.04s [INFO] running `Command { std: "docker" "inspect" "eb302e6376053fde6b6db651a2553693ee8a7ce34235359966bfae8eae867adf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb302e6376053fde6b6db651a2553693ee8a7ce34235359966bfae8eae867adf", kill_on_drop: false }` [INFO] [stdout] eb302e6376053fde6b6db651a2553693ee8a7ce34235359966bfae8eae867adf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca77ce05e9343988e2157458a29b2b3829d5765eb53e57bc8dbd9d44c2ef8f23 [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" "ca77ce05e9343988e2157458a29b2b3829d5765eb53e57bc8dbd9d44c2ef8f23", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sale-7810abd81a9f00a8) [INFO] [stdout] running 8 tests [INFO] [stdout] test contract::tests::set_price ... ok [INFO] [stdout] test contract::tests::buy_token ... 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::withdraw_cw20_token_only_creator ... 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.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" "ca77ce05e9343988e2157458a29b2b3829d5765eb53e57bc8dbd9d44c2ef8f23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca77ce05e9343988e2157458a29b2b3829d5765eb53e57bc8dbd9d44c2ef8f23", kill_on_drop: false }` [INFO] [stdout] ca77ce05e9343988e2157458a29b2b3829d5765eb53e57bc8dbd9d44c2ef8f23