[INFO] cloning repository https://github.com/enigmampc/secret-secret [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enigmampc/secret-secret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsecret-secret", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsecret-secret'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79ca912db90d2236313cee5243bfccf9e9107d41 [INFO] testing enigmampc/secret-secret against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenigmampc%2Fsecret-secret" "/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/enigmampc/secret-secret on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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/enigmampc/secret-secret [INFO] finished tweaking git repo https://github.com/enigmampc/secret-secret [INFO] tweaked toml for git repo https://github.com/enigmampc/secret-secret written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/enigmampc/secret-secret already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", 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] d23db56fad2641146c6c09227a3776c0479214a11e2d93f6b287c1ad2680da14 [INFO] running `Command { std: "docker" "start" "-a" "d23db56fad2641146c6c09227a3776c0479214a11e2d93f6b287c1ad2680da14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d23db56fad2641146c6c09227a3776c0479214a11e2d93f6b287c1ad2680da14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23db56fad2641146c6c09227a3776c0479214a11e2d93f6b287c1ad2680da14", kill_on_drop: false }` [INFO] [stdout] d23db56fad2641146c6c09227a3776c0479214a11e2d93f6b287c1ad2680da14 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] 66e5e5627500c75d6738e84843b2f27777cb7532a67c46fb231b03d10171f217 [INFO] running `Command { std: "docker" "start" "-a" "66e5e5627500c75d6738e84843b2f27777cb7532a67c46fb231b03d10171f217", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling hmac-drbg v0.2.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libsecp256k1 v0.3.5 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling secret-toolkit-serialization v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=444d918#444d9181) [INFO] [stderr] Compiling cosmwasm-storage v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling secret-toolkit-utils v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=444d918#444d9181) [INFO] [stderr] Compiling secret-toolkit-crypto v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=444d918#444d9181) [INFO] [stderr] Compiling secret-toolkit-storage v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=444d918#444d9181) [INFO] [stderr] Compiling secret-toolkit v0.1.0 (https://github.com/enigmampc/secret-toolkit?rev=444d918#444d9181) [INFO] [stderr] Compiling secret-secret v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "66e5e5627500c75d6738e84843b2f27777cb7532a67c46fb231b03d10171f217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e5e5627500c75d6738e84843b2f27777cb7532a67c46fb231b03d10171f217", kill_on_drop: false }` [INFO] [stdout] 66e5e5627500c75d6738e84843b2f27777cb7532a67c46fb231b03d10171f217 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 3dfbd734d4609154665b7a58d1458265f04f61e85f29eaae135e810d586a2611 [INFO] running `Command { std: "docker" "start" "-a" "3dfbd734d4609154665b7a58d1458265f04f61e85f29eaae135e810d586a2611", kill_on_drop: false }` [INFO] [stderr] Compiling cbindgen v0.13.2 [INFO] [stderr] Compiling sgx_types v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling derive_more v0.99.9 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling cosmwasm-schema v0.9.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling sgx_urts v1.1.2 (https://github.com/apache/teaclave-sgx-sdk.git?rev=v1.1.2#8f065be7) [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling enclave-ffi-types v0.1.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling cosmwasm-sgx-vm v0.10.0 (https://github.com/enigmampc/SecretNetwork?tag=v1.0.0#490fba92) [INFO] [stderr] Compiling secret-secret v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `auth_query_helper` [INFO] [stdout] --> src/contract.rs:858:8 [INFO] [stdout] | [INFO] [stdout] 858 | fn auth_query_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 24s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/secret_secret-a8bc02f72bd1729c) [INFO] [stderr] Executable tests/integration.rs (/opt/rustwide/target/debug/deps/integration-47f501b2a673146a) [INFO] running `Command { std: "docker" "inspect" "3dfbd734d4609154665b7a58d1458265f04f61e85f29eaae135e810d586a2611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dfbd734d4609154665b7a58d1458265f04f61e85f29eaae135e810d586a2611", kill_on_drop: false }` [INFO] [stdout] 3dfbd734d4609154665b7a58d1458265f04f61e85f29eaae135e810d586a2611 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f79c03eeabe55924e897f45e82c2b374ec34d69e8dcafaa0768fafd89fd81c4e [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" "f79c03eeabe55924e897f45e82c2b374ec34d69e8dcafaa0768fafd89fd81c4e", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `auth_query_helper` [INFO] [stderr] --> src/contract.rs:858:8 [INFO] [stderr] | [INFO] [stderr] 858 | fn auth_query_helper( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `secret-secret` (lib test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secret_secret-a8bc02f72bd1729c) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test contract::tests::test_authenticated_queries ... ok [INFO] [stdout] test contract::tests::test_handle_admin_commands ... ok [INFO] [stdout] test contract::tests::test_handle_change_admin ... ok [INFO] [stdout] test contract::tests::test_handle_create_viewing_key ... ok [INFO] [stdout] test contract::tests::test_handle_increase_allowance ... ok [INFO] [stdout] test contract::tests::test_handle_set_contract_status ... ok [INFO] [stdout] test contract::tests::test_handle_pause_all ... ok [INFO] [stdout] test contract::tests::test_handle_pause_with_withdrawals ... ok [INFO] [stdout] test contract::tests::test_handle_set_viewing_key ... ok [INFO] [stdout] test contract::tests::test_handle_deposit ... ok [INFO] [stdout] test contract::tests::test_handle_send ... ok [INFO] [stdout] test contract::tests::test_handle_redeem ... ok [INFO] [stdout] test contract::tests::test_handle_send_from ... ok [INFO] [stdout] test contract::tests::test_handle_transfer ... ok [INFO] [stdout] test msg::tests::test_deserialization_of_missing_option_fields ... ok [INFO] [stdout] test contract::tests::test_total_supply_overflow ... ok [INFO] [stdout] test contract::tests::test_query_balance ... ok [INFO] [stdout] test contract::tests::test_query_token_info ... ok [INFO] [stdout] test contract::tests::test_handle_register_receive ... ok [INFO] [stdout] test contract::tests::test_handle_decrease_allowance ... ok [INFO] [stdout] test contract::tests::test_query_allowance ... ok [INFO] [stdout] test contract::tests::test_init_sanity ... ok [INFO] [stdout] test contract::tests::test_query_transfer_history ... ok [INFO] [stdout] test contract::tests::test_handle_transfer_from ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-47f501b2a673146a) [INFO] [stderr] Doc-tests secret-secret [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test empty_test ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 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" "f79c03eeabe55924e897f45e82c2b374ec34d69e8dcafaa0768fafd89fd81c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f79c03eeabe55924e897f45e82c2b374ec34d69e8dcafaa0768fafd89fd81c4e", kill_on_drop: false }` [INFO] [stdout] f79c03eeabe55924e897f45e82c2b374ec34d69e8dcafaa0768fafd89fd81c4e