[INFO] cloning repository https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaced-out-thoughts-dev-foundation%2Fsoroban_rust_frontend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaced-out-thoughts-dev-foundation%2Fsoroban_rust_frontend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 430f528044e65f1d259db91551b5882c3fce6c3d [INFO] testing spaced-out-thoughts-dev-foundation/soroban_rust_frontend against 1.91.0 for beta-1.92-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspaced-out-thoughts-dev-foundation%2Fsoroban_rust_frontend" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend [INFO] finished tweaking git repo https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend [INFO] tweaked toml for git repo https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spaced-out-thoughts-dev-foundation/soroban_rust_frontend 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stellar-strkey v0.0.8 [INFO] [stderr] Downloaded crate-git-revision v0.0.6 [INFO] [stderr] Downloaded soroban-sdk v20.5.0 [INFO] [stderr] Downloaded soroban-env-guest v20.3.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.55 [INFO] [stderr] Downloaded soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Downloaded num-derive v0.4.1 [INFO] [stderr] Downloaded soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Downloaded soroban-env-macros v20.3.0 [INFO] [stderr] Downloaded bytes-lit v0.0.5 [INFO] [stderr] Downloaded wasmi_arena v0.4.1 [INFO] [stderr] Downloaded darling v0.20.9 [INFO] [stderr] Downloaded prettyplease v0.2.15 [INFO] [stderr] Downloaded platforms v3.4.0 [INFO] [stderr] Downloaded ed25519-dalek v2.0.0 [INFO] [stderr] Downloaded wasmparser-nostd v0.100.2 [INFO] [stderr] Downloaded wasmparser v0.88.0 [INFO] [stderr] Downloaded soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Downloaded serde_with v3.8.1 [INFO] [stderr] Downloaded k256 v0.13.1 [INFO] [stderr] Downloaded darling_core v0.20.9 [INFO] [stderr] Downloaded soroban-env-common v20.3.0 [INFO] [stderr] Downloaded serde_with_macros v3.8.1 [INFO] [stderr] Downloaded indexmap-nostd v0.4.0 [INFO] [stderr] Downloaded escape-bytes v0.1.1 [INFO] [stderr] Downloaded soroban-env-host v20.3.0 [INFO] [stderr] Downloaded wasmi_core v0.13.0 [INFO] [stderr] Downloaded stellar-xdr v20.1.0 [INFO] [stderr] Downloaded soroban-spec-rust v20.5.0 [INFO] [stderr] Downloaded soroban-spec v20.5.0 [INFO] [stderr] Downloaded darling_macro v0.20.9 [INFO] [stderr] Downloaded thiserror v1.0.55 [INFO] [stderr] Downloaded soroban-sdk-macros v20.5.0 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a811580b5d56cc719bc6434b1bff7f947113e2cd566e11d02b64089f69066f7 [INFO] running `Command { std: "docker" "start" "-a" "4a811580b5d56cc719bc6434b1bff7f947113e2cd566e11d02b64089f69066f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a811580b5d56cc719bc6434b1bff7f947113e2cd566e11d02b64089f69066f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a811580b5d56cc719bc6434b1bff7f947113e2cd566e11d02b64089f69066f7", kill_on_drop: false }` [INFO] [stdout] 4a811580b5d56cc719bc6434b1bff7f947113e2cd566e11d02b64089f69066f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dff0887d3b78c7439a394b9b4b07fa01f5c91e9d4c6901dcd2d8391296831959 [INFO] running `Command { std: "docker" "start" "-a" "dff0887d3b78c7439a394b9b4b07fa01f5c91e9d4c6901dcd2d8391296831959", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ethnum v1.5.0 [INFO] [stderr] Compiling indexmap-nostd v0.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling wasmi_arena v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling wasmi_core v0.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling k256 v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling ed25519-dalek v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling stellar-strkey v0.0.8 [INFO] [stderr] Compiling stellar-xdr v20.1.0 [INFO] [stderr] Compiling soroban-env-common v20.3.0 [INFO] [stderr] Compiling soroban-sdk-macros v20.5.0 [INFO] [stderr] Compiling soroban-spec v20.5.0 [INFO] [stderr] Compiling soroban-spec-rust v20.5.0 [INFO] [stderr] Compiling soroban-env-macros v20.3.0 [INFO] [stderr] Compiling soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Compiling soroban-sdk v20.5.0 [INFO] [stderr] Compiling rust_to_dtr v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s [INFO] running `Command { std: "docker" "inspect" "dff0887d3b78c7439a394b9b4b07fa01f5c91e9d4c6901dcd2d8391296831959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff0887d3b78c7439a394b9b4b07fa01f5c91e9d4c6901dcd2d8391296831959", kill_on_drop: false }` [INFO] [stdout] dff0887d3b78c7439a394b9b4b07fa01f5c91e9d4c6901dcd2d8391296831959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84f863443dd51f4910a808d391a698af4abd5e29319cefff8fba8e168cb46e12 [INFO] running `Command { std: "docker" "start" "-a" "84f863443dd51f4910a808d391a698af4abd5e29319cefff8fba8e168cb46e12", kill_on_drop: false }` [INFO] [stderr] Compiling rust_to_dtr v0.18.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.14s [INFO] running `Command { std: "docker" "inspect" "84f863443dd51f4910a808d391a698af4abd5e29319cefff8fba8e168cb46e12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f863443dd51f4910a808d391a698af4abd5e29319cefff8fba8e168cb46e12", kill_on_drop: false }` [INFO] [stdout] 84f863443dd51f4910a808d391a698af4abd5e29319cefff8fba8e168cb46e12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0644193b2c99c8627f7feaceca83d520c46ca176b7dba11a21f6007f6c97a21b [INFO] running `Command { std: "docker" "start" "-a" "0644193b2c99c8627f7feaceca83d520c46ca176b7dba11a21f6007f6c97a21b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_to_dtr-a220187d749d6534) [INFO] [stdout] [INFO] [stdout] running 145 tests [INFO] [stdout] test common::compilation_state::test_scope_nary_tree ... ok [INFO] [stdout] test common::compilation_state::tests::test_compilation_state ... ok [INFO] [stdout] test common::compilation_state::tests::test_stack ... ok [INFO] [stdout] test common::compilation_state::tests::test_unique_number_generator ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_does_not_change_normal_op ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_add_and_assign ... ok [INFO] [stdout] test optimize::and_assign_elimination::tests::transform_and_assign_to_normal_op_with_assign_transforms_subtract_and_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_violate_scope ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_latest_value ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_multiple_values_with_multiple_assigns ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_same_value_multiple_times ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_does_not_propagate_after_evaluate_reassignment ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_propagates_multiple_values ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_uses_value_from_lowest_scope_less_than_or_equal_to_self ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_only_propagates_if_assign ... ok [INFO] [stdout] test optimize::constant_propagation::tests::constant_propagation_works_for_method_call_base_object ... ok [INFO] [stdout] test optimize::constant_propagation::tests::rewrite_field_instruction_as_assign_works ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::do_a_thing ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_due_to_eval_after ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::does_not_remove_assigns_when_defined_in_other_scope_and_used_later ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_complex ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::multi_scope_unreachable_goto_elimination ... ok [INFO] [stdout] test optimize::dead_code_elimination::tests::remove_unused_assigns_removes_unused_assigns_simple ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::multi_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_exit_with_message ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_and_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_jump_goto_return_and_assigns ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_goto_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::single_scope_unreachable_return_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::apply_tests::test_unreachable_jump_elimination ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::conditional_jumps ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_goto ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::handles_simple_for_loop ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_jump ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_dead_code_after_return ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_one_scope_goto_skips_instruction ... ok [INFO] [stdout] test optimize::unreachable_code_elimination::visited_tests::simple_sequential ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_binary_ops_test ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_more_complex_if_conditional ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_error ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simple_panic ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simplest_ref_input ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_various_result_handling_tactics ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_auth ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_b ... ok [INFO] [stdout] test tests::full_contract_tests::test_digicus_unofficial_examples_simplest_nested_scoping ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_custom_types ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_alloc ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_hello_world ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_logging ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_increment ... FAILED [INFO] [stdout] test translate::expression::array_expression::tests::test_handle_array_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_a_interface ... ok [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_addition ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_events ... FAILED [INFO] [stdout] test translate::expression::assign_expression::tests::test_handle_assign_expression ... FAILED [INFO] [stdout] test translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_ttl ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_eth_abi ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_errors ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_workspace_contract_b ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_simple_account ... FAILED [INFO] [stdout] test translate::expression::break_expression::tests::test_handle_break_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_handle_block_expression ... ok [INFO] [stdout] test translate::expression::block_expression::tests::test_parse_block_stmt ... ok [INFO] [stdout] test translate::expression::closure_expression::tests::test_handle_closure_expression ... ok [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_struct_init_as_input ... ok [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract ... FAILED [INFO] [stdout] test translate::expression::call_expression::tests::test_handle_call_expression_with_path ... ok [INFO] [stdout] test translate::expression::cast_expression::tests::test_handle_cast_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing ... FAILED [INFO] [stdout] test translate::expression::field_expression::tests::test_handle_field_expression_index ... FAILED [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_condition_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_else_expression ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_expression ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_timelock ... FAILED [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_simple_x_equals_1 ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_true_nested_expression ... ok [INFO] [stdout] test translate::expression::let_expression::tests::let_expression::test_let_expression_less_simple_foo_equals_bar ... ok [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression ... FAILED [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_bool ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_elseif_else_expression ... FAILED [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_byte_str ... ok [INFO] [stdout] test translate::expression::if_expression::tests::test_handle_if_let_expression ... FAILED [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_float ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_int ... ok [INFO] [stdout] test translate::expression::match_expression::tests::test_handle_match_expression ... FAILED [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression ... FAILED [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_account ... FAILED [INFO] [stdout] test translate::expression::paren_expression::tests::test_handle_paren_expression ... ok [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression ... ok [INFO] [stdout] test translate::expression::range_expression::test::test_handle_create_full_range ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_bool ... ok [INFO] [stdout] test translate::expression::method_call_expression::tests::test_handle_method_call_expression ... FAILED [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_no_expr ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_negation_expression ... ok [INFO] [stdout] test translate::expression::path_expression::tests::test_handle_path_expression ... FAILED [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_vec_i32 ... ok [INFO] [stdout] test translate::expression::index_expression::tests::test_handle_index_expression_with_nested_index ... ok [INFO] [stdout] test translate::expression::return_expression::tests::test_return_expression_int ... ok [INFO] [stdout] test translate::expression::unary_expression::tests::test_handle_unary_minus_expression ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_char ... ok [INFO] [stdout] test tests::full_contract_tests::test_stellar_official_repo_examples_single_offer ... FAILED [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_function ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_bool ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_enum ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_never ... ok [INFO] [stdout] test translate::type_name::tests::collections::test_figure_out_type_hash_map ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_pointer ... ok [INFO] [stdout] test translate::expression::tuple_expression::tests::test_handle_tuple ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_i32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f32 ... ok [INFO] [stdout] test translate::type_name::tests::test_figure_out_type_primitive_f64 ... ok [INFO] [stdout] test translate::expression::struct_expression::tests::test_handle_struct_expression ... ok [INFO] [stdout] test translate::expression::repeat_expression::tests::test_handle_repeat_expression ... FAILED [INFO] [stdout] test translate::expression::for_loop_expression::tests::test_handle_for_loop_expression ... ok [INFO] [stdout] test translate::expression::lit_expression::tests::lit_expression::test_lit_expression_char ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: AnswerToLifeContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: return, input: (42), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life' (63) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AnswerToLifeContract[Interface]:-() [fourty_two]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 1, instruction: return, input: (42), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: AnswerToLifeContract[Interface]:-() [fourty_two]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (42), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8d95 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life::h45d869866a7a82d0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8dd7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life::{{closure}}::he67a4024dfb704ce [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600df56 - core::ops::function::FnOnce::call_once::h277e6d71cd4e8591 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: GetForceTypeAnswerToLife [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 0, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, 42), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life' (68) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: GetForceTypeAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Env}* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 0, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, 42), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: GetForceTypeAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Env}* Instructions:${ id: 6, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 7, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.instance), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, 42), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca705 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life::hcf01a9d3b5e816db [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca747 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life::{{closure}}::hb8e06462073bf9f1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600fe16 - core::ops::function::FnOnce::call_once::hd8fe39c5e95a080f [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClosureAroundAnswerToLife [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [closure_around_answer_to_life] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: assign, input: (20), assign: x, scope: 0 } [INFO] [stdout] { id: 18, instruction: add, input: (x, a), assign: BINARY_EXPRESSION_LEFT_8, scope: 0 } [INFO] [stdout] { id: 23, instruction: add, input: (BINARY_EXPRESSION_LEFT_8, b), assign: add_closure, scope: 0 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (add_closure, 1, 21), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life' (66) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ClosureAroundAnswerToLife[Interface]:-() [closure_around_answer_to_life]* Inputs:{}* Output: Integer* Instructions:${ id: 5, instruction: assign, input: (20), assign: x, scope: 0 }{ id: 18, instruction: add, input: (x, a), assign: BINARY_EXPRESSION_LEFT_8, scope: 0 }{ id: 23, instruction: add, input: (BINARY_EXPRESSION_LEFT_8, b), assign: add_closure, scope: 0 }{ id: 39, instruction: evaluate, input: (add_closure, 1, 21), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: ClosureAroundAnswerToLife[Interface]:-() [closure_around_answer_to_life]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: assign, input: (20), assign: x, scope: 0 }{ id: 7, instruction: add, input: (x, a), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 }{ id: 9, instruction: add, input: (BINARY_EXPRESSION_LEFT_1, b), assign: add_closure, scope: 0 }{ id: 16, instruction: evaluate, input: (add_closure, 1, 21), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca615 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life::h9da0df62a1c55811 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca657 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life::{{closure}}::he99c266281de7975 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600d916 - core::ops::function::FnOnce::call_once::h13940d84998a35ec [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [simple_break_statement] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 6, instruction: instantiate_object, input: (Range, 0, 10), assign: ITERATOR_0, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (start, ITERATOR_0), assign: i, scope: 0 } [INFO] [stdout] { id: 8, instruction: end_of_iteration_check, input: (i, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 9), scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (equal_to, i, 5), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 9 } [INFO] [stdout] { id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 17), scope: 9 } [INFO] [stdout] { id: 0, instruction: print, input: ("We got a five!"), scope: 17 } [INFO] [stdout] { id: 1, instruction: break, input: (), scope: 17 } [INFO] [stdout] { id: 2, instruction: jump, input: (9), scope: 17 } [INFO] [stdout] { id: 3, instruction: print, input: ("i: {}", i), scope: 9 } [INFO] [stdout] { id: 9, instruction: increment, input: (i, ITERATOR_0), scope: 9 } [INFO] [stdout] { id: 11, instruction: goto, input: (8), scope: 9 } [INFO] [stdout] { id: 12, instruction: print, input: ("Done!"), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps' (65) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [simple_break_statement]* Inputs:{}* Instructions:${ id: 6, instruction: instantiate_object, input: (Range, 0, 10), assign: ITERATOR_0, scope: 0 }{ id: 7, instruction: evaluate, input: (start, ITERATOR_0), assign: i, scope: 0 }{ id: 8, instruction: end_of_iteration_check, input: (i, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 9), scope: 0 }{ id: 16, instruction: evaluate, input: (equal_to, i, 5), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 9 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 17), scope: 9 }{ id: 0, instruction: print, input: (\"We got a five!\"), scope: 17 }{ id: 1, instruction: break, input: (), scope: 17 }{ id: 2, instruction: jump, input: (9), scope: 17 }{ id: 3, instruction: print, input: (\"i: {}\", i), scope: 9 }{ id: 9, instruction: increment, input: (i, ITERATOR_0), scope: 9 }{ id: 11, instruction: goto, input: (8), scope: 9 }{ id: 12, instruction: print, input: (\"Done!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [simple_break_statement]* Inputs:{}* Instructions:${ id: 6, instruction: instantiate_object, input: (Range, 0, 10), assign: ITERATOR_0, scope: 0 }{ id: 7, instruction: evaluate, input: (start, ITERATOR_0), assign: i, scope: 0 }{ id: 8, instruction: end_of_iteration_check, input: (i, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 9), scope: 0 }{ id: 16, instruction: evaluate, input: (equal_to, i, 5), assign: CONDITIONAL_JUMP_ASSIGNMENT_11, scope: 9 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_11, 17), scope: 9 }{ id: 19, instruction: print, input: (\"We got a five!\"), scope: 17 }{ id: 20, instruction: break, input: (), scope: 17 }{ id: 21, instruction: jump, input: (9), scope: 17 }{ id: 22, instruction: print, input: (\"i: {}\", i), scope: 9 }{ id: 23, instruction: increment, input: (i, ITERATOR_0), scope: 9 }{ id: 24, instruction: goto, input: (8), scope: 9 }{ id: 25, instruction: print, input: (\"Done!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fcae85 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps::he97267007b28cb69 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fcaec7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps::{{closure}}::hcf64c20e9856433f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d8806010386 - core::ops::function::FnOnce::call_once::hf0419316f8e50a37 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [return_some_or_none] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] x: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Option [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 6, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 22, instruction: jump, input: (20), scope: 0 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 } [INFO] [stdout] { id: 19, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_25, scope: 20 } [INFO] [stdout] { id: 34, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_25, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_24, scope: 20 } [INFO] [stdout] { id: 36, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_24, 35), scope: 20 } [INFO] [stdout] { id: 46, instruction: jump, input: (45), scope: 20 } [INFO] [stdout] { id: 43, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 35 } [INFO] [stdout] { id: 44, instruction: jump, input: (20), scope: 35 } [INFO] [stdout] { id: 47, instruction: assign, input: (None), assign: spend_left|||Option, scope: 45 } [INFO] [stdout] { id: 48, instruction: jump, input: (20), scope: 45 } [INFO] [stdout] { id: 49, instruction: jump, input: (0), scope: 20 } [INFO] [stdout] { id: 0, instruction: return, input: (spend_left), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none' (69) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [return_some_or_none]* Inputs:{x: Integer}* Output: Option* Instructions:${ id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 6, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 22, instruction: jump, input: (20), scope: 0 }{ id: 17, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 }{ id: 19, instruction: jump, input: (0), scope: 4 }{ id: 28, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_25, scope: 20 }{ id: 34, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_25, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_24, scope: 20 }{ id: 36, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_24, 35), scope: 20 }{ id: 46, instruction: jump, input: (45), scope: 20 }{ id: 43, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 35 }{ id: 44, instruction: jump, input: (20), scope: 35 }{ id: 47, instruction: assign, input: (None), assign: spend_left|||Option, scope: 45 }{ id: 48, instruction: jump, input: (20), scope: 45 }{ id: 49, instruction: jump, input: (0), scope: 20 }{ id: 0, instruction: return, input: (spend_left), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [return_some_or_none]* Inputs:{x: Integer}* Output: Option* Instructions:${ id: 3, instruction: try_assign, input: (spend_left_per_token, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 13, instruction: jump, input: (12), scope: 0 }{ id: 10, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 4 }{ id: 11, instruction: jump, input: (0), scope: 4 }{ id: 18, instruction: evaluate, input: (env.storage), assign: INPUT_VALUE_NAME_FOR_LET_15, scope: 12 }{ id: 19, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_15, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_14, scope: 12 }{ id: 21, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_14, 20), scope: 12 }{ id: 29, instruction: jump, input: (28), scope: 12 }{ id: 26, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 20 }{ id: 27, instruction: jump, input: (12), scope: 20 }{ id: 30, instruction: assign, input: (None), assign: spend_left|||Option, scope: 28 }{ id: 31, instruction: jump, input: (12), scope: 28 }{ id: 32, instruction: jump, input: (0), scope: 12 }{ id: 0, instruction: return, input: (spend_left), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca7f5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none::hdf4c592f17baef6e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca837 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none::{{closure}}::ha87b71a08998e6a6 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d8806010606 - core::ops::function::FnOnce::call_once::hfe9f7877ab274815 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums stdout ---- [INFO] [stdout] DTR Code: [Contract]: InnerdsOfEnums [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [answer_to_life] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: return, input: (42), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (StorageKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] Minter: (Address, Address) [INFO] [stdout] MinterStats: (Address, Address, Integer, Integer) [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums' (72) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: InnerdsOfEnums[Interface]:-() [answer_to_life]* Inputs:{}* Output: Integer* Instructions:${ id: 5, instruction: return, input: (42), scope: 0 }$:[Interface][User Defined Types]:* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: InnerdsOfEnums[Interface]:-() [answer_to_life]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (42), scope: 0 }$:[Interface][User Defined Types]:* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9335 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums::hc54d94c84aa44b89 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9377 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums::{{closure}}::h8820c6d9f27a0ae2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d8806010316 - core::ops::function::FnOnce::call_once::hed0697769ff1e10b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementAnswerToLifeContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] and_then_some: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 17, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life' (71) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementAnswerToLifeContract[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envand_then_some: Integer}* Output: Integer* Instructions:${ id: 17, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: IncrementAnswerToLifeContract[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envand_then_some: Integer}* Output: Integer* Instructions:${ id: 4, instruction: add, input: (42, and_then_some), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca325 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life::h8326b9faf841a2ed [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca367 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life::{{closure}}::h007c73aabc8203ef [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600de46 - core::ops::function::FnOnce::call_once::h25e845ae25f6bb3b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment stdout ---- [INFO] [stdout] DTR Code: [Contract]: NestedScoping [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] is_answer_to_life: Boolean [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: jump, input: (is_answer_to_life, 4), scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (8), scope: 0 } [INFO] [stdout] { id: 6, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_3, scope: 4 } [INFO] [stdout] { id: 7, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 1, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_3, scope: 8 } [INFO] [stdout] { id: 12, instruction: jump, input: (0), scope: 8 } [INFO] [stdout] { id: 3, instruction: return, input: (RETURN_VALUE_LABEL_3), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment' (80) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: NestedScoping[Interface]:-() [fourty_two_and_then_some]* Inputs:{is_answer_to_life: Boolean}* Output: Integer* Instructions:${ id: 5, instruction: jump, input: (is_answer_to_life, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_3, scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 1, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_3, scope: 8 }{ id: 12, instruction: jump, input: (0), scope: 8 }{ id: 3, instruction: return, input: (RETURN_VALUE_LABEL_3), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: NestedScoping[Interface]:-() [fourty_two_and_then_some]* Inputs:{is_answer_to_life: Boolean}* Output: Integer* Instructions:${ id: 4, instruction: jump, input: (is_answer_to_life, 3), scope: 0 }{ id: 8, instruction: jump, input: (7), scope: 0 }{ id: 5, instruction: assign, input: (42), assign: RETURN_VALUE_LABEL_0, scope: 3 }{ id: 6, instruction: jump, input: (0), scope: 3 }{ id: 9, instruction: assign, input: (40), assign: RETURN_VALUE_LABEL_0, scope: 7 }{ id: 10, instruction: jump, input: (0), scope: 7 }{ id: 11, instruction: return, input: (RETURN_VALUE_LABEL_0), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca8e5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment::hf8207eb3b274c149 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca927 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment::{{closure}}::h6a364f955a1b3602 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f116 - core::ops::function::FnOnce::call_once::h8b1751b20bc64ad0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: CountZeroToAnswerToLife [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [count_zero_to_answer_to_life] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 11, instruction: instantiate_object, input: (Range, Zero, AnswerToLife), assign: ITERATOR_5, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (start, ITERATOR_5), assign: i, scope: 0 } [INFO] [stdout] { id: 14, instruction: end_of_iteration_check, input: (i, ITERATOR_5), assign: CHECK_CONDITION_ASSIGNMENT_6, scope: 0 } [INFO] [stdout] { id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_6, 15), scope: 0 } [INFO] [stdout] { id: 19, instruction: print, input: ("Counting: {}", i), scope: 15 } [INFO] [stdout] { id: 21, instruction: increment, input: (i, ITERATOR_5), scope: 15 } [INFO] [stdout] { id: 22, instruction: goto, input: (14), scope: 15 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [Zero] [INFO] [stdout] * Type: Integer [INFO] [stdout] * Initial Value: 0 [INFO] [stdout] * [AnswerToLife] [INFO] [stdout] * Type: Integer [INFO] [stdout] * Initial Value: 42 [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life' (67) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: CountZeroToAnswerToLife[Interface]:-() [count_zero_to_answer_to_life]* Inputs:{}* Instructions:${ id: 11, instruction: instantiate_object, input: (Range, Zero, AnswerToLife), assign: ITERATOR_5, scope: 0 }{ id: 13, instruction: evaluate, input: (start, ITERATOR_5), assign: i, scope: 0 }{ id: 14, instruction: end_of_iteration_check, input: (i, ITERATOR_5), assign: CHECK_CONDITION_ASSIGNMENT_6, scope: 0 }{ id: 16, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_6, 15), scope: 0 }{ id: 19, instruction: print, input: (\"Counting: {}\", i), scope: 15 }{ id: 21, instruction: increment, input: (i, ITERATOR_5), scope: 15 }{ id: 22, instruction: goto, input: (14), scope: 15 }$:[Interface][State]:* [Zero]* Type: Integer* Initial Value: 0* [AnswerToLife]* Type: Integer* Initial Value: 42:[State]" [INFO] [stdout] right: "[Contract]: CountZeroToAnswerToLife[Interface]:-() [count_zero_to_answer_to_life]* Inputs:{}* Instructions:${ id: 6, instruction: instantiate_object, input: (Range, Zero, AnswerToLife), assign: ITERATOR_0, scope: 0 }{ id: 7, instruction: evaluate, input: (start, ITERATOR_0), assign: i, scope: 0 }{ id: 8, instruction: end_of_iteration_check, input: (i, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 9), scope: 0 }{ id: 11, instruction: print, input: (\"Counting: {}\", i), scope: 9 }{ id: 12, instruction: increment, input: (i, ITERATOR_0), scope: 9 }{ id: 13, instruction: goto, input: (8), scope: 9 }$:[Interface][State]:* [Zero]* Type: Integer* Initial Value: 0* [AnswerToLife]* Type: Integer* Initial Value: 42:[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fca525 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life::h67a892e479218fdf [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fca567 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life::{{closure}}::h8bab323c21b2cf4e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600fa06 - core::ops::function::FnOnce::call_once::hbc93b29578faecd2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: LogIfAnswerToLife [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two_and_then_some] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] possibly_the_answer_to_life: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 2, instruction: evaluate, input: (equal_to, possibly_the_answer_to_life, ANSWER_TO_LIFE), assign: UNARY_ARGUMENT_1, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (!, UNARY_ARGUMENT_1), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (log_to_env, &, env, "Yes, the answer to life is 42!"), scope: 4 } [INFO] [stdout] { id: 20, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [ANSWER_TO_LIFE] [INFO] [stdout] * Type: Integer [INFO] [stdout] * Initial Value: 42 [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [log_to_env] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] message: String [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: print, input: (&env, &message), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life' (74) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: LogIfAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envpossibly_the_answer_to_life: Integer}* Instructions:${ id: 2, instruction: evaluate, input: (equal_to, possibly_the_answer_to_life, ANSWER_TO_LIFE), assign: UNARY_ARGUMENT_1, scope: 0 }{ id: 3, instruction: evaluate, input: (!, UNARY_ARGUMENT_1), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 18, instruction: evaluate, input: (log_to_env, &, env, \"Yes, the answer to life is 42!\"), scope: 4 }{ id: 20, instruction: jump, input: (0), scope: 4 }$:[Interface][State]:* [ANSWER_TO_LIFE]* Type: Integer* Initial Value: 42:[State][Helpers]:-() [log_to_env]* Inputs:{env: Envmessage: String}* Instructions:${ id: 0, instruction: print, input: (&env, &message), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: LogIfAnswerToLife[Interface]:-() [fourty_two_and_then_some]* Inputs:{env: Envpossibly_the_answer_to_life: Integer}* Instructions:${ id: 6, instruction: evaluate, input: (equal_to, possibly_the_answer_to_life, ANSWER_TO_LIFE), assign: UNARY_ARGUMENT_1, scope: 0 }{ id: 7, instruction: evaluate, input: (!, UNARY_ARGUMENT_1), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 }{ id: 18, instruction: evaluate, input: (log_to_env, &, env, \"Yes, the answer to life is 42!\"), scope: 8 }{ id: 19, instruction: jump, input: (0), scope: 8 }$:[Interface][State]:* [ANSWER_TO_LIFE]* Type: Integer* Initial Value: 42:[State][Helpers]:-() [log_to_env]* Inputs:{env: Envmessage: String}* Instructions:${ id: 0, instruction: print, input: (&env, &message), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9e75 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life::hee2a5f69c1b00d84 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9eb7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life::{{closure}}::hf0289175d346fb85 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600dc96 - core::ops::function::FnOnce::call_once::h21df069a752996d1 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [match_on_numbers] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] x: String [INFO] [stdout] } [INFO] [stdout] * Output: String [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (x.as_str), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok("\"zero\"")), assign: CONDITIONAL_JUMP_CHECK_4, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok("\"one\"")), assign: CONDITIONAL_JUMP_CHECK_1, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, _), assign: CONDITIONAL_JUMP_CHECK_8, scope: 0 } [INFO] [stdout] { id: 7, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_4, 6), scope: 0 } [INFO] [stdout] { id: 4, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_1, 3), scope: 0 } [INFO] [stdout] { id: 11, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_8, 10), scope: 0 } [INFO] [stdout] { id: 8, instruction: assign, input: ("zero"), assign: Thing_to_return, scope: 6 } [INFO] [stdout] { id: 15, instruction: jump, input: (0), scope: 6 } [INFO] [stdout] { id: 6, instruction: assign, input: ("one"), assign: Thing_to_return, scope: 3 } [INFO] [stdout] { id: 16, instruction: jump, input: (0), scope: 3 } [INFO] [stdout] { id: 12, instruction: assign, input: ("unknown"), assign: Thing_to_return, scope: 10 } [INFO] [stdout] { id: 13, instruction: jump, input: (0), scope: 10 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers' (75) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [match_on_numbers]* Inputs:{x: String}* Output: String* Instructions:${ id: 3, instruction: evaluate, input: (x.as_str), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 5, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok(\"\\\"zero\\\"\")), assign: CONDITIONAL_JUMP_CHECK_4, scope: 0 }{ id: 14, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok(\"\\\"one\\\"\")), assign: CONDITIONAL_JUMP_CHECK_1, scope: 0 }{ id: 9, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, _), assign: CONDITIONAL_JUMP_CHECK_8, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_4, 6), scope: 0 }{ id: 4, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_1, 3), scope: 0 }{ id: 11, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_8, 10), scope: 0 }{ id: 8, instruction: assign, input: (\"zero\"), assign: Thing_to_return, scope: 6 }{ id: 15, instruction: jump, input: (0), scope: 6 }{ id: 6, instruction: assign, input: (\"one\"), assign: Thing_to_return, scope: 3 }{ id: 16, instruction: jump, input: (0), scope: 3 }{ id: 12, instruction: assign, input: (\"unknown\"), assign: Thing_to_return, scope: 10 }{ id: 13, instruction: jump, input: (0), scope: 10 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [match_on_numbers]* Inputs:{x: String}* Output: String* Instructions:${ id: 3, instruction: evaluate, input: (x.as_str), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 5, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok(\"\\\"zero\\\"\")), assign: CONDITIONAL_JUMP_CHECK_4, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Ok(\"\\\"one\\\"\")), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 17, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, _), assign: CONDITIONAL_JUMP_CHECK_16, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_4, 6), scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 19, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_16, 18), scope: 0 }{ id: 8, instruction: assign, input: (\"zero\"), assign: Thing_to_return, scope: 6 }{ id: 9, instruction: jump, input: (0), scope: 6 }{ id: 14, instruction: assign, input: (\"one\"), assign: Thing_to_return, scope: 12 }{ id: 15, instruction: jump, input: (0), scope: 12 }{ id: 20, instruction: assign, input: (\"unknown\"), assign: Thing_to_return, scope: 18 }{ id: 21, instruction: jump, input: (0), scope: 18 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9425 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers::h6aa2e1a60b18068b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9467 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers::{{closure}}::hb5d24be251cc66fe [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f5f6 - core::ops::function::FnOnce::call_once::hab676cd097510e5d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life stdout ---- [INFO] [stdout] DTR Code: [Contract]: AnswerToLifeContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [fourty_two] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: return, input: (SomeNumberedEnums::AnswerToLife), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (SomeNumberedEnums_ENUM) [INFO] [stdout] { [INFO] [stdout] NotTheAnswerToLife = 0 [INFO] [stdout] CloserToTheAnswerToLife = 41 [INFO] [stdout] AnswerToLife = 42 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life' (78) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AnswerToLifeContract[Interface]:-() [fourty_two]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 1, instruction: return, input: (SomeNumberedEnums::AnswerToLife), scope: 0 }$:[Interface][User Defined Types]:* (SomeNumberedEnums_ENUM){NotTheAnswerToLife = 0CloserToTheAnswerToLife = 41AnswerToLife = 42}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: AnswerToLifeContract[Interface]:-() [fourty_two]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (SomeNumberedEnums::AnswerToLife), scope: 0 }$:[Interface][User Defined Types]:* (SomeNumberedEnums_ENUM){NotTheAnswerToLife = 0CloserToTheAnswerToLife = 41AnswerToLife = 42}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fcad95 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life::h9a88b00ee699a751 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fcadd7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life::{{closure}}::h3341fd63354ab27a [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ed76 - core::ops::function::FnOnce::call_once::h7b77e365e9681ff9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop stdout ---- [INFO] [stdout] DTR Code: [Contract]: NonRangeForLoopContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [do_a_thing_for_each_element_in_vec] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] some_vec: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 4, instruction: evaluate, input: (some_vec.iter), assign: ITERATOR_0, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (start, ITERATOR_0), assign: some_thing_in_a_vec, scope: 0 } [INFO] [stdout] { id: 32, instruction: end_of_iteration_check, input: (some_thing_in_a_vec, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 34, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 33), scope: 0 } [INFO] [stdout] { id: 35, instruction: print, input: ("Doing a thing"), scope: 33 } [INFO] [stdout] { id: 36, instruction: increment, input: (some_thing_in_a_vec, ITERATOR_0), scope: 33 } [INFO] [stdout] { id: 37, instruction: goto, input: (32), scope: 33 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop' (77) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: NonRangeForLoopContract[Interface]:-() [do_a_thing_for_each_element_in_vec]* Inputs:{some_vec: List}* Instructions:${ id: 4, instruction: evaluate, input: (some_vec.iter), assign: ITERATOR_0, scope: 0 }{ id: 30, instruction: evaluate, input: (start, ITERATOR_0), assign: some_thing_in_a_vec, scope: 0 }{ id: 32, instruction: end_of_iteration_check, input: (some_thing_in_a_vec, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 }{ id: 34, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 33), scope: 0 }{ id: 35, instruction: print, input: (\"Doing a thing\"), scope: 33 }{ id: 36, instruction: increment, input: (some_thing_in_a_vec, ITERATOR_0), scope: 33 }{ id: 37, instruction: goto, input: (32), scope: 33 }$:[Interface]" [INFO] [stdout] right: "[Contract]: NonRangeForLoopContract[Interface]:-() [do_a_thing_for_each_element_in_vec]* Inputs:{some_vec: List}* Instructions:${ id: 4, instruction: evaluate, input: (some_vec.iter), assign: ITERATOR_0, scope: 0 }{ id: 5, instruction: evaluate, input: (start, ITERATOR_0), assign: some_thing_in_a_vec, scope: 0 }{ id: 6, instruction: end_of_iteration_check, input: (some_thing_in_a_vec, ITERATOR_0), assign: CHECK_CONDITION_ASSIGNMENT_1, scope: 0 }{ id: 8, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_1, 7), scope: 0 }{ id: 9, instruction: print, input: (\"Doing a thing\"), scope: 7 }{ id: 10, instruction: increment, input: (some_thing_in_a_vec, ITERATOR_0), scope: 7 }{ id: 11, instruction: goto, input: (6), scope: 7 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc96f5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop::h88a882ce93d37d47 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9737 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop::{{closure}}::h08a0570ecd553c65 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ddc6 - core::ops::function::FnOnce::call_once::h24a094d3e659295b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [if_let_example] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] letter: Option [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 7, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_4, scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_4, 8), scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (12), scope: 0 } [INFO] [stdout] { id: 10, instruction: print, input: ("Matched {:?}!", i), scope: 8 } [INFO] [stdout] { id: 11, instruction: jump, input: (0), scope: 8 } [INFO] [stdout] { id: 18, instruction: print, input: ("Didn't match a number. Let's go with a letter!"), scope: 12 } [INFO] [stdout] { id: 19, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 23, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 } [INFO] [stdout] { id: 25, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 24), scope: 0 } [INFO] [stdout] { id: 28, instruction: return, input: (foobar), scope: 24 } [INFO] [stdout] { id: 31, instruction: exit_with_message, input: ("This is a panic!"), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression' (70) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 7, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_4, scope: 0 }{ id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_4, 8), scope: 0 }{ id: 13, instruction: jump, input: (12), scope: 0 }{ id: 10, instruction: print, input: (\"Matched {:?}!\", i), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 18, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 12 }{ id: 19, instruction: jump, input: (0), scope: 12 }{ id: 23, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 25, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 24), scope: 0 }{ id: 28, instruction: return, input: (foobar), scope: 24 }{ id: 31, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [if_let_example]* Inputs:{letter: Option}* Instructions:${ id: 3, instruction: try_assign, input: (letter, Some(i)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 9, instruction: jump, input: (8), scope: 0 }{ id: 6, instruction: print, input: (\"Matched {:?}!\", i), scope: 4 }{ id: 7, instruction: jump, input: (0), scope: 4 }{ id: 10, instruction: print, input: (\"Didn't match a number. Let's go with a letter!\"), scope: 8 }{ id: 11, instruction: jump, input: (0), scope: 8 }{ id: 15, instruction: try_assign, input: (ok_foobar, Ok(foobar)), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 16), scope: 0 }{ id: 20, instruction: return, input: (foobar), scope: 16 }{ id: 22, instruction: exit_with_message, input: (\"This is a panic!\"), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9515 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::h44ad052e223a0589 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9557 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression::{{closure}}::h218ddad2c6aaf85e [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ee76 - core::ops::function::FnOnce::call_once::h7d078d6d089136e2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [get_count_item] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] s: &str [INFO] [stdout] } [INFO] [stdout] * Output: (Integer, &str) [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 14, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_6, scope: 0 } [INFO] [stdout] { id: 16, instruction: try_assign, input: ((Some(count_str) Some(item)), TRY_ASSIGN_RESULT_6), assign: TRY_ASSIGN_RESULT_CONDITIONAL_7, scope: 0 } [INFO] [stdout] { id: 18, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_7, 17), scope: 0 } [INFO] [stdout] { id: 20, instruction: jump, input: (19), scope: 0 } [INFO] [stdout] { id: 21, instruction: jump, input: (0), scope: 17 } [INFO] [stdout] { id: 22, instruction: exit_with_message, input: ("Can't segment count item pair: '{s}'"), scope: 19 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_24, scope: 0 } [INFO] [stdout] { id: 31, instruction: try_assign, input: (Ok(count), TRY_ASSIGN_RESULT_24), assign: TRY_ASSIGN_RESULT_CONDITIONAL_25, scope: 0 } [INFO] [stdout] { id: 33, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_25, 32), scope: 0 } [INFO] [stdout] { id: 35, instruction: jump, input: (34), scope: 0 } [INFO] [stdout] { id: 36, instruction: jump, input: (0), scope: 32 } [INFO] [stdout] { id: 37, instruction: exit_with_message, input: ("Can't parse integer: '{count_str}'"), scope: 34 } [INFO] [stdout] { id: 15, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 17, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression' (73) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [get_count_item]* Inputs:{s: &str}* Output: (Integer, &str)* Instructions:${ id: 5, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 }{ id: 10, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 13, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 14, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_6, scope: 0 }{ id: 16, instruction: try_assign, input: ((Some(count_str) Some(item)), TRY_ASSIGN_RESULT_6), assign: TRY_ASSIGN_RESULT_CONDITIONAL_7, scope: 0 }{ id: 18, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_7, 17), scope: 0 }{ id: 20, instruction: jump, input: (19), scope: 0 }{ id: 21, instruction: jump, input: (0), scope: 17 }{ id: 22, instruction: exit_with_message, input: (\"Can't segment count item pair: '{s}'\"), scope: 19 }{ id: 30, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_24, scope: 0 }{ id: 31, instruction: try_assign, input: (Ok(count), TRY_ASSIGN_RESULT_24), assign: TRY_ASSIGN_RESULT_CONDITIONAL_25, scope: 0 }{ id: 33, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_25, 32), scope: 0 }{ id: 35, instruction: jump, input: (34), scope: 0 }{ id: 36, instruction: jump, input: (0), scope: 32 }{ id: 37, instruction: exit_with_message, input: (\"Can't parse integer: '{count_str}'\"), scope: 34 }{ id: 15, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 }{ id: 17, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [get_count_item]* Inputs:{s: &str}* Output: (Integer, &str)* Instructions:${ id: 4, instruction: evaluate, input: (s.split, ' '), assign: it, scope: 0 }{ id: 9, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 12, instruction: evaluate, input: (it.next), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 13, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0), assign: TRY_ASSIGN_RESULT_5, scope: 0 }{ id: 15, instruction: try_assign, input: ((Some(count_str) Some(item)), TRY_ASSIGN_RESULT_5), assign: TRY_ASSIGN_RESULT_CONDITIONAL_6, scope: 0 }{ id: 17, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_6, 16), scope: 0 }{ id: 19, instruction: jump, input: (18), scope: 0 }{ id: 20, instruction: jump, input: (0), scope: 16 }{ id: 21, instruction: exit_with_message, input: (\"Can't segment count item pair: '{s}'\"), scope: 18 }{ id: 29, instruction: evaluate, input: (u64::from_str, count_str), assign: TRY_ASSIGN_RESULT_23, scope: 0 }{ id: 30, instruction: try_assign, input: (Ok(count), TRY_ASSIGN_RESULT_23), assign: TRY_ASSIGN_RESULT_CONDITIONAL_24, scope: 0 }{ id: 32, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_24, 31), scope: 0 }{ id: 34, instruction: jump, input: (33), scope: 0 }{ id: 35, instruction: jump, input: (0), scope: 31 }{ id: 36, instruction: exit_with_message, input: (\"Can't parse integer: '{count_str}'\"), scope: 33 }{ id: 40, instruction: instantiate_object, input: (Tuple, count, item), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc98d5 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression::hb95cc5cfbed729f9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9917 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression::{{closure}}::hf81d7548ac875dbe [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f8a6 - core::ops::function::FnOnce::call_once::hb8fe246a5dafbe1a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop stdout ---- [INFO] [stdout] DTR Code: [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [sum] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: assign, input: (0), assign: sum, scope: 0 } [INFO] [stdout] { id: 3, instruction: assign, input: (v1), assign: ITERATOR_1, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (start, v1), assign: i, scope: 0 } [INFO] [stdout] { id: 5, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 } [INFO] [stdout] { id: 7, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 6), scope: 0 } [INFO] [stdout] { id: 12, instruction: add, input: (sum, i), assign: sum, scope: 6 } [INFO] [stdout] { id: 13, instruction: increment, input: (i, ITERATOR_1), scope: 6 } [INFO] [stdout] { id: 14, instruction: goto, input: (5), scope: 6 } [INFO] [stdout] { id: 16, instruction: return, input: (sum), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop' (82) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Helpers]:-() [sum]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 3, instruction: assign, input: (v1), assign: ITERATOR_1, scope: 0 }{ id: 4, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 5, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 7, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 6), scope: 0 }{ id: 12, instruction: add, input: (sum, i), assign: sum, scope: 6 }{ id: 13, instruction: increment, input: (i, ITERATOR_1), scope: 6 }{ id: 14, instruction: goto, input: (5), scope: 6 }{ id: 16, instruction: return, input: (sum), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Helpers]:-() [sum]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 3, instruction: assign, input: (v1), assign: ITERATOR_1, scope: 0 }{ id: 4, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 5, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 7, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 6), scope: 0 }{ id: 12, instruction: add, input: (sum, i), assign: sum, scope: 6 }{ id: 13, instruction: increment, input: (i, ITERATOR_1), scope: 6 }{ id: 14, instruction: goto, input: (5), scope: 6 }{ id: 0, instruction: return, input: (sum), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9f65 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop::he6934d96ca53aa52 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9fa7 - rust_to_dtr::tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop::{{closure}}::h3f83fd8d17fa1bce [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600d516 - core::ops::function::FnOnce::call_once::h060114a5d7c064d0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_auth stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [increment] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] user: Address [INFO] [stdout] value: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 2, instruction: evaluate, input: (user.require_auth), scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (user.clone), assign: CALL_EXPRESSION_ARG_1_3, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (DataKey::Counter, CALL_EXPRESSION_ARG_1_3), assign: key, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.persistent), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.get, &, key), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap_or_default), assign: count|||Integer, scope: 0 } [INFO] [stdout] { id: 17, instruction: add, input: (count, value), assign: count, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, key, &, count), scope: 0 } [INFO] [stdout] { id: 27, instruction: return, input: (count), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Counter: (Address) [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_auth' (90) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envuser: Addressvalue: Integer}* Output: Integer* Instructions:${ id: 2, instruction: evaluate, input: (user.require_auth), scope: 0 }{ id: 6, instruction: evaluate, input: (user.clone), assign: CALL_EXPRESSION_ARG_1_3, scope: 0 }{ id: 9, instruction: evaluate, input: (DataKey::Counter, CALL_EXPRESSION_ARG_1_3), assign: key, scope: 0 }{ id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.persistent), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.get, &, key), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 22, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap_or_default), assign: count|||Integer, scope: 0 }{ id: 17, instruction: add, input: (count, value), assign: count, scope: 0 }{ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, key, &, count), scope: 0 }{ id: 27, instruction: return, input: (count), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Counter: (Address)}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envuser: Addressvalue: Integer}* Output: Integer* Instructions:${ id: 2, instruction: evaluate, input: (user.require_auth), scope: 0 }{ id: 6, instruction: evaluate, input: (user.clone), assign: CALL_EXPRESSION_ARG_1_3, scope: 0 }{ id: 9, instruction: evaluate, input: (DataKey::Counter, CALL_EXPRESSION_ARG_1_3), assign: key, scope: 0 }{ id: 19, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.persistent), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.get, &, key), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 22, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.unwrap_or_default), assign: count|||Integer, scope: 0 }{ id: 27, instruction: add, input: (count, value), assign: count, scope: 0 }{ id: 40, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_37, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_37.persistent), assign: METHOD_CALL_EXPRESSION_36, scope: 0 }{ id: 42, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.set, &, key, &, count), scope: 0 }{ id: 0, instruction: return, input: (count), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Counter: (Address)}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8165 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_auth::hc1a836389a8e0267 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc81a7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_auth::{{closure}}::h2556ea6253a17a12 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ec96 - core::ops::function::FnOnce::call_once::h76692b36e2cac19c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a stdout ---- [INFO] [stdout] DTR Code: [Contract]: ContractA [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [add] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] x: Integer [INFO] [stdout] y: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: evaluate, input: (x.checked_add, y), assign: METHOD_CALL_EXPRESSION_3, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.expect, "no overflow"), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 4, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a' (91) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ContractA[Interface]:-() [add]* Inputs:{x: Integery: Integer}* Output: Integer* Instructions:${ id: 1, instruction: evaluate, input: (x.checked_add, y), assign: METHOD_CALL_EXPRESSION_3, scope: 0 }{ id: 3, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.expect, \"no overflow\"), assign: Thing_to_return, scope: 0 }{ id: 4, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: ContractA[Interface]:-() [add]* Inputs:{x: Integery: Integer}* Output: Integer* Instructions:${ id: 7, instruction: evaluate, input: (x.checked_add, y), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.expect, \"no overflow\"), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9ab5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a::h6ce283cc434650e7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9af7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a::{{closure}}::hd8003b5e473c70f2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f866 - core::ops::function::FnOnce::call_once::hb6a8988feb889b26 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] value: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.instance), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, KEY, &, value), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [value] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, &, KEY), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [KEY] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "value" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract' (94) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [init]* Inputs:{env: Envvalue: Integer}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.instance), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, KEY, &, value), scope: 0 }$-() [value]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 9, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, &, KEY), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][State]:* [KEY]* Type: String* Initial Value: \"value\":[State]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [init]* Inputs:{env: Envvalue: Integer}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.instance), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, KEY, &, value), scope: 0 }$-() [value]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 24, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 25, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.instance), assign: METHOD_CALL_EXPRESSION_20, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_20.get, &, KEY), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][State]:* [KEY]* Type: String* Initial Value: \"value\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9c95 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract::hf462d783fa6c0919 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9cd7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract::{{closure}}::he7d4fb7b25053297 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ffc6 - core::ops::function::FnOnce::call_once::hdea062459a801a09 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_custom_types stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [increment] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] incr: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_5), assign: state, scope: 0 } [INFO] [stdout] { id: 19, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 } [INFO] [stdout] { id: 27, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_37, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_37.instance), assign: METHOD_CALL_EXPRESSION_36, scope: 0 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.set, &, STATE, &, state), scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (state.count), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [get_state] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: State [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 61, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_58, scope: 0 } [INFO] [stdout] { id: 62, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.instance), assign: METHOD_CALL_EXPRESSION_57, scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_57.get, &, STATE), assign: METHOD_CALL_EXPRESSION_52, scope: 0 } [INFO] [stdout] { id: 50, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_47, scope: 0 } [INFO] [stdout] { id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.unwrap_or, METHOD_CALL_ARG_1_47), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]:* (State_STRUCT) [INFO] [stdout] { [INFO] [stdout] count: Integer [INFO] [stdout] last_incr: Integer [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [State]: [INFO] [stdout] * [STATE] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "STATE" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_custom_types' (93) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envincr: Integer}* Output: Integer* Instructions:${ id: 8, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_5, scope: 0 }{ id: 11, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_5), assign: state, scope: 0 }{ id: 19, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 }{ id: 27, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 }{ id: 40, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_37, scope: 0 }{ id: 41, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_37.instance), assign: METHOD_CALL_EXPRESSION_36, scope: 0 }{ id: 42, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.set, &, STATE, &, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* Instructions:${ id: 61, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_58, scope: 0 }{ id: 62, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.instance), assign: METHOD_CALL_EXPRESSION_57, scope: 0 }{ id: 63, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_57.get, &, STATE), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 50, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_47, scope: 0 }{ id: 64, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.unwrap_or, METHOD_CALL_ARG_1_47), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (State_STRUCT){count: Integerlast_incr: Integer}:[User Defined Types][State]:* [STATE]* Type: String* Initial Value: \"STATE\":[State]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Envincr: Integer}* Output: Integer* Instructions:${ id: 3, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_0, scope: 0 }{ id: 6, instruction: evaluate, input: (get_state, CALL_EXPRESSION_ARG_1_0), assign: state, scope: 0 }{ id: 14, instruction: add, input: (state.count, incr), assign: state.count, scope: 0 }{ id: 22, instruction: assign, input: (incr), assign: state.last_incr, scope: 0 }{ id: 35, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_32, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_32.instance), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.set, &, STATE, &, state), scope: 0 }{ id: 0, instruction: return, input: (state.count), scope: 0 }$-() [get_state]* Inputs:{env: Env}* Output: State* Instructions:${ id: 56, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_53, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_53.instance), assign: METHOD_CALL_EXPRESSION_52, scope: 0 }{ id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_52.get, &, STATE), assign: METHOD_CALL_EXPRESSION_47, scope: 0 }{ id: 45, instruction: instantiate_object, input: (UDT, State, 0, 0), assign: METHOD_CALL_ARG_1_42, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.unwrap_or, METHOD_CALL_ARG_1_42), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (State_STRUCT){count: Integerlast_incr: Integer}:[User Defined Types][State]:* [STATE]* Type: String* Initial Value: \"STATE\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9155 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::ha2e676e479e3e751 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9197 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_custom_types::{{closure}}::h6b166eacfa90fe2f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600d556 - core::ops::function::FnOnce::call_once::h069c7b1319c9de38 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_alloc stdout ---- [INFO] [stdout] DTR Code: [Contract]: AllocContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [sum] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] _env: Env [INFO] [stdout] count: Integer [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 } [INFO] [stdout] { id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 } [INFO] [stdout] { id: 14, instruction: assign, input: (0), assign: sum, scope: 0 } [INFO] [stdout] { id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (start, v1), assign: i, scope: 0 } [INFO] [stdout] { id: 19, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 } [INFO] [stdout] { id: 21, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 20), scope: 0 } [INFO] [stdout] { id: 26, instruction: add, input: (sum, i), assign: sum, scope: 20 } [INFO] [stdout] { id: 27, instruction: increment, input: (i, ITERATOR_15), scope: 20 } [INFO] [stdout] { id: 28, instruction: goto, input: (19), scope: 20 } [INFO] [stdout] { id: 30, instruction: return, input: (sum), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_alloc' (87) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AllocContract[Interface]:-() [sum]* Inputs:{_env: Envcount: Integer}* Output: Integer* Instructions:${ id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 }{ id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 }{ id: 14, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 }{ id: 18, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 19, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 }{ id: 21, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 20), scope: 0 }{ id: 26, instruction: add, input: (sum, i), assign: sum, scope: 20 }{ id: 27, instruction: increment, input: (i, ITERATOR_15), scope: 20 }{ id: 28, instruction: goto, input: (19), scope: 20 }{ id: 30, instruction: return, input: (sum), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: AllocContract[Interface]:-() [sum]* Inputs:{_env: Envcount: Integer}* Output: Integer* Instructions:${ id: 0, instruction: instantiate_object, input: (List), assign: v1, scope: 0 }{ id: 12, instruction: instantiate_object, input: (Range, 0, count), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 6, instruction: evaluate, input: (v1.push, i), assign: METHOD_CALL_ARG_1_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.for_each, METHOD_CALL_ARG_1_1), scope: 0 }{ id: 14, instruction: assign, input: (0), assign: sum, scope: 0 }{ id: 17, instruction: assign, input: (v1), assign: ITERATOR_15, scope: 0 }{ id: 18, instruction: evaluate, input: (start, v1), assign: i, scope: 0 }{ id: 19, instruction: end_of_iteration_check, input: (i, ITERATOR_15), assign: CHECK_CONDITION_ASSIGNMENT_16, scope: 0 }{ id: 21, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_16, 20), scope: 0 }{ id: 26, instruction: add, input: (sum, i), assign: sum, scope: 20 }{ id: 27, instruction: increment, input: (i, ITERATOR_15), scope: 20 }{ id: 28, instruction: goto, input: (19), scope: 20 }{ id: 0, instruction: return, input: (sum), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8255 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::h06ea05e8294e8852 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8297 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_alloc::{{closure}}::hc644b021e400d7f7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f826 - core::ops::function::FnOnce::call_once::hb6a0ae724cc7869c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer stdout ---- [INFO] [stdout] DTR Code: [Contract]: Deployer [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deploy] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] deployer: Address [INFO] [stdout] wasm_hash: ByteStringSmall [INFO] [stdout] salt: ByteStringSmall [INFO] [stdout] init_fn: String [INFO] [stdout] init_args: List [INFO] [stdout] } [INFO] [stdout] * Output: (Address, Val) [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 7, instruction: evaluate, input: (env.current_contract_address), assign: BINARY_EXPRESSION_RIGHT_3, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (not_equal_to, deployer, BINARY_EXPRESSION_RIGHT_3), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 } [INFO] [stdout] { id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 9), scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (deployer.require_auth), assign: Thing_to_return, scope: 9 } [INFO] [stdout] { id: 14, instruction: jump, input: (0), scope: 9 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (env.deployer), assign: METHOD_CALL_EXPRESSION_22, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.with_address, deployer, salt), assign: METHOD_CALL_EXPRESSION_17, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.deploy, wasm_hash), assign: deployed_address, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (env.invoke_contract, &, deployed_address, &, init_fn, init_args), assign: res|||Val, scope: 0 } [INFO] [stdout] { id: 9, instruction: instantiate_object, input: (Tuple, deployed_address, res), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 11, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer' (95) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Deployer[Interface]:-() [deploy]* Inputs:{env: Envdeployer: Addresswasm_hash: ByteStringSmallsalt: ByteStringSmallinit_fn: Stringinit_args: List}* Output: (Address, Val)* Instructions:${ id: 7, instruction: evaluate, input: (env.current_contract_address), assign: BINARY_EXPRESSION_RIGHT_3, scope: 0 }{ id: 8, instruction: evaluate, input: (not_equal_to, deployer, BINARY_EXPRESSION_RIGHT_3), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 9), scope: 0 }{ id: 13, instruction: evaluate, input: (deployer.require_auth), assign: Thing_to_return, scope: 9 }{ id: 14, instruction: jump, input: (0), scope: 9 }{ id: 25, instruction: evaluate, input: (env.deployer), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.with_address, deployer, salt), assign: METHOD_CALL_EXPRESSION_17, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.deploy, wasm_hash), assign: deployed_address, scope: 0 }{ id: 3, instruction: evaluate, input: (env.invoke_contract, &, deployed_address, &, init_fn, init_args), assign: res|||Val, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Tuple, deployed_address, res), assign: Thing_to_return, scope: 0 }{ id: 11, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] right: "[Contract]: Deployer[Interface]:-() [deploy]* Inputs:{env: Envdeployer: Addresswasm_hash: ByteStringSmallsalt: ByteStringSmallinit_fn: Stringinit_args: List}* Output: (Address, Val)* Instructions:${ id: 7, instruction: evaluate, input: (env.current_contract_address), assign: BINARY_EXPRESSION_RIGHT_3, scope: 0 }{ id: 8, instruction: evaluate, input: (not_equal_to, deployer, BINARY_EXPRESSION_RIGHT_3), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 10, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 9), scope: 0 }{ id: 13, instruction: evaluate, input: (deployer.require_auth), assign: Thing_to_return, scope: 9 }{ id: 14, instruction: jump, input: (0), scope: 9 }{ id: 25, instruction: evaluate, input: (env.deployer), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.with_address, deployer, salt), assign: METHOD_CALL_EXPRESSION_17, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_17.deploy, wasm_hash), assign: deployed_address, scope: 0 }{ id: 40, instruction: evaluate, input: (env.invoke_contract, &, deployed_address, &, init_fn, init_args), assign: res|||Val, scope: 0 }{ id: 43, instruction: instantiate_object, input: (Tuple, deployed_address, res), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9d85 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer::h04f8b23f106581c1 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9dc7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer::{{closure}}::h9b5de2a6449d0aae [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d88060105c6 - core::ops::function::FnOnce::call_once::hfd4201652d1f6510 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap stdout ---- [INFO] [stdout] DTR Code: [Contract]: AtomicSwapContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [swap] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] a: Address [INFO] [stdout] b: Address [INFO] [stdout] token_a: Address [INFO] [stdout] token_b: Address [INFO] [stdout] amount_a: BigInteger [INFO] [stdout] min_b_for_a: BigInteger [INFO] [stdout] amount_b: BigInteger [INFO] [stdout] min_a_for_b: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 18, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_13, scope: 0 } [INFO] [stdout] { id: 20, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_13, 19), scope: 0 } [INFO] [stdout] { id: 21, instruction: exit_with_message, input: ("not enough token B for token A"), scope: 19 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_23, scope: 0 } [INFO] [stdout] { id: 30, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_23, 29), scope: 0 } [INFO] [stdout] { id: 31, instruction: exit_with_message, input: ("not enough token A for token B"), scope: 29 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 44, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 47, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_38, scope: 0 } [INFO] [stdout] { id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.into_val, &, env), assign: METHOD_CALL_ARG_1_33, scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_33), scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 } [INFO] [stdout] { id: 14, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.into_val, &, env), assign: METHOD_CALL_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_0), scope: 0 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (move_token, &, env, &, token_a, &, a, &, b, amount_a, min_a_for_b), scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (move_token, &, env, &, token_b, &, b, &, a, amount_b, min_b_for_a), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [move_token] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] token: &Address [INFO] [stdout] from: &Address [INFO] [stdout] to: &Address [INFO] [stdout] max_spend_amount: BigInteger [INFO] [stdout] transfer_amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 10, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (token.transfer, from, &, contract_address, &, max_spend_amount), scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (token.transfer, &, contract_address, to, &, transfer_amount), scope: 0 } [INFO] [stdout] { id: 42, instruction: subtract, input: (&, max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_62, scope: 0 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (token.transfer, &, contract_address, from, METHOD_CALL_ARG_3_62), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap' (89) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AtomicSwapContract[Interface]:-() [swap]* Inputs:{env: Enva: Addressb: Addresstoken_a: Addresstoken_b: Addressamount_a: BigIntegermin_b_for_a: BigIntegeramount_b: BigIntegermin_a_for_b: BigInteger}* Instructions:${ id: 18, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_13, scope: 0 }{ id: 20, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_13, 19), scope: 0 }{ id: 21, instruction: exit_with_message, input: (\"not enough token B for token A\"), scope: 19 }{ id: 28, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_23, scope: 0 }{ id: 30, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_23, 29), scope: 0 }{ id: 31, instruction: exit_with_message, input: (\"not enough token A for token B\"), scope: 29 }{ id: 41, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 44, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 47, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_38, scope: 0 }{ id: 49, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.into_val, &, env), assign: METHOD_CALL_ARG_1_33, scope: 0 }{ id: 52, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_33), scope: 0 }{ id: 8, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 11, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 14, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 67, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.into_val, &, env), assign: METHOD_CALL_ARG_1_0, scope: 0 }{ id: 19, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_0), scope: 0 }{ id: 42, instruction: evaluate, input: (move_token, &, env, &, token_a, &, a, &, b, amount_a, min_a_for_b), scope: 0 }{ id: 65, instruction: evaluate, input: (move_token, &, env, &, token_b, &, b, &, a, amount_b, min_b_for_a), scope: 0 }$:[Interface][Helpers]:-() [move_token]* Inputs:{env: &Envtoken: &Addressfrom: &Addressto: &Addressmax_spend_amount: BigIntegertransfer_amount: BigInteger}* Instructions:${ id: 10, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 }{ id: 8, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 }{ id: 24, instruction: evaluate, input: (token.transfer, from, &, contract_address, &, max_spend_amount), scope: 0 }{ id: 41, instruction: evaluate, input: (token.transfer, &, contract_address, to, &, transfer_amount), scope: 0 }{ id: 42, instruction: subtract, input: (&, max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_62, scope: 0 }{ id: 45, instruction: evaluate, input: (token.transfer, &, contract_address, from, METHOD_CALL_ARG_3_62), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: AtomicSwapContract[Interface]:-() [swap]* Inputs:{env: Enva: Addressb: Addresstoken_a: Addresstoken_b: Addressamount_a: BigIntegermin_b_for_a: BigIntegeramount_b: BigIntegermin_a_for_b: BigInteger}* Instructions:${ id: 5, instruction: evaluate, input: (less_than, amount_b, min_b_for_a), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 7, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 6), scope: 0 }{ id: 8, instruction: exit_with_message, input: (\"not enough token B for token A\"), scope: 6 }{ id: 15, instruction: evaluate, input: (less_than, amount_a, min_a_for_b), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 16), scope: 0 }{ id: 18, instruction: exit_with_message, input: (\"not enough token A for token B\"), scope: 16 }{ id: 28, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 31, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 34, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_a, min_b_for_a), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.into_val, &, env), assign: METHOD_CALL_ARG_1_20, scope: 0 }{ id: 39, instruction: evaluate, input: (a.require_auth_for_args, METHOD_CALL_ARG_1_20), scope: 0 }{ id: 48, instruction: evaluate, input: (token_b.clone), assign: TUPLE_ARG_1_0, scope: 0 }{ id: 51, instruction: evaluate, input: (token_a.clone), assign: TUPLE_ARG_2_0, scope: 0 }{ id: 54, instruction: instantiate_object, input: (Tuple, TUPLE_ARG_1_0, TUPLE_ARG_2_0, amount_b, min_a_for_b), assign: METHOD_CALL_EXPRESSION_45, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_45.into_val, &, env), assign: METHOD_CALL_ARG_1_40, scope: 0 }{ id: 59, instruction: evaluate, input: (b.require_auth_for_args, METHOD_CALL_ARG_1_40), scope: 0 }{ id: 82, instruction: evaluate, input: (move_token, &, env, &, token_a, &, a, &, b, amount_a, min_a_for_b), scope: 0 }{ id: 105, instruction: evaluate, input: (move_token, &, env, &, token_b, &, b, &, a, amount_b, min_b_for_a), scope: 0 }$:[Interface][Helpers]:-() [move_token]* Inputs:{env: &Envtoken: &Addressfrom: &Addressto: &Addressmax_spend_amount: BigIntegertransfer_amount: BigInteger}* Instructions:${ id: 6, instruction: evaluate, input: (token::Client::new, env, token), assign: token, scope: 0 }{ id: 9, instruction: evaluate, input: (env.current_contract_address), assign: contract_address, scope: 0 }{ id: 22, instruction: evaluate, input: (token.transfer, from, &, contract_address, &, max_spend_amount), scope: 0 }{ id: 35, instruction: evaluate, input: (token.transfer, &, contract_address, to, &, transfer_amount), scope: 0 }{ id: 49, instruction: subtract, input: (&, max_spend_amount, transfer_amount), assign: METHOD_CALL_ARG_3_42, scope: 0 }{ id: 52, instruction: evaluate, input: (token.transfer, &, contract_address, from, METHOD_CALL_ARG_3_42), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8e85 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap::h3ef1ef342ca9115b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8ec7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap::{{closure}}::h3dcf20d9414cc7fa [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ec56 - core::ops::function::FnOnce::call_once::h753389f6a65e9fe8 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_increment stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [increment] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_19, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.unwrap_or, 0), assign: count|||Integer, scope: 0 } [INFO] [stdout] { id: 42, instruction: print, input: (&env, "count: {}", count), scope: 0 } [INFO] [stdout] { id: 55, instruction: add, input: (count, 1), assign: count, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.set, &, COUNTER, &, count), scope: 0 } [INFO] [stdout] { id: 0, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.extend_ttl, 50, 100), scope: 0 } [INFO] [stdout] { id: 36, instruction: return, input: (count), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [COUNTER] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "COUNTER" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_increment' (101) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 42, instruction: print, input: (&env, \"count: {}\", count), scope: 0 }{ id: 55, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 4, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 5, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.instance), assign: METHOD_CALL_EXPRESSION_72, scope: 0 }{ id: 6, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.set, &, COUNTER, &, count), scope: 0 }{ id: 0, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_14, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_14.instance), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.extend_ttl, 50, 100), scope: 0 }{ id: 36, instruction: return, input: (count), scope: 0 }$:[Interface][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\":[State]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.instance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 15, instruction: print, input: (&env, \"count: {}\", count), scope: 0 }{ id: 20, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 33, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.instance), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.set, &, COUNTER, &, count), scope: 0 }{ id: 44, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.instance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.extend_ttl, 50, 100), scope: 0 }{ id: 0, instruction: return, input: (count), scope: 0 }$:[Interface][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8bb5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_increment::h327b1ebc051abeba [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8bf7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_increment::{{closure}}::h068cfbffd31b94d7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f526 - core::ops::function::FnOnce::call_once::ha3d7bf18e3b39ed9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_events stdout ---- [INFO] [stdout] DTR Code: [Contract]: IncrementContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [increment] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.instance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 } [INFO] [stdout] { id: 19, instruction: add, input: (count, 1), assign: count, scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, COUNTER, &, count), scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 4, instruction: instantiate_object, input: (Tuple, COUNTER, "increment"), assign: METHOD_CALL_ARG_1_0, scope: 0 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.publish, METHOD_CALL_ARG_1_0, count), scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (count), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [State]: [INFO] [stdout] * [COUNTER] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "COUNTER" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_events' (98) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.instance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 19, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, COUNTER, &, count), scope: 0 }{ id: 47, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 4, instruction: instantiate_object, input: (Tuple, COUNTER, \"increment\"), assign: METHOD_CALL_ARG_1_0, scope: 0 }{ id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.publish, METHOD_CALL_ARG_1_0, count), scope: 0 }{ id: 0, instruction: return, input: (count), scope: 0 }$:[Interface][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\":[State]" [INFO] [stdout] right: "[Contract]: IncrementContract[Interface]:-() [increment]* Inputs:{env: Env}* Output: Integer* Instructions:${ id: 11, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.instance), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.get, &, COUNTER), assign: METHOD_CALL_EXPRESSION_2, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.unwrap_or, 0), assign: count|||Integer, scope: 0 }{ id: 19, instruction: add, input: (count, 1), assign: count, scope: 0 }{ id: 32, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.instance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.set, &, COUNTER, &, count), scope: 0 }{ id: 45, instruction: evaluate, input: (env.events), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 38, instruction: instantiate_object, input: (Tuple, COUNTER, \"increment\"), assign: METHOD_CALL_ARG_1_35, scope: 0 }{ id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.publish, METHOD_CALL_ARG_1_35, count), scope: 0 }{ id: 0, instruction: return, input: (count), scope: 0 }$:[Interface][State]:* [COUNTER]* Type: String* Initial Value: \"COUNTER\":[State]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8435 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_events::h67155ae04947cb65 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8477 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_events::{{closure}}::h585e62225ee5a0b9 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f5b6 - core::ops::function::FnOnce::call_once::ha7c658a9d4349899 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::assign_expression::tests::test_handle_assign_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::assign_expression::tests::test_handle_assign_expression' (114) panicked at src/translate/expression/assign_expression.rs:64:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 18, name: "assign", input: ["a"], assign: "ASSIGN_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 19, name: "assign", input: ["1"], assign: "ASSIGN_EXPRESSION_RIGHT_3", scope: 0 }, Instruction { id: 20, name: "assign", input: ["ASSIGN_EXPRESSION_RIGHT_3"], assign: "ASSIGN_EXPRESSION_LEFT_1", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 2, name: "assign", input: ["a"], assign: "ASSIGN_EXPRESSION_LEFT_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["1"], assign: "ASSIGN_EXPRESSION_RIGHT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["ASSIGN_EXPRESSION_RIGHT_1"], assign: "ASSIGN_EXPRESSION_LEFT_0", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f8bf2f - rust_to_dtr::translate::expression::assign_expression::tests::test_handle_assign_expression::h8dc7b17064de422c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/assign_expression.rs:64:9 [INFO] [stdout] 22: 0x5d8805f8c037 - rust_to_dtr::translate::expression::assign_expression::tests::test_handle_assign_expression::{{closure}}::h059afeebac70db77 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/assign_expression.rs:60:39 [INFO] [stdout] 23: 0x5d880600f3a6 - core::ops::function::FnOnce::call_once::h9b94a8a3289c74a7 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment' (116) panicked at src/translate/expression/binary_expression.rs:151:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Ok([Instruction { id: 3, name: "assign", input: ["foo"], assign: "BINARY_EXPRESSION_LEFT_0", scope: 0 }, Instruction { id: 4, name: "assign", input: ["2"], assign: "BINARY_EXPRESSION_RIGHT_1", scope: 0 }, Instruction { id: 5, name: "subtract_and_assign", input: ["BINARY_EXPRESSION_LEFT_0", "BINARY_EXPRESSION_RIGHT_1"], assign: "", scope: 0 }]) [INFO] [stdout] right: Ok([Instruction { id: 2, name: "assign", input: ["foo"], assign: "BINARY_EXPRESSION_LEFT_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["2"], assign: "BINARY_EXPRESSION_RIGHT_1", scope: 0 }, Instruction { id: 4, name: "subtract_and_assign", input: ["BINARY_EXPRESSION_LEFT_0", "BINARY_EXPRESSION_RIGHT_1"], assign: "", scope: 0 }]) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb3b - core::panicking::assert_failed::he52416f6e9c78cee [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fdac51 - rust_to_dtr::translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment::h04591be6d4f64163 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/binary_expression.rs:151:9 [INFO] [stdout] 22: 0x5d8805fdad47 - rust_to_dtr::translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment::{{closure}}::h25d1236fb64d971c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/binary_expression.rs:117:66 [INFO] [stdout] 23: 0x5d880600e196 - core::ops::function::FnOnce::call_once::h356dc8b65772a01b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: UpgradeableContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] admin: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 19, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 } [INFO] [stdout] { id: 23, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 22), scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_24, scope: 22 } [INFO] [stdout] { id: 30, instruction: return, input: (RETURN_VALUE_LABEL_24), scope: 22 } [INFO] [stdout] { id: 44, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_41, scope: 0 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.instance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.set, &, DataKey::Admin, &, admin), scope: 0 } [INFO] [stdout] { id: 48, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_47, scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_47), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [version] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: return, input: (1), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [upgrade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] new_wasm_hash: ByteStringSmall [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_19, scope: 0 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.update_current_contract_wasm, new_wasm_hash), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] AlreadyInitialized = 1 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract' (109) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 19, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 20, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.instance), assign: METHOD_CALL_EXPRESSION_15, scope: 0 }{ id: 21, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_15.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 }{ id: 23, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 22), scope: 0 }{ id: 29, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_24, scope: 22 }{ id: 30, instruction: return, input: (RETURN_VALUE_LABEL_24), scope: 22 }{ id: 44, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.instance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.set, &, DataKey::Admin, &, admin), scope: 0 }{ id: 48, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_47, scope: 0 }{ id: 52, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_47), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 22, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 19, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_14, scope: 12 }{ id: 20, instruction: return, input: (RETURN_VALUE_LABEL_14), scope: 12 }{ id: 34, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, DataKey::Admin, &, admin), scope: 0 }{ id: 38, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_37, scope: 0 }{ id: 42, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_37), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 22, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fcaca5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract::hc1fbe88b5651eaa5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fcace7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract::{{closure}}::h925aa231e5805a4b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ff86 - core::ops::function::FnOnce::call_once::hde88d21886bdc6d8 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_ttl stdout ---- [INFO] [stdout] DTR Code: [Contract]: TtlContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [setup] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, DataKey::MyKey, &, 0), scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 0 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, &, DataKey::MyKey, &, 1), scope: 0 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.temporary), assign: METHOD_CALL_EXPRESSION_42, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.set, &, DataKey::MyKey, &, 2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_persistent] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.extend_ttl, &, DataKey::MyKey, 1000, 5000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_instance] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.extend_ttl, 2000, 10000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [extend_temporary] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 121, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_118, scope: 0 } [INFO] [stdout] { id: 122, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_118.temporary), assign: METHOD_CALL_EXPRESSION_117, scope: 0 } [INFO] [stdout] { id: 123, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_117.extend_ttl, &, DataKey::MyKey, 3000, 7000), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] MyKey: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_ttl' (107) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: TtlContract[Interface]:-() [setup]* Inputs:{env: Env}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, DataKey::MyKey, &, 0), scope: 0 }{ id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, &, DataKey::MyKey, &, 1), scope: 0 }{ id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.temporary), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.set, &, DataKey::MyKey, &, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.extend_ttl, &, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 121, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_118, scope: 0 }{ id: 122, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_118.temporary), assign: METHOD_CALL_EXPRESSION_117, scope: 0 }{ id: 123, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_117.extend_ttl, &, DataKey::MyKey, 3000, 7000), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){MyKey: ()}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: TtlContract[Interface]:-() [setup]* Inputs:{env: Env}* Instructions:${ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.set, &, DataKey::MyKey, &, 0), scope: 0 }{ id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 0 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, &, DataKey::MyKey, &, 1), scope: 0 }{ id: 42, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_39, scope: 0 }{ id: 43, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.temporary), assign: METHOD_CALL_EXPRESSION_38, scope: 0 }{ id: 44, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_38.set, &, DataKey::MyKey, &, 2), scope: 0 }$-() [extend_persistent]* Inputs:{env: Env}* Instructions:${ id: 57, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.persistent), assign: METHOD_CALL_EXPRESSION_53, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_53.extend_ttl, &, DataKey::MyKey, 1000, 5000), scope: 0 }$-() [extend_instance]* Inputs:{env: Env}* Instructions:${ id: 68, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_65, scope: 0 }{ id: 69, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_65.instance), assign: METHOD_CALL_EXPRESSION_64, scope: 0 }{ id: 70, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_64.extend_ttl, 2000, 10000), scope: 0 }$-() [extend_temporary]* Inputs:{env: Env}* Instructions:${ id: 83, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_80, scope: 0 }{ id: 84, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.temporary), assign: METHOD_CALL_EXPRESSION_79, scope: 0 }{ id: 85, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_79.extend_ttl, &, DataKey::MyKey, 3000, 7000), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){MyKey: ()}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8075 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::ha1a1a37f0cfcaae0 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc80b7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_ttl::{{closure}}::h5591410e2f0d1c1c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600f096 - core::ops::function::FnOnce::call_once::h8a1a2305a2a5b3eb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_simple_account stdout ---- [INFO] [stdout] DTR Code: [Contract]: SimpleAccount [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] public_key: ByteStringSmall [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 16, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_12, scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.has, &, DataKey::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 0 } [INFO] [stdout] { id: 21, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 20), scope: 0 } [INFO] [stdout] { id: 23, instruction: exit_with_message, input: ("owner is already set"), scope: 20 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_48, scope: 0 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.instance), assign: METHOD_CALL_EXPRESSION_47, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.set, &, DataKey::Owner, &, public_key), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [__check_auth] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] signature_payload: ByteStringSmall [INFO] [stdout] signature: ByteStringLarge [INFO] [stdout] _auth_context: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 133, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_130, scope: 0 } [INFO] [stdout] { id: 134, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_130.instance), assign: METHOD_CALL_EXPRESSION_129, scope: 0 } [INFO] [stdout] { id: 135, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_129.get, &, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_124, scope: 0 } [INFO] [stdout] { id: 136, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_124.unwrap), assign: public_key|||ByteStringSmall, scope: 0 } [INFO] [stdout] { id: 154, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_151, scope: 0 } [INFO] [stdout] { id: 146, instruction: evaluate, input: (&, signature_payload.into), assign: METHOD_CALL_ARG_2_141, scope: 0 } [INFO] [stdout] { id: 155, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_151.ed25519_verify, &, public_key, METHOD_CALL_ARG_2_141, &, signature), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Owner: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_simple_account' (104) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: SimpleAccount[Interface]:-() [init]* Inputs:{env: Envpublic_key: ByteStringSmall}* Instructions:${ id: 16, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_13, scope: 0 }{ id: 18, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_13.instance), assign: METHOD_CALL_EXPRESSION_12, scope: 0 }{ id: 19, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_12.has, &, DataKey::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 0 }{ id: 21, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 20), scope: 0 }{ id: 23, instruction: exit_with_message, input: (\"owner is already set\"), scope: 20 }{ id: 51, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_48, scope: 0 }{ id: 52, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.instance), assign: METHOD_CALL_EXPRESSION_47, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_47.set, &, DataKey::Owner, &, public_key), scope: 0 }$-() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignature: ByteStringLarge_auth_context: List}* Instructions:${ id: 133, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_130, scope: 0 }{ id: 134, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_130.instance), assign: METHOD_CALL_EXPRESSION_129, scope: 0 }{ id: 135, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_129.get, &, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_124, scope: 0 }{ id: 136, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_124.unwrap), assign: public_key|||ByteStringSmall, scope: 0 }{ id: 154, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_151, scope: 0 }{ id: 146, instruction: evaluate, input: (&, signature_payload.into), assign: METHOD_CALL_ARG_2_141, scope: 0 }{ id: 155, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_151.ed25519_verify, &, public_key, METHOD_CALL_ARG_2_141, &, signature), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Owner: ()}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: SimpleAccount[Interface]:-() [init]* Inputs:{env: Envpublic_key: ByteStringSmall}* Instructions:${ id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.has, &, DataKey::Owner), assign: CONDITIONAL_JUMP_ASSIGNMENT_1, scope: 0 }{ id: 14, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_1, 13), scope: 0 }{ id: 15, instruction: exit_with_message, input: (\"owner is already set\"), scope: 13 }{ id: 29, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_26, scope: 0 }{ id: 30, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_26.instance), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 31, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.set, &, DataKey::Owner, &, public_key), scope: 0 }$-() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignature: ByteStringLarge_auth_context: List}* Instructions:${ id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, DataKey::Owner), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: public_key|||ByteStringSmall, scope: 0 }{ id: 31, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 23, instruction: evaluate, input: (&, signature_payload.into), assign: METHOD_CALL_ARG_2_18, scope: 0 }{ id: 32, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.ed25519_verify, &, public_key, METHOD_CALL_ARG_2_18, &, signature), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Owner: ()}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9605 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_simple_account::h264974c18f16076c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9647 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_simple_account::{{closure}}::h64dccec6841047e7 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600d726 - core::ops::function::FnOnce::call_once::h0af623aaeb8d4ec0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock stdout ---- [INFO] [stdout] DTR Code: [Contract]: Contract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [set_admin] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] new_admin: Address [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 } [INFO] [stdout] { id: 13, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 14), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (admin.require_auth), scope: 14 } [INFO] [stdout] { id: 19, instruction: jump, input: (0), scope: 14 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_29, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.instance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.set, &, StorageKey::Admin, &, new_admin), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [admin] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] } [INFO] [stdout] * Output: Address [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 54, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_51, scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.instance), assign: METHOD_CALL_EXPRESSION_50, scope: 0 } [INFO] [stdout] { id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_50.get, &, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_33, scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.unwrap), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [set_minter] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] config: MinterConfig [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 62, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_59, scope: 0 } [INFO] [stdout] { id: 65, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_59), assign: METHOD_CALL_EXPRESSION_58, scope: 0 } [INFO] [stdout] { id: 66, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.require_auth), scope: 0 } [INFO] [stdout] { id: 85, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_82, scope: 0 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_82.persistent), assign: METHOD_CALL_EXPRESSION_81, scope: 0 } [INFO] [stdout] { id: 76, instruction: evaluate, input: (&, StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_67, scope: 0 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.set, METHOD_CALL_ARG_1_67, &, config), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [minter] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(MinterConfig, Integer, MinterStats), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 79, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_76, scope: 0 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.persistent), assign: METHOD_CALL_EXPRESSION_75, scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_64, scope: 0 } [INFO] [stdout] { id: 71, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_68, scope: 0 } [INFO] [stdout] { id: 74, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_64, CALL_EXPRESSION_ARG_2_68), assign: METHOD_CALL_ARG_1_61, scope: 0 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.get, METHOD_CALL_ARG_1_61), assign: METHOD_CALL_EXPRESSION_60, scope: 0 } [INFO] [stdout] { id: 82, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 } [INFO] [stdout] { id: 88, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_85, scope: 0 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_85.sequence), assign: BINARY_EXPRESSION_LEFT_83, scope: 0 } [INFO] [stdout] { id: 94, instruction: divide, input: (BINARY_EXPRESSION_LEFT_83, config.epoch_length), assign: epoch, scope: 0 } [INFO] [stdout] { id: 121, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_118, scope: 0 } [INFO] [stdout] { id: 122, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_118.temporary), assign: METHOD_CALL_EXPRESSION_117, scope: 0 } [INFO] [stdout] { id: 102, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_99, scope: 0 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_103, scope: 0 } [INFO] [stdout] { id: 116, instruction: evaluate, input: (&, StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_99, CALL_EXPRESSION_ARG_2_103, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_96, scope: 0 } [INFO] [stdout] { id: 123, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_117.get, METHOD_CALL_ARG_1_96), assign: METHOD_CALL_EXPRESSION_95, scope: 0 } [INFO] [stdout] { id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_95.unwrap_or_default), assign: stats, scope: 0 } [INFO] [stdout] { id: 129, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_125, scope: 0 } [INFO] [stdout] { id: 133, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_125), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [mint] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] contract: Address [INFO] [stdout] minter: Address [INFO] [stdout] to: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: instantiate_object, input: (Tuple, &, contract, &, to, amount), assign: METHOD_CALL_EXPRESSION_48, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.into_val, &, env), assign: METHOD_CALL_ARG_1_43, scope: 0 } [INFO] [stdout] { id: 7, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_43), scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 } [INFO] [stdout] { id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 14), scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_16, scope: 14 } [INFO] [stdout] { id: 25, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 14 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_27), assign: admin, scope: 0 } [INFO] [stdout] { id: 39, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_34, scope: 0 } [INFO] [stdout] { id: 41, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_34, 40), scope: 0 } [INFO] [stdout] { id: 320, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 40 } [INFO] [stdout] { id: 321, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 40 } [INFO] [stdout] { id: 323, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_47, scope: 40 } [INFO] [stdout] { id: 327, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_51, scope: 40 } [INFO] [stdout] { id: 1, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_47, CALL_EXPRESSION_ARG_2_51), assign: METHOD_CALL_ARG_1_44, scope: 40 } [INFO] [stdout] { id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, METHOD_CALL_ARG_1_44), assign: TRY_ASSIGN_RESULT_42, scope: 40 } [INFO] [stdout] { id: 9, instruction: try_assign, input: (Some(config), TRY_ASSIGN_RESULT_42), assign: TRY_ASSIGN_RESULT_CONDITIONAL_43, scope: 40 } [INFO] [stdout] { id: 339, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_43, 10), scope: 40 } [INFO] [stdout] { id: 341, instruction: jump, input: (12), scope: 40 } [INFO] [stdout] { id: 14, instruction: jump, input: (40), scope: 10 } [INFO] [stdout] { id: 20, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_15, scope: 12 } [INFO] [stdout] { id: 345, instruction: return, input: (RETURN_VALUE_LABEL_15), scope: 12 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_25, scope: 40 } [INFO] [stdout] { id: 352, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.sequence), assign: BINARY_EXPRESSION_LEFT_23, scope: 40 } [INFO] [stdout] { id: 34, instruction: divide, input: (BINARY_EXPRESSION_LEFT_23, config.epoch_length), assign: epoch, scope: 40 } [INFO] [stdout] { id: 359, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_35, scope: 40 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_39, scope: 40 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_35, CALL_EXPRESSION_ARG_2_39, config.epoch_length, epoch), assign: minter_stats_key, scope: 40 } [INFO] [stdout] { id: 85, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_81, scope: 40 } [INFO] [stdout] { id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.temporary), assign: METHOD_CALL_EXPRESSION_78, scope: 40 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_78.get, &, minter_stats_key), assign: METHOD_CALL_EXPRESSION_69, scope: 40 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_69.unwrap_or_default), assign: minter_stats, scope: 40 } [INFO] [stdout] { id: 115, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 40 } [INFO] [stdout] { id: 119, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 40 } [INFO] [stdout] { id: 138, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_125, scope: 40 } [INFO] [stdout] { id: 140, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_125, 139), scope: 40 } [INFO] [stdout] { id: 152, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_142, scope: 139 } [INFO] [stdout] { id: 153, instruction: return, input: (RETURN_VALUE_LABEL_142), scope: 139 } [INFO] [stdout] { id: 179, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_172, scope: 40 } [INFO] [stdout] { id: 181, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_172.temporary), assign: METHOD_CALL_EXPRESSION_170, scope: 40 } [INFO] [stdout] { id: 182, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_170.set, &, minter_stats_key, &, new_minter_stats), scope: 40 } [INFO] [stdout] { id: 227, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_224, scope: 40 } [INFO] [stdout] { id: 228, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_224.temporary), assign: METHOD_CALL_EXPRESSION_223, scope: 40 } [INFO] [stdout] { id: 222, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_206, scope: 40 } [INFO] [stdout] { id: 232, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_223.extend_ttl, &, minter_stats_key, 0, METHOD_CALL_ARG_3_206), assign: Thing_to_return, scope: 40 } [INFO] [stdout] { id: 235, instruction: jump, input: (0), scope: 40 } [INFO] [stdout] { id: 253, instruction: evaluate, input: (MintClient::new, &, env, &, contract), assign: client, scope: 0 } [INFO] [stdout] { id: 268, instruction: evaluate, input: (client.mint, &, to, &, amount), scope: 0 } [INFO] [stdout] { id: 270, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_269, scope: 0 } [INFO] [stdout] { id: 274, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_269), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 406, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] NotAuthorizedMinter = 1 [INFO] [stdout] DailyLimitInsufficient = 2 [INFO] [stdout] NegativeAmount = 3 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (StorageKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] Minter: (Address, Address) [INFO] [stdout] MinterStats: (Address, Address, Integer, Integer) [INFO] [stdout] } [INFO] [stdout] * (MinterConfig_STRUCT) [INFO] [stdout] { [INFO] [stdout] limit: BigInteger [INFO] [stdout] epoch_length: Integer [INFO] [stdout] } [INFO] [stdout] * (MinterStats_STRUCT) [INFO] [stdout] { [INFO] [stdout] consumed_limit: BigInteger [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock' (103) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: Contract[Interface]:-() [set_admin]* Inputs:{env: Envnew_admin: Address}* Instructions:${ id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 }{ id: 13, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 14), scope: 0 }{ id: 18, instruction: evaluate, input: (admin.require_auth), scope: 14 }{ id: 19, instruction: jump, input: (0), scope: 14 }{ id: 32, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.instance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.set, &, StorageKey::Admin, &, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 54, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_51, scope: 0 }{ id: 55, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_51.instance), assign: METHOD_CALL_EXPRESSION_50, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_50.get, &, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_33, scope: 0 }{ id: 57, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_33.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [set_minter]* Inputs:{env: Envcontract: Addressminter: Addressconfig: MinterConfig}* Instructions:${ id: 62, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_59, scope: 0 }{ id: 65, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_59), assign: METHOD_CALL_EXPRESSION_58, scope: 0 }{ id: 66, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_58.require_auth), scope: 0 }{ id: 85, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_82, scope: 0 }{ id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_82.persistent), assign: METHOD_CALL_EXPRESSION_81, scope: 0 }{ id: 76, instruction: evaluate, input: (&, StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_67, scope: 0 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.set, METHOD_CALL_ARG_1_67, &, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 79, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_76, scope: 0 }{ id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.persistent), assign: METHOD_CALL_EXPRESSION_75, scope: 0 }{ id: 67, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_64, scope: 0 }{ id: 71, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_68, scope: 0 }{ id: 74, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_64, CALL_EXPRESSION_ARG_2_68), assign: METHOD_CALL_ARG_1_61, scope: 0 }{ id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.get, METHOD_CALL_ARG_1_61), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 82, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 88, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_85, scope: 0 }{ id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_85.sequence), assign: BINARY_EXPRESSION_LEFT_83, scope: 0 }{ id: 94, instruction: divide, input: (BINARY_EXPRESSION_LEFT_83, config.epoch_length), assign: epoch, scope: 0 }{ id: 121, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_118, scope: 0 }{ id: 122, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_118.temporary), assign: METHOD_CALL_EXPRESSION_117, scope: 0 }{ id: 102, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_99, scope: 0 }{ id: 106, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_103, scope: 0 }{ id: 116, instruction: evaluate, input: (&, StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_99, CALL_EXPRESSION_ARG_2_103, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_96, scope: 0 }{ id: 123, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_117.get, METHOD_CALL_ARG_1_96), assign: METHOD_CALL_EXPRESSION_95, scope: 0 }{ id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_95.unwrap_or_default), assign: stats, scope: 0 }{ id: 129, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_125, scope: 0 }{ id: 133, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_125), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [mint]* Inputs:{env: Envcontract: Addressminter: Addressto: Addressamount: BigInteger}* Output: Result<(), Error>* Instructions:${ id: 0, instruction: instantiate_object, input: (Tuple, &, contract, &, to, amount), assign: METHOD_CALL_EXPRESSION_48, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.into_val, &, env), assign: METHOD_CALL_ARG_1_43, scope: 0 }{ id: 7, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_43), scope: 0 }{ id: 13, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 14), scope: 0 }{ id: 24, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_16, scope: 14 }{ id: 25, instruction: return, input: (RETURN_VALUE_LABEL_16), scope: 14 }{ id: 30, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_27, scope: 0 }{ id: 33, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_27), assign: admin, scope: 0 }{ id: 39, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_34, scope: 0 }{ id: 41, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_34, 40), scope: 0 }{ id: 320, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_3, scope: 40 }{ id: 321, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_3.persistent), assign: METHOD_CALL_EXPRESSION_2, scope: 40 }{ id: 323, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_47, scope: 40 }{ id: 327, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_51, scope: 40 }{ id: 1, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_47, CALL_EXPRESSION_ARG_2_51), assign: METHOD_CALL_ARG_1_44, scope: 40 }{ id: 8, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_2.get, METHOD_CALL_ARG_1_44), assign: TRY_ASSIGN_RESULT_42, scope: 40 }{ id: 9, instruction: try_assign, input: (Some(config), TRY_ASSIGN_RESULT_42), assign: TRY_ASSIGN_RESULT_CONDITIONAL_43, scope: 40 }{ id: 339, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_43, 10), scope: 40 }{ id: 341, instruction: jump, input: (12), scope: 40 }{ id: 14, instruction: jump, input: (40), scope: 10 }{ id: 20, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_15, scope: 12 }{ id: 345, instruction: return, input: (RETURN_VALUE_LABEL_15), scope: 12 }{ id: 28, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_25, scope: 40 }{ id: 352, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.sequence), assign: BINARY_EXPRESSION_LEFT_23, scope: 40 }{ id: 34, instruction: divide, input: (BINARY_EXPRESSION_LEFT_23, config.epoch_length), assign: epoch, scope: 40 }{ id: 359, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_35, scope: 40 }{ id: 42, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_39, scope: 40 }{ id: 63, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_35, CALL_EXPRESSION_ARG_2_39, config.epoch_length, epoch), assign: minter_stats_key, scope: 40 }{ id: 85, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_81, scope: 40 }{ id: 86, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_81.temporary), assign: METHOD_CALL_EXPRESSION_78, scope: 40 }{ id: 87, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_78.get, &, minter_stats_key), assign: METHOD_CALL_EXPRESSION_69, scope: 40 }{ id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_69.unwrap_or_default), assign: minter_stats, scope: 40 }{ id: 115, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 40 }{ id: 119, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 40 }{ id: 138, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_125, scope: 40 }{ id: 140, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_125, 139), scope: 40 }{ id: 152, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_142, scope: 139 }{ id: 153, instruction: return, input: (RETURN_VALUE_LABEL_142), scope: 139 }{ id: 179, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_172, scope: 40 }{ id: 181, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_172.temporary), assign: METHOD_CALL_EXPRESSION_170, scope: 40 }{ id: 182, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_170.set, &, minter_stats_key, &, new_minter_stats), scope: 40 }{ id: 227, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_224, scope: 40 }{ id: 228, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_224.temporary), assign: METHOD_CALL_EXPRESSION_223, scope: 40 }{ id: 222, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_206, scope: 40 }{ id: 232, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_223.extend_ttl, &, minter_stats_key, 0, METHOD_CALL_ARG_3_206), assign: Thing_to_return, scope: 40 }{ id: 235, instruction: jump, input: (0), scope: 40 }{ id: 253, instruction: evaluate, input: (MintClient::new, &, env, &, contract), assign: client, scope: 0 }{ id: 268, instruction: evaluate, input: (client.mint, &, to, &, amount), scope: 0 }{ id: 270, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_269, scope: 0 }{ id: 274, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_269), assign: Thing_to_return, scope: 0 }{ id: 406, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){NotAuthorizedMinter = 1DailyLimitInsufficient = 2NegativeAmount = 3}* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}* (MinterConfig_STRUCT){limit: BigIntegerepoch_length: Integer}* (MinterStats_STRUCT){consumed_limit: BigInteger}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: Contract[Interface]:-() [set_admin]* Inputs:{env: Envnew_admin: Address}* Instructions:${ id: 10, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, StorageKey::Admin), assign: INPUT_VALUE_NAME_FOR_LET_1, scope: 0 }{ id: 13, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_1, Some(admin)), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 15, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 14), scope: 0 }{ id: 18, instruction: evaluate, input: (admin.require_auth), scope: 14 }{ id: 19, instruction: jump, input: (0), scope: 14 }{ id: 32, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_29, scope: 0 }{ id: 33, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_29.instance), assign: METHOD_CALL_EXPRESSION_28, scope: 0 }{ id: 34, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_28.set, &, StorageKey::Admin, &, new_admin), scope: 0 }$-() [admin]* Inputs:{env: Env}* Output: Address* Instructions:${ id: 44, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 45, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.instance), assign: METHOD_CALL_EXPRESSION_40, scope: 0 }{ id: 46, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_40.get, &, StorageKey::Admin), assign: METHOD_CALL_EXPRESSION_35, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_35.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [set_minter]* Inputs:{env: Envcontract: Addressminter: Addressconfig: MinterConfig}* Instructions:${ id: 52, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_49, scope: 0 }{ id: 55, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_49), assign: METHOD_CALL_EXPRESSION_48, scope: 0 }{ id: 56, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_48.require_auth), scope: 0 }{ id: 75, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_72, scope: 0 }{ id: 76, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_72.persistent), assign: METHOD_CALL_EXPRESSION_71, scope: 0 }{ id: 66, instruction: evaluate, input: (&, StorageKey::Minter, contract, minter), assign: METHOD_CALL_ARG_1_57, scope: 0 }{ id: 77, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_71.set, METHOD_CALL_ARG_1_57, &, config), scope: 0 }$-() [minter]* Inputs:{env: Envcontract: Addressminter: Address}* Output: Result<(MinterConfig, Integer, MinterStats), Error>* Instructions:${ id: 99, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_96, scope: 0 }{ id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.persistent), assign: METHOD_CALL_EXPRESSION_95, scope: 0 }{ id: 87, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_84, scope: 0 }{ id: 91, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_88, scope: 0 }{ id: 94, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_84, CALL_EXPRESSION_ARG_2_88), assign: METHOD_CALL_ARG_1_81, scope: 0 }{ id: 101, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_95.get, METHOD_CALL_ARG_1_81), assign: METHOD_CALL_EXPRESSION_80, scope: 0 }{ id: 102, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_80.ok_or, Error::NotAuthorizedMinter), assign: config, scope: 0 }{ id: 108, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_105, scope: 0 }{ id: 109, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_105.sequence), assign: BINARY_EXPRESSION_LEFT_103, scope: 0 }{ id: 114, instruction: divide, input: (BINARY_EXPRESSION_LEFT_103, config.epoch_length), assign: epoch, scope: 0 }{ id: 141, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_138, scope: 0 }{ id: 142, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_138.temporary), assign: METHOD_CALL_EXPRESSION_137, scope: 0 }{ id: 122, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_119, scope: 0 }{ id: 126, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_123, scope: 0 }{ id: 136, instruction: evaluate, input: (&, StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_119, CALL_EXPRESSION_ARG_2_123, config.epoch_length, epoch), assign: METHOD_CALL_ARG_1_116, scope: 0 }{ id: 143, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_137.get, METHOD_CALL_ARG_1_116), assign: METHOD_CALL_EXPRESSION_115, scope: 0 }{ id: 144, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_115.unwrap_or_default), assign: stats, scope: 0 }{ id: 149, instruction: instantiate_object, input: (Tuple, config, epoch, stats), assign: CALL_EXPRESSION_ARG_1_145, scope: 0 }{ id: 153, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_145), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [mint]* Inputs:{env: Envcontract: Addressminter: Addressto: Addressamount: BigInteger}* Output: Result<(), Error>* Instructions:${ id: 167, instruction: instantiate_object, input: (Tuple, &, contract, &, to, amount), assign: METHOD_CALL_EXPRESSION_159, scope: 0 }{ id: 169, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_159.into_val, &, env), assign: METHOD_CALL_ARG_1_154, scope: 0 }{ id: 172, instruction: evaluate, input: (minter.require_auth_for_args, METHOD_CALL_ARG_1_154), scope: 0 }{ id: 178, instruction: evaluate, input: (less_than, amount, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_173, scope: 0 }{ id: 180, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_173, 179), scope: 0 }{ id: 186, instruction: evaluate, input: (Err, Error::NegativeAmount), assign: RETURN_VALUE_LABEL_181, scope: 179 }{ id: 187, instruction: return, input: (RETURN_VALUE_LABEL_181), scope: 179 }{ id: 192, instruction: evaluate, input: (env.clone), assign: CALL_EXPRESSION_ARG_1_189, scope: 0 }{ id: 195, instruction: evaluate, input: (admin, CALL_EXPRESSION_ARG_1_189), assign: admin, scope: 0 }{ id: 201, instruction: evaluate, input: (not_equal_to, admin, minter), assign: CONDITIONAL_JUMP_ASSIGNMENT_196, scope: 0 }{ id: 203, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_196, 202), scope: 0 }{ id: 224, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_221, scope: 202 }{ id: 225, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_221.persistent), assign: METHOD_CALL_EXPRESSION_220, scope: 202 }{ id: 212, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_209, scope: 202 }{ id: 216, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_213, scope: 202 }{ id: 219, instruction: evaluate, input: (&, StorageKey::Minter, CALL_EXPRESSION_ARG_1_209, CALL_EXPRESSION_ARG_2_213), assign: METHOD_CALL_ARG_1_206, scope: 202 }{ id: 226, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_220.get, METHOD_CALL_ARG_1_206), assign: TRY_ASSIGN_RESULT_204, scope: 202 }{ id: 227, instruction: try_assign, input: (Some(config), TRY_ASSIGN_RESULT_204), assign: TRY_ASSIGN_RESULT_CONDITIONAL_205, scope: 202 }{ id: 229, instruction: jump, input: (TRY_ASSIGN_RESULT_CONDITIONAL_205, 228), scope: 202 }{ id: 231, instruction: jump, input: (230), scope: 202 }{ id: 232, instruction: jump, input: (202), scope: 228 }{ id: 238, instruction: evaluate, input: (Err, Error::NotAuthorizedMinter), assign: RETURN_VALUE_LABEL_233, scope: 230 }{ id: 239, instruction: return, input: (RETURN_VALUE_LABEL_233), scope: 230 }{ id: 246, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_243, scope: 202 }{ id: 247, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_243.sequence), assign: BINARY_EXPRESSION_LEFT_241, scope: 202 }{ id: 252, instruction: divide, input: (BINARY_EXPRESSION_LEFT_241, config.epoch_length), assign: epoch, scope: 202 }{ id: 256, instruction: evaluate, input: (contract.clone), assign: CALL_EXPRESSION_ARG_1_253, scope: 202 }{ id: 260, instruction: evaluate, input: (minter.clone), assign: CALL_EXPRESSION_ARG_2_257, scope: 202 }{ id: 270, instruction: evaluate, input: (StorageKey::MinterStats, CALL_EXPRESSION_ARG_1_253, CALL_EXPRESSION_ARG_2_257, config.epoch_length, epoch), assign: minter_stats_key, scope: 202 }{ id: 280, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_277, scope: 202 }{ id: 281, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_277.temporary), assign: METHOD_CALL_EXPRESSION_276, scope: 202 }{ id: 282, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_276.get, &, minter_stats_key), assign: METHOD_CALL_EXPRESSION_271, scope: 202 }{ id: 283, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_271.unwrap_or_default), assign: minter_stats, scope: 202 }{ id: 291, instruction: add, input: (minter_stats.consumed_limit, amount), assign: consumed_limit, scope: 202 }{ id: 292, instruction: instantiate_object, input: (UDT, MinterStats, consumed_limit), assign: new_minter_stats, scope: 202 }{ id: 305, instruction: evaluate, input: (greater_than, new_minter_stats.consumed_limit, config.limit), assign: CONDITIONAL_JUMP_ASSIGNMENT_294, scope: 202 }{ id: 307, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_294, 306), scope: 202 }{ id: 313, instruction: evaluate, input: (Err, Error::DailyLimitInsufficient), assign: RETURN_VALUE_LABEL_308, scope: 306 }{ id: 314, instruction: return, input: (RETURN_VALUE_LABEL_308), scope: 306 }{ id: 328, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_325, scope: 202 }{ id: 329, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_325.temporary), assign: METHOD_CALL_EXPRESSION_324, scope: 202 }{ id: 330, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_324.set, &, minter_stats_key, &, new_minter_stats), scope: 202 }{ id: 350, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_347, scope: 202 }{ id: 351, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_347.temporary), assign: METHOD_CALL_EXPRESSION_346, scope: 202 }{ id: 345, instruction: multiply, input: (epoch, config.epoch_length), assign: METHOD_CALL_ARG_3_337, scope: 202 }{ id: 352, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_346.extend_ttl, &, minter_stats_key, 0, METHOD_CALL_ARG_3_337), assign: Thing_to_return, scope: 202 }{ id: 353, instruction: jump, input: (0), scope: 202 }{ id: 364, instruction: evaluate, input: (MintClient::new, &, env, &, contract), assign: client, scope: 0 }{ id: 375, instruction: evaluate, input: (client.mint, &, to, &, amount), scope: 0 }{ id: 377, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_376, scope: 0 }{ id: 381, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_376), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (Error_ENUM){NotAuthorizedMinter = 1DailyLimitInsufficient = 2NegativeAmount = 3}* (StorageKey_ENUM){Admin: ()Minter: (Address, Address)MinterStats: (Address, Address, Integer, Integer)}* (MinterConfig_STRUCT){limit: BigIntegerepoch_length: Integer}* (MinterStats_STRUCT){consumed_limit: BigInteger}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8ca5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::hebd7a72c1a37c966 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8ce7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock::{{closure}}::hbb502a89bbcdf524 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600fed6 - core::ops::function::FnOnce::call_once::hdb3c73c814ba05b6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract stdout ---- [INFO] [stdout] DTR Code: [Contract]: UpgradeableContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] admin: Address [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), Error> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 } [INFO] [stdout] { id: 19, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_14, scope: 12 } [INFO] [stdout] { id: 20, instruction: return, input: (RETURN_VALUE_LABEL_14), scope: 12 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, DataKey::Admin, &, admin), scope: 0 } [INFO] [stdout] { id: 38, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_37, scope: 0 } [INFO] [stdout] { id: 42, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_37), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [version] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: return, input: (2), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [new_v2_fn] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] } [INFO] [stdout] * Output: Integer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 0, instruction: return, input: (1010101), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [upgrade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] new_wasm_hash: ByteStringSmall [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 25, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_22, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.instance), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.unwrap), assign: admin|||Address, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (admin.require_auth), scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_34, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.update_current_contract_wasm, new_wasm_hash), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Admin: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (Error_ENUM) [INFO] [stdout] { [INFO] [stdout] AlreadyInitialized = 1 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract' (108) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 19, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_14, scope: 12 }{ id: 20, instruction: return, input: (RETURN_VALUE_LABEL_14), scope: 12 }{ id: 34, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, DataKey::Admin, &, admin), scope: 0 }{ id: 38, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_37, scope: 0 }{ id: 42, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_37), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (2), scope: 0 }$-() [new_v2_fn]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1010101), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 25, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.instance), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.unwrap), assign: admin|||Address, scope: 0 }{ id: 31, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 37, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_34, scope: 0 }{ id: 38, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] right: "[Contract]: UpgradeableContract[Interface]:-() [init]* Inputs:{e: Envadmin: Address}* Output: Result<(), Error>* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Admin), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 19, instruction: evaluate, input: (Err, Error::AlreadyInitialized), assign: RETURN_VALUE_LABEL_14, scope: 12 }{ id: 20, instruction: return, input: (RETURN_VALUE_LABEL_14), scope: 12 }{ id: 34, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.instance), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.set, &, DataKey::Admin, &, admin), scope: 0 }{ id: 38, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_37, scope: 0 }{ id: 42, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_37), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [version]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (2), scope: 0 }$-() [new_v2_fn]* Inputs:{}* Output: Integer* Instructions:${ id: 0, instruction: return, input: (1010101), scope: 0 }$-() [upgrade]* Inputs:{e: Envnew_wasm_hash: ByteStringSmall}* Instructions:${ id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.get, &, DataKey::Admin), assign: METHOD_CALL_EXPRESSION_1, scope: 0 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_1.unwrap), assign: admin|||Address, scope: 0 }{ id: 16, instruction: evaluate, input: (admin.require_auth), scope: 0 }{ id: 22, instruction: evaluate, input: (e.deployer), assign: METHOD_CALL_EXPRESSION_19, scope: 0 }{ id: 23, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_19.update_current_contract_wasm, new_wasm_hash), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Admin: ()}* (Error_ENUM){AlreadyInitialized = 1}:[User Defined Types]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fcabb5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::h0c8361373e58fa6c [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fcabf7 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract::{{closure}}::h5e30b1aaef0df896 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600ead6 - core::ops::function::FnOnce::call_once::h6cb39df06de227cf [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::cast_expression::tests::test_handle_cast_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::cast_expression::tests::test_handle_cast_expression' (123) panicked at src/translate/expression/cast_expression.rs:27:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["a"], assign: "", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["a"], assign: "", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8806008661 - rust_to_dtr::translate::expression::cast_expression::tests::test_handle_cast_expression::h00dab69d42d0df11 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/cast_expression.rs:27:9 [INFO] [stdout] 22: 0x5d8806008717 - rust_to_dtr::translate::expression::cast_expression::tests::test_handle_cast_expression::{{closure}}::h46174782dd80ad40 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/cast_expression.rs:23:37 [INFO] [stdout] 23: 0x5d880600e876 - core::ops::function::FnOnce::call_once::h5d53860b20a51487 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap stdout ---- [INFO] [stdout] DTR Code: [Contract]: AtomicMultiSwapContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [multi_swap] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] swap_contract: Address [INFO] [stdout] token_a: Address [INFO] [stdout] token_b: Address [INFO] [stdout] swaps_a: List [INFO] [stdout] swaps_b: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 237, instruction: evaluate, input: (atomic_swap::Client::new, &, env, &, swap_contract), assign: swap_client, scope: 0 } [INFO] [stdout] { id: 251, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_238, scope: 0 } [INFO] [stdout] { id: 254, instruction: evaluate, input: (start, ITERATOR_238), assign: acc_a, scope: 0 } [INFO] [stdout] { id: 255, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_238), assign: CHECK_CONDITION_ASSIGNMENT_239, scope: 0 } [INFO] [stdout] { id: 260, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_239, 259), scope: 0 } [INFO] [stdout] { id: 282, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_278, scope: 259 } [INFO] [stdout] { id: 283, instruction: instantiate_object, input: (Range, 0, RANGE_END_278), assign: ITERATOR_275, scope: 259 } [INFO] [stdout] { id: 284, instruction: evaluate, input: (start, ITERATOR_275), assign: i, scope: 259 } [INFO] [stdout] { id: 285, instruction: end_of_iteration_check, input: (i, ITERATOR_275), assign: CHECK_CONDITION_ASSIGNMENT_276, scope: 259 } [INFO] [stdout] { id: 287, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_276, 286), scope: 259 } [INFO] [stdout] { id: 293, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_288, scope: 286 } [INFO] [stdout] { id: 294, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_288.unwrap), assign: acc_b, scope: 286 } [INFO] [stdout] { id: 308, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_296, scope: 286 } [INFO] [stdout] { id: 319, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_297, scope: 286 } [INFO] [stdout] { id: 324, instruction: and, input: (BINARY_EXPRESSION_LEFT_296, BINARY_EXPRESSION_RIGHT_297), assign: CONDITIONAL_JUMP_ASSIGNMENT_295, scope: 286 } [INFO] [stdout] { id: 328, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_295, 326), scope: 286 } [INFO] [stdout] { id: 394, instruction: evaluate, input: (swap_client.try_swap, &acc_a.address, &acc_b.address, &, token_a, &, token_b, &acc_a.amount, &acc_a.min_recv, &acc_b.amount, &acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_330, scope: 326 } [INFO] [stdout] { id: 395, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_330.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_329, scope: 326 } [INFO] [stdout] { id: 397, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_329, 396), scope: 326 } [INFO] [stdout] { id: 402, instruction: evaluate, input: (swaps_b.remove, i), scope: 396 } [INFO] [stdout] { id: 403, instruction: break, input: (), scope: 396 } [INFO] [stdout] { id: 404, instruction: jump, input: (326), scope: 396 } [INFO] [stdout] { id: 405, instruction: jump, input: (286), scope: 326 } [INFO] [stdout] { id: 2, instruction: increment, input: (i, ITERATOR_275), scope: 286 } [INFO] [stdout] { id: 6, instruction: goto, input: (285), scope: 286 } [INFO] [stdout] { id: 7, instruction: increment, input: (acc_a, ITERATOR_238), scope: 259 } [INFO] [stdout] { id: 8, instruction: goto, input: (255), scope: 259 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]:* (SwapSpec_STRUCT) [INFO] [stdout] { [INFO] [stdout] address: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] min_recv: BigInteger [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod atomic_swap { [INFO] [stdout] soroban_sdk::contractimport!( [INFO] [stdout] file = "../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm" [INFO] [stdout] ); [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap' (88) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AtomicMultiSwapContract[Interface]:-() [multi_swap]* Inputs:{env: Envswap_contract: Addresstoken_a: Addresstoken_b: Addressswaps_a: Listswaps_b: List}* Instructions:${ id: 237, instruction: evaluate, input: (atomic_swap::Client::new, &, env, &, swap_contract), assign: swap_client, scope: 0 }{ id: 251, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_238, scope: 0 }{ id: 254, instruction: evaluate, input: (start, ITERATOR_238), assign: acc_a, scope: 0 }{ id: 255, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_238), assign: CHECK_CONDITION_ASSIGNMENT_239, scope: 0 }{ id: 260, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_239, 259), scope: 0 }{ id: 282, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_278, scope: 259 }{ id: 283, instruction: instantiate_object, input: (Range, 0, RANGE_END_278), assign: ITERATOR_275, scope: 259 }{ id: 284, instruction: evaluate, input: (start, ITERATOR_275), assign: i, scope: 259 }{ id: 285, instruction: end_of_iteration_check, input: (i, ITERATOR_275), assign: CHECK_CONDITION_ASSIGNMENT_276, scope: 259 }{ id: 287, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_276, 286), scope: 259 }{ id: 293, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_288, scope: 286 }{ id: 294, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_288.unwrap), assign: acc_b, scope: 286 }{ id: 308, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_296, scope: 286 }{ id: 319, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_297, scope: 286 }{ id: 324, instruction: and, input: (BINARY_EXPRESSION_LEFT_296, BINARY_EXPRESSION_RIGHT_297), assign: CONDITIONAL_JUMP_ASSIGNMENT_295, scope: 286 }{ id: 328, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_295, 326), scope: 286 }{ id: 394, instruction: evaluate, input: (swap_client.try_swap, &acc_a.address, &acc_b.address, &, token_a, &, token_b, &acc_a.amount, &acc_a.min_recv, &acc_b.amount, &acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_330, scope: 326 }{ id: 395, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_330.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_329, scope: 326 }{ id: 397, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_329, 396), scope: 326 }{ id: 402, instruction: evaluate, input: (swaps_b.remove, i), scope: 396 }{ id: 403, instruction: break, input: (), scope: 396 }{ id: 404, instruction: jump, input: (326), scope: 396 }{ id: 405, instruction: jump, input: (286), scope: 326 }{ id: 2, instruction: increment, input: (i, ITERATOR_275), scope: 286 }{ id: 6, instruction: goto, input: (285), scope: 286 }{ id: 7, instruction: increment, input: (acc_a, ITERATOR_238), scope: 259 }{ id: 8, instruction: goto, input: (255), scope: 259 }$:[Interface][User Defined Types]:* (SwapSpec_STRUCT){address: Addressamount: BigIntegermin_recv: BigInteger}:[User Defined Types][NonTranslatable]:mod atomic_swap {soroban_sdk::contractimport!(file = \"../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] right: "[Contract]: AtomicMultiSwapContract[Interface]:-() [multi_swap]* Inputs:{env: Envswap_contract: Addresstoken_a: Addresstoken_b: Addressswaps_a: Listswaps_b: List}* Instructions:${ id: 11, instruction: evaluate, input: (atomic_swap::Client::new, &, env, &, swap_contract), assign: swap_client, scope: 0 }{ id: 16, instruction: evaluate, input: (swaps_a.iter), assign: ITERATOR_12, scope: 0 }{ id: 17, instruction: evaluate, input: (start, ITERATOR_12), assign: acc_a, scope: 0 }{ id: 18, instruction: end_of_iteration_check, input: (acc_a, ITERATOR_12), assign: CHECK_CONDITION_ASSIGNMENT_13, scope: 0 }{ id: 20, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_13, 19), scope: 0 }{ id: 28, instruction: evaluate, input: (swaps_b.len), assign: RANGE_END_24, scope: 19 }{ id: 29, instruction: instantiate_object, input: (Range, 0, RANGE_END_24), assign: ITERATOR_21, scope: 19 }{ id: 30, instruction: evaluate, input: (start, ITERATOR_21), assign: i, scope: 19 }{ id: 31, instruction: end_of_iteration_check, input: (i, ITERATOR_21), assign: CHECK_CONDITION_ASSIGNMENT_22, scope: 19 }{ id: 33, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_22, 32), scope: 19 }{ id: 39, instruction: evaluate, input: (swaps_b.get, i), assign: METHOD_CALL_EXPRESSION_34, scope: 32 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_34.unwrap), assign: acc_b, scope: 32 }{ id: 54, instruction: evaluate, input: (greater_than_or_equal_to, acc_a.amount, acc_b.min_recv), assign: BINARY_EXPRESSION_LEFT_42, scope: 32 }{ id: 65, instruction: evaluate, input: (less_than_or_equal_to, acc_a.min_recv, acc_b.amount), assign: BINARY_EXPRESSION_RIGHT_43, scope: 32 }{ id: 66, instruction: and, input: (BINARY_EXPRESSION_LEFT_42, BINARY_EXPRESSION_RIGHT_43), assign: CONDITIONAL_JUMP_ASSIGNMENT_41, scope: 32 }{ id: 68, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_41, 67), scope: 32 }{ id: 123, instruction: evaluate, input: (swap_client.try_swap, &acc_a.address, &acc_b.address, &, token_a, &, token_b, &acc_a.amount, &acc_a.min_recv, &acc_b.amount, &acc_b.min_recv), assign: METHOD_CALL_EXPRESSION_70, scope: 67 }{ id: 124, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_70.is_ok), assign: CONDITIONAL_JUMP_ASSIGNMENT_69, scope: 67 }{ id: 126, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_69, 125), scope: 67 }{ id: 131, instruction: evaluate, input: (swaps_b.remove, i), scope: 125 }{ id: 132, instruction: break, input: (), scope: 125 }{ id: 133, instruction: jump, input: (67), scope: 125 }{ id: 134, instruction: jump, input: (32), scope: 67 }{ id: 135, instruction: increment, input: (i, ITERATOR_21), scope: 32 }{ id: 136, instruction: goto, input: (31), scope: 32 }{ id: 137, instruction: increment, input: (acc_a, ITERATOR_12), scope: 19 }{ id: 138, instruction: goto, input: (18), scope: 19 }$:[Interface][User Defined Types]:* (SwapSpec_STRUCT){address: Addressamount: BigIntegermin_recv: BigInteger}:[User Defined Types][NonTranslatable]:mod atomic_swap {soroban_sdk::contractimport!(file = \"../atomic_swap/target/wasm32-unknown-unknown/release/soroban_atomic_swap_contract.wasm\");}:[NonTranslatable]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc99c5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::h193a9e45e0e88193 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9a07 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap::{{closure}}::hece05599ab44035f [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600e726 - core::ops::function::FnOnce::call_once::h5939f9d122ea4a89 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 } [INFO] [stdout] { id: 6, instruction: exit_with_message, input: ("need more than 0 claimants"), scope: 4 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_9, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_9, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 } [INFO] [stdout] { id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 16), scope: 0 } [INFO] [stdout] { id: 18, instruction: exit_with_message, input: ("too many claimants"), scope: 16 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 } [INFO] [stdout] { id: 39, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 38), scope: 0 } [INFO] [stdout] { id: 41, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 38 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 71, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_60, scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_50, scope: 0 } [INFO] [stdout] { id: 72, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.transfer, &, from, METHOD_CALL_ARG_2_50, &, amount), scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_87, scope: 0 } [INFO] [stdout] { id: 91, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_87.persistent), assign: METHOD_CALL_EXPRESSION_86, scope: 0 } [INFO] [stdout] { id: 84, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_77, scope: 0 } [INFO] [stdout] { id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_86.set, &, DataKey::Balance, METHOD_CALL_ARG_2_77), scope: 0 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_103, scope: 0 } [INFO] [stdout] { id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_103.persistent), assign: METHOD_CALL_EXPRESSION_102, scope: 0 } [INFO] [stdout] { id: 100, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_97, scope: 0 } [INFO] [stdout] { id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.set, &, DataKey::Init, METHOD_CALL_ARG_2_97), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [claim] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] claimant: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 24, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.persistent), assign: METHOD_CALL_EXPRESSION_30, scope: 0 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_25, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_39, scope: 0 } [INFO] [stdout] { id: 54, instruction: evaluate, input: (!, UNARY_ARGUMENT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_38, scope: 0 } [INFO] [stdout] { id: 56, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_38, 55), scope: 0 } [INFO] [stdout] { id: 57, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 55 } [INFO] [stdout] { id: 73, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_66, scope: 0 } [INFO] [stdout] { id: 74, instruction: evaluate, input: (!, UNARY_ARGUMENT_66), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 0 } [INFO] [stdout] { id: 76, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 75), scope: 0 } [INFO] [stdout] { id: 77, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 75 } [INFO] [stdout] { id: 87, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_79, scope: 0 } [INFO] [stdout] { id: 89, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_79, 88), scope: 0 } [INFO] [stdout] { id: 90, instruction: exit_with_message, input: ("claimed amount greater than balance"), scope: 88 } [INFO] [stdout] { id: 120, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_106, scope: 0 } [INFO] [stdout] { id: 97, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_92, scope: 0 } [INFO] [stdout] { id: 121, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.transfer, METHOD_CALL_ARG_1_92, &, claimant, &, amount), scope: 0 } [INFO] [stdout] { id: 130, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 } [INFO] [stdout] { id: 136, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_131, scope: 0 } [INFO] [stdout] { id: 138, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_131, 137), scope: 0 } [INFO] [stdout] { id: 3, instruction: jump, input: (2), scope: 0 } [INFO] [stdout] { id: 146, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 137 } [INFO] [stdout] { id: 159, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_156, scope: 137 } [INFO] [stdout] { id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_156.persistent), assign: METHOD_CALL_EXPRESSION_155, scope: 137 } [INFO] [stdout] { id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_155.set, &, DataKey::Balance, &, claimable_balance), scope: 137 } [INFO] [stdout] { id: 1, instruction: jump, input: (0), scope: 137 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 2 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 2 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.remove, &, DataKey::Balance), scope: 2 } [INFO] [stdout] { id: 15, instruction: jump, input: (0), scope: 2 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Init: () [INFO] [stdout] Balance: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (TimeBoundKind_ENUM) [INFO] [stdout] { [INFO] [stdout] Before: () [INFO] [stdout] After: () [INFO] [stdout] } [INFO] [stdout] * (TimeBound_STRUCT) [INFO] [stdout] { [INFO] [stdout] kind: TimeBoundKind [INFO] [stdout] timestamp: Integer [INFO] [stdout] } [INFO] [stdout] * (ClaimableBalance_STRUCT) [INFO] [stdout] { [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [check_time_bound] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] time_bound: &TimeBound [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 25, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 33, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_28, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_46, scope: 0 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_28, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_79, scope: 0 } [INFO] [stdout] { id: 49, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_46, 48), scope: 0 } [INFO] [stdout] { id: 82, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_79, 81), scope: 0 } [INFO] [stdout] { id: 69, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 48 } [INFO] [stdout] { id: 74, instruction: jump, input: (0), scope: 48 } [INFO] [stdout] { id: 92, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 81 } [INFO] [stdout] { id: 93, instruction: jump, input: (0), scope: 81 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [is_initialized] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [NonTranslatable]: [INFO] [stdout] [INFO] [stdout] mod proptest { [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[NonTranslatable] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing' (99) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 6, instruction: exit_with_message, input: (\"need more than 0 claimants\"), scope: 4 }{ id: 13, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_9, scope: 0 }{ id: 15, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_9, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 16), scope: 0 }{ id: 18, instruction: exit_with_message, input: (\"too many claimants\"), scope: 16 }{ id: 37, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 39, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 38), scope: 0 }{ id: 41, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 38 }{ id: 45, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 71, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_60, scope: 0 }{ id: 55, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_50, scope: 0 }{ id: 72, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_60.transfer, &, from, METHOD_CALL_ARG_2_50, &, amount), scope: 0 }{ id: 90, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_87, scope: 0 }{ id: 91, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_87.persistent), assign: METHOD_CALL_EXPRESSION_86, scope: 0 }{ id: 84, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_77, scope: 0 }{ id: 92, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_86.set, &, DataKey::Balance, METHOD_CALL_ARG_2_77), scope: 0 }{ id: 106, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_103, scope: 0 }{ id: 107, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_103.persistent), assign: METHOD_CALL_EXPRESSION_102, scope: 0 }{ id: 100, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_97, scope: 0 }{ id: 108, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_102.set, &, DataKey::Init, METHOD_CALL_ARG_2_97), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 24, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 34, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_31, scope: 0 }{ id: 35, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_31.persistent), assign: METHOD_CALL_EXPRESSION_30, scope: 0 }{ id: 36, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_30.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_25, scope: 0 }{ id: 37, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_25.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 53, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_39, scope: 0 }{ id: 54, instruction: evaluate, input: (!, UNARY_ARGUMENT_39), assign: CONDITIONAL_JUMP_ASSIGNMENT_38, scope: 0 }{ id: 56, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_38, 55), scope: 0 }{ id: 57, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 55 }{ id: 73, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_66, scope: 0 }{ id: 74, instruction: evaluate, input: (!, UNARY_ARGUMENT_66), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 0 }{ id: 76, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 75), scope: 0 }{ id: 77, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 75 }{ id: 87, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_79, scope: 0 }{ id: 89, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_79, 88), scope: 0 }{ id: 90, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 88 }{ id: 120, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_106, scope: 0 }{ id: 97, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_92, scope: 0 }{ id: 121, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.transfer, METHOD_CALL_ARG_1_92, &, claimant, &, amount), scope: 0 }{ id: 130, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 136, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_131, scope: 0 }{ id: 138, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_131, 137), scope: 0 }{ id: 3, instruction: jump, input: (2), scope: 0 }{ id: 146, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 137 }{ id: 159, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_156, scope: 137 }{ id: 160, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_156.persistent), assign: METHOD_CALL_EXPRESSION_155, scope: 137 }{ id: 161, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_155.set, &, DataKey::Balance, &, claimable_balance), scope: 137 }{ id: 1, instruction: jump, input: (0), scope: 137 }{ id: 12, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_9, scope: 2 }{ id: 13, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.persistent), assign: METHOD_CALL_EXPRESSION_8, scope: 2 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_8.remove, &, DataKey::Balance), scope: 2 }{ id: 15, instruction: jump, input: (0), scope: 2 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 25, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 33, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_28, scope: 0 }{ id: 47, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_46, scope: 0 }{ id: 80, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_28, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_79, scope: 0 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_46, 48), scope: 0 }{ id: 82, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_79, 81), scope: 0 }{ id: 69, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 48 }{ id: 74, instruction: jump, input: (0), scope: 48 }{ id: 92, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 81 }{ id: 93, instruction: jump, input: (0), scope: 81 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][NonTranslatable]:mod proptest {}:[NonTranslatable]" [INFO] [stdout] right: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 3, instruction: evaluate, input: (claimants.is_empty), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 4), scope: 0 }{ id: 6, instruction: exit_with_message, input: (\"need more than 0 claimants\"), scope: 4 }{ id: 13, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_9, scope: 0 }{ id: 15, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_9, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_8, scope: 0 }{ id: 17, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_8, 16), scope: 0 }{ id: 18, instruction: exit_with_message, input: (\"too many claimants\"), scope: 16 }{ id: 27, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_20, scope: 0 }{ id: 29, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_20, 28), scope: 0 }{ id: 30, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 28 }{ id: 34, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 60, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_49, scope: 0 }{ id: 44, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_39, scope: 0 }{ id: 61, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_49.transfer, &, from, METHOD_CALL_ARG_2_39, &, amount), scope: 0 }{ id: 79, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_76, scope: 0 }{ id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_76.persistent), assign: METHOD_CALL_EXPRESSION_75, scope: 0 }{ id: 73, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_66, scope: 0 }{ id: 81, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.set, &, DataKey::Balance, METHOD_CALL_ARG_2_66), scope: 0 }{ id: 95, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_92, scope: 0 }{ id: 96, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_92.persistent), assign: METHOD_CALL_EXPRESSION_91, scope: 0 }{ id: 89, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_86, scope: 0 }{ id: 97, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_91.set, &, DataKey::Init, METHOD_CALL_ARG_2_86), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Addressamount: BigInteger}* Instructions:${ id: 100, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 110, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_107, scope: 0 }{ id: 111, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_107.persistent), assign: METHOD_CALL_EXPRESSION_106, scope: 0 }{ id: 112, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_106.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_101, scope: 0 }{ id: 113, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_101.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 129, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_115, scope: 0 }{ id: 130, instruction: evaluate, input: (!, UNARY_ARGUMENT_115), assign: CONDITIONAL_JUMP_ASSIGNMENT_114, scope: 0 }{ id: 132, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_114, 131), scope: 0 }{ id: 133, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 131 }{ id: 149, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_142, scope: 0 }{ id: 150, instruction: evaluate, input: (!, UNARY_ARGUMENT_142), assign: CONDITIONAL_JUMP_ASSIGNMENT_141, scope: 0 }{ id: 152, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_141, 151), scope: 0 }{ id: 153, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 151 }{ id: 163, instruction: evaluate, input: (greater_than, amount, claimable_balance.amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_155, scope: 0 }{ id: 165, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_155, 164), scope: 0 }{ id: 166, instruction: exit_with_message, input: (\"claimed amount greater than balance\"), scope: 164 }{ id: 196, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_182, scope: 0 }{ id: 173, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_168, scope: 0 }{ id: 197, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_182.transfer, METHOD_CALL_ARG_1_168, &, claimant, &, amount), scope: 0 }{ id: 205, instruction: subtract, input: (claimable_balance.amount, amount), assign: new_balance, scope: 0 }{ id: 211, instruction: evaluate, input: (greater_than, new_balance, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_206, scope: 0 }{ id: 213, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_206, 212), scope: 0 }{ id: 239, instruction: jump, input: (238), scope: 0 }{ id: 221, instruction: assign, input: (new_balance), assign: claimable_balance.amount, scope: 212 }{ id: 234, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_231, scope: 212 }{ id: 235, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_231.persistent), assign: METHOD_CALL_EXPRESSION_230, scope: 212 }{ id: 236, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_230.set, &, DataKey::Balance, &, claimable_balance), scope: 212 }{ id: 237, instruction: jump, input: (0), scope: 212 }{ id: 248, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_245, scope: 238 }{ id: 249, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_245.persistent), assign: METHOD_CALL_EXPRESSION_244, scope: 238 }{ id: 250, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_244.remove, &, DataKey::Balance), scope: 238 }{ id: 251, instruction: jump, input: (0), scope: 238 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.persistent), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][NonTranslatable]:mod proptest {}:[NonTranslatable]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8705 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::h471a9260d39c982d [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8747 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing::{{closure}}::had27fe518d34cc0b [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600fb16 - core::ops::function::FnOnce::call_once::hcc59360d8a721de7 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::field_expression::tests::test_handle_field_expression_index stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::field_expression::tests::test_handle_field_expression_index' (126) panicked at src/translate/expression/field_expression.rs:77:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 1, name: "assign", input: ["a"], assign: "FIELD_BASE_0", scope: 0 }, Instruction { id: 3, name: "field", input: ["FIELD_BASE_0", "0"], assign: "FIELD_RESULT_4", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["a"], assign: "FIELD_BASE_0", scope: 0 }, Instruction { id: 2, name: "field", input: ["FIELD_BASE_0", "0"], assign: "FIELD_RESULT_3", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f75fe9 - rust_to_dtr::translate::expression::field_expression::tests::test_handle_field_expression_index::h89a94f8a8b21ff2f [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/field_expression.rs:77:9 [INFO] [stdout] 22: 0x5d8805f760c7 - rust_to_dtr::translate::expression::field_expression::tests::test_handle_field_expression_index::{{closure}}::h53fe4e0618bf73cd [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/field_expression.rs:73:44 [INFO] [stdout] 23: 0x5d880600e616 - core::ops::function::FnOnce::call_once::h5399e6336a58c2bb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_timelock stdout ---- [INFO] [stdout] DTR Code: [Contract]: ClaimableBalanceContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [deposit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] from: Address [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 56, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_49, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_47, scope: 0 } [INFO] [stdout] { id: 60, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_47, 59), scope: 0 } [INFO] [stdout] { id: 61, instruction: exit_with_message, input: ("too many claimants"), scope: 59 } [INFO] [stdout] { id: 77, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 0 } [INFO] [stdout] { id: 80, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 79), scope: 0 } [INFO] [stdout] { id: 84, instruction: exit_with_message, input: ("contract has been already initialized"), scope: 79 } [INFO] [stdout] { id: 92, instruction: evaluate, input: (from.require_auth), scope: 0 } [INFO] [stdout] { id: 143, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_114, scope: 0 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_99, scope: 0 } [INFO] [stdout] { id: 145, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.transfer, &, from, METHOD_CALL_ARG_2_99, &, amount), scope: 0 } [INFO] [stdout] { id: 184, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_178, scope: 0 } [INFO] [stdout] { id: 185, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_178.instance), assign: METHOD_CALL_EXPRESSION_177, scope: 0 } [INFO] [stdout] { id: 174, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_155, scope: 0 } [INFO] [stdout] { id: 186, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_177.set, &, DataKey::Balance, METHOD_CALL_ARG_2_155), scope: 0 } [INFO] [stdout] { id: 207, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_200, scope: 0 } [INFO] [stdout] { id: 210, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_200.instance), assign: METHOD_CALL_EXPRESSION_199, scope: 0 } [INFO] [stdout] { id: 197, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_194, scope: 0 } [INFO] [stdout] { id: 212, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.set, &, DataKey::Init, METHOD_CALL_ARG_2_194), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [claim] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] claimant: Address [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (claimant.require_auth), scope: 0 } [INFO] [stdout] { id: 13, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_10, scope: 0 } [INFO] [stdout] { id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.instance), assign: METHOD_CALL_EXPRESSION_9, scope: 0 } [INFO] [stdout] { id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 } [INFO] [stdout] { id: 32, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_18, scope: 0 } [INFO] [stdout] { id: 33, instruction: evaluate, input: (!, UNARY_ARGUMENT_18), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 0 } [INFO] [stdout] { id: 35, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 34), scope: 0 } [INFO] [stdout] { id: 36, instruction: exit_with_message, input: ("time predicate is not fulfilled"), scope: 34 } [INFO] [stdout] { id: 52, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_45, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (!, UNARY_ARGUMENT_45), assign: CONDITIONAL_JUMP_ASSIGNMENT_44, scope: 0 } [INFO] [stdout] { id: 55, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_44, 54), scope: 0 } [INFO] [stdout] { id: 56, instruction: exit_with_message, input: ("claimant is not allowed to claim this balance"), scope: 54 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_75, scope: 0 } [INFO] [stdout] { id: 63, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_58, scope: 0 } [INFO] [stdout] { id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.transfer, METHOD_CALL_ARG_1_58, &, claimant, &claimable_balance.amount), scope: 0 } [INFO] [stdout] { id: 99, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_96, scope: 0 } [INFO] [stdout] { id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.instance), assign: METHOD_CALL_EXPRESSION_95, scope: 0 } [INFO] [stdout] { id: 101, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_95.remove, &, DataKey::Balance), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Init: () [INFO] [stdout] Balance: () [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (TimeBoundKind_ENUM) [INFO] [stdout] { [INFO] [stdout] Before: () [INFO] [stdout] After: () [INFO] [stdout] } [INFO] [stdout] * (TimeBound_STRUCT) [INFO] [stdout] { [INFO] [stdout] kind: TimeBoundKind [INFO] [stdout] timestamp: Integer [INFO] [stdout] } [INFO] [stdout] * (ClaimableBalance_STRUCT) [INFO] [stdout] { [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] claimants: List
[INFO] [stdout] time_bound: TimeBound [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [check_time_bound] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] time_bound: &TimeBound [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 } [INFO] [stdout] { id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 } [INFO] [stdout] { id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 22, instruction: jump, input: (0), scope: 12 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 } [INFO] [stdout] { id: 35, instruction: jump, input: (0), scope: 25 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [is_initialized] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Boolean [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_timelock' (106) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 56, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 }{ id: 58, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_49, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_47, scope: 0 }{ id: 60, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_47, 59), scope: 0 }{ id: 61, instruction: exit_with_message, input: (\"too many claimants\"), scope: 59 }{ id: 77, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_65, scope: 0 }{ id: 80, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_65, 79), scope: 0 }{ id: 84, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 79 }{ id: 92, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 143, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_114, scope: 0 }{ id: 105, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_99, scope: 0 }{ id: 145, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.transfer, &, from, METHOD_CALL_ARG_2_99, &, amount), scope: 0 }{ id: 184, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_178, scope: 0 }{ id: 185, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_178.instance), assign: METHOD_CALL_EXPRESSION_177, scope: 0 }{ id: 174, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_155, scope: 0 }{ id: 186, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_177.set, &, DataKey::Balance, METHOD_CALL_ARG_2_155), scope: 0 }{ id: 207, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_200, scope: 0 }{ id: 210, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_200.instance), assign: METHOD_CALL_EXPRESSION_199, scope: 0 }{ id: 197, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_194, scope: 0 }{ id: 212, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_199.set, &, DataKey::Init, METHOD_CALL_ARG_2_194), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 3, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 13, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_10, scope: 0 }{ id: 14, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_10.instance), assign: METHOD_CALL_EXPRESSION_9, scope: 0 }{ id: 15, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_9.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 16, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 32, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_18, scope: 0 }{ id: 33, instruction: evaluate, input: (!, UNARY_ARGUMENT_18), assign: CONDITIONAL_JUMP_ASSIGNMENT_17, scope: 0 }{ id: 35, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_17, 34), scope: 0 }{ id: 36, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 34 }{ id: 52, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_45, scope: 0 }{ id: 53, instruction: evaluate, input: (!, UNARY_ARGUMENT_45), assign: CONDITIONAL_JUMP_ASSIGNMENT_44, scope: 0 }{ id: 55, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_44, 54), scope: 0 }{ id: 56, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 54 }{ id: 89, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_75, scope: 0 }{ id: 63, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_58, scope: 0 }{ id: 90, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.transfer, METHOD_CALL_ARG_1_58, &, claimant, &claimable_balance.amount), scope: 0 }{ id: 99, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_96, scope: 0 }{ id: 100, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_96.instance), assign: METHOD_CALL_EXPRESSION_95, scope: 0 }{ id: 101, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_95.remove, &, DataKey::Balance), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: ClaimableBalanceContract[Interface]:-() [deposit]* Inputs:{env: Envfrom: Addresstoken: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}* Instructions:${ id: 5, instruction: evaluate, input: (claimants.len), assign: BINARY_EXPRESSION_LEFT_1, scope: 0 }{ id: 7, instruction: evaluate, input: (greater_than, BINARY_EXPRESSION_LEFT_1, 10), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 9, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 8), scope: 0 }{ id: 10, instruction: exit_with_message, input: (\"too many claimants\"), scope: 8 }{ id: 19, instruction: evaluate, input: (is_initialized, &, env), assign: CONDITIONAL_JUMP_ASSIGNMENT_12, scope: 0 }{ id: 21, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_12, 20), scope: 0 }{ id: 22, instruction: exit_with_message, input: (\"contract has been already initialized\"), scope: 20 }{ id: 26, instruction: evaluate, input: (from.require_auth), scope: 0 }{ id: 52, instruction: evaluate, input: (token::Client::new, &, env, &, token), assign: METHOD_CALL_EXPRESSION_41, scope: 0 }{ id: 36, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_2_31, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_41.transfer, &, from, METHOD_CALL_ARG_2_31, &, amount), scope: 0 }{ id: 71, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_68, scope: 0 }{ id: 72, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_68.instance), assign: METHOD_CALL_EXPRESSION_67, scope: 0 }{ id: 65, instruction: instantiate_object, input: (&, UDT, ClaimableBalance, token, amount, time_bound, claimants), assign: METHOD_CALL_ARG_2_58, scope: 0 }{ id: 73, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_67.set, &, DataKey::Balance, METHOD_CALL_ARG_2_58), scope: 0 }{ id: 87, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_84, scope: 0 }{ id: 88, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_84.instance), assign: METHOD_CALL_EXPRESSION_83, scope: 0 }{ id: 81, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_78, scope: 0 }{ id: 89, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_83.set, &, DataKey::Init, METHOD_CALL_ARG_2_78), scope: 0 }$-() [claim]* Inputs:{env: Envclaimant: Address}* Instructions:${ id: 92, instruction: evaluate, input: (claimant.require_auth), scope: 0 }{ id: 102, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_99, scope: 0 }{ id: 103, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_99.instance), assign: METHOD_CALL_EXPRESSION_98, scope: 0 }{ id: 104, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_98.get, &, DataKey::Balance), assign: METHOD_CALL_EXPRESSION_93, scope: 0 }{ id: 105, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_93.unwrap), assign: claimable_balance|||ClaimableBalance, scope: 0 }{ id: 121, instruction: evaluate, input: (check_time_bound, &, env, &claimable_balance.time_bound), assign: UNARY_ARGUMENT_107, scope: 0 }{ id: 122, instruction: evaluate, input: (!, UNARY_ARGUMENT_107), assign: CONDITIONAL_JUMP_ASSIGNMENT_106, scope: 0 }{ id: 124, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_106, 123), scope: 0 }{ id: 125, instruction: exit_with_message, input: (\"time predicate is not fulfilled\"), scope: 123 }{ id: 141, instruction: evaluate, input: (claimants.contains, &, claimant), assign: UNARY_ARGUMENT_134, scope: 0 }{ id: 142, instruction: evaluate, input: (!, UNARY_ARGUMENT_134), assign: CONDITIONAL_JUMP_ASSIGNMENT_133, scope: 0 }{ id: 144, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_133, 143), scope: 0 }{ id: 145, instruction: exit_with_message, input: (\"claimant is not allowed to claim this balance\"), scope: 143 }{ id: 178, instruction: evaluate, input: (token::Client::new, &, env, &claimable_balance.token), assign: METHOD_CALL_EXPRESSION_164, scope: 0 }{ id: 152, instruction: evaluate, input: (&, env.current_contract_address), assign: METHOD_CALL_ARG_1_147, scope: 0 }{ id: 179, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_164.transfer, METHOD_CALL_ARG_1_147, &, claimant, &claimable_balance.amount), scope: 0 }{ id: 188, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_185, scope: 0 }{ id: 189, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_185.instance), assign: METHOD_CALL_EXPRESSION_184, scope: 0 }{ id: 190, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_184.remove, &, DataKey::Balance), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Init: ()Balance: ()}* (TimeBoundKind_ENUM){Before: ()After: ()}* (TimeBound_STRUCT){kind: TimeBoundKindtimestamp: Integer}* (ClaimableBalance_STRUCT){token: Addressamount: BigIntegerclaimants: List
time_bound: TimeBound}:[User Defined Types][Helpers]:-() [check_time_bound]* Inputs:{env: &Envtime_bound: &TimeBound}* Output: Boolean* Instructions:${ id: 3, instruction: evaluate, input: (env.ledger), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 4, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.timestamp), assign: ledger_timestamp, scope: 0 }{ id: 8, instruction: assign, input: (time_bound, kind), assign: THING_TO_COMPARE_AGAINST_5, scope: 0 }{ id: 11, instruction: evaluate, input: (equal_to, time_bound.kind, TimeBoundKind::Before), assign: CONDITIONAL_JUMP_CHECK_10, scope: 0 }{ id: 24, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_5, TimeBoundKind::After), assign: CONDITIONAL_JUMP_CHECK_23, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_10, 12), scope: 0 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_23, 25), scope: 0 }{ id: 21, instruction: evaluate, input: (less_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 12 }{ id: 22, instruction: jump, input: (0), scope: 12 }{ id: 34, instruction: evaluate, input: (greater_than_or_equal_to, ledger_timestamp, time_bound.timestamp), assign: Thing_to_return, scope: 25 }{ id: 35, instruction: jump, input: (0), scope: 25 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [is_initialized]* Inputs:{env: &Env}* Output: Boolean* Instructions:${ id: 8, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 9, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.instance), assign: METHOD_CALL_EXPRESSION_4, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_4.has, &, DataKey::Init), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc88e5 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::h9175348ed22ca4e3 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8927 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_timelock::{{closure}}::h05f1ba1764c61c50 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600e696 - core::ops::function::FnOnce::call_once::h57d86f6748472457 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression' (128) panicked at src/translate/expression/for_loop_expression.rs:248:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["xs"], assign: "METHOD_CALL_EXPRESSION_2", scope: 0 }, Instruction { id: 3, name: "evaluate", input: ["METHOD_CALL_EXPRESSION_2.iter"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "x", scope: 0 }, Instruction { id: 5, name: "end_of_iteration_check", input: ["x", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "6"], assign: "", scope: 0 }, Instruction { id: 11, name: "print", input: ["\"{}\"", "x"], assign: "", scope: 6 }, Instruction { id: 9, name: "increment", input: ["x", "ITERATOR_0"], assign: "", scope: 6 }, Instruction { id: 10, name: "goto", input: ["5"], assign: "", scope: 6 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["xs"], assign: "METHOD_CALL_EXPRESSION_2", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["METHOD_CALL_EXPRESSION_2.iter"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "x", scope: 0 }, Instruction { id: 6, name: "end_of_iteration_check", input: ["x", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 8, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "7"], assign: "", scope: 0 }, Instruction { id: 9, name: "print", input: ["\"{}\"", "x"], assign: "", scope: 7 }, Instruction { id: 10, name: "increment", input: ["x", "ITERATOR_0"], assign: "", scope: 7 }, Instruction { id: 11, name: "goto", input: ["6"], assign: "", scope: 7 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f97cd6 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression::hdc5a7043f773a34f [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:248:9 [INFO] [stdout] 22: 0x5d8805f97eb7 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression::{{closure}}::hfee8ca2d46172997 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:238:60 [INFO] [stdout] 23: 0x5d880600e0e6 - core::ops::function::FnOnce::call_once::h2e2cf950867ca9cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_elseif_else_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_elseif_else_expression' (132) panicked at src/translate/expression/if_expression.rs:332:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 4, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_2", scope: 0 }, Instruction { id: 5, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_3", scope: 0 }, Instruction { id: 6, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_2", "BINARY_EXPRESSION_RIGHT_3"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 13, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "11"], assign: "", scope: 0 }, Instruction { id: 20, name: "jump", input: ["19"], assign: "", scope: 0 }, Instruction { id: 15, name: "print", input: ["\"if\""], assign: "", scope: 11 }, Instruction { id: 18, name: "jump", input: ["0"], assign: "", scope: 11 }, Instruction { id: 26, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_22", scope: 19 }, Instruction { id: 28, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_24", scope: 19 }, Instruction { id: 29, name: "evaluate", input: ["equal_to", "BINARY_EXPRESSION_LEFT_22", "BINARY_EXPRESSION_RIGHT_24"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_21", scope: 19 }, Instruction { id: 33, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_21", "31"], assign: "", scope: 19 }, Instruction { id: 41, name: "jump", input: ["40"], assign: "", scope: 19 }, Instruction { id: 36, name: "print", input: ["\"else if\""], assign: "", scope: 31 }, Instruction { id: 39, name: "jump", input: ["19"], assign: "", scope: 31 }, Instruction { id: 42, name: "print", input: ["\"else\""], assign: "", scope: 40 }, Instruction { id: 44, name: "jump", input: ["19"], assign: "", scope: 40 }, Instruction { id: 45, name: "jump", input: ["0"], assign: "", scope: 19 }] [INFO] [stdout] right: [Instruction { id: 3, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_1", scope: 0 }, Instruction { id: 4, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_2", scope: 0 }, Instruction { id: 5, name: "evaluate", input: ["less_than", "BINARY_EXPRESSION_LEFT_1", "BINARY_EXPRESSION_RIGHT_2"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 7, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "6"], assign: "", scope: 0 }, Instruction { id: 11, name: "jump", input: ["10"], assign: "", scope: 0 }, Instruction { id: 8, name: "print", input: ["\"if\""], assign: "", scope: 6 }, Instruction { id: 9, name: "jump", input: ["0"], assign: "", scope: 6 }, Instruction { id: 15, name: "assign", input: ["10"], assign: "BINARY_EXPRESSION_LEFT_13", scope: 10 }, Instruction { id: 16, name: "assign", input: ["11"], assign: "BINARY_EXPRESSION_RIGHT_14", scope: 10 }, Instruction { id: 17, name: "evaluate", input: ["equal_to", "BINARY_EXPRESSION_LEFT_13", "BINARY_EXPRESSION_RIGHT_14"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_12", scope: 10 }, Instruction { id: 19, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_12", "18"], assign: "", scope: 10 }, Instruction { id: 23, name: "jump", input: ["22"], assign: "", scope: 10 }, Instruction { id: 20, name: "print", input: ["\"else if\""], assign: "", scope: 18 }, Instruction { id: 21, name: "jump", input: ["10"], assign: "", scope: 18 }, Instruction { id: 24, name: "print", input: ["\"else\""], assign: "", scope: 22 }, Instruction { id: 25, name: "jump", input: ["10"], assign: "", scope: 22 }, Instruction { id: 26, name: "jump", input: ["0"], assign: "", scope: 10 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f62597 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_elseif_else_expression::h5856bcbe24325db5 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:332:9 [INFO] [stdout] 22: 0x5d8805f62927 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_elseif_else_expression::{{closure}}::h6511a9f315b3eacd [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:327:47 [INFO] [stdout] 23: 0x5d880600fe56 - core::ops::function::FnOnce::call_once::hd9dfe089574692d5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::if_expression::tests::test_handle_if_let_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::if_expression::tests::test_handle_if_let_expression' (133) panicked at src/translate/expression/if_expression.rs:475:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 5, name: "assign", input: ["Some"], assign: "CALL_EXPRESSION_FUNCTION_4", scope: 0 }, Instruction { id: 3, name: "assign", input: ["10"], assign: "CALL_EXPRESSION_ARG_1_2", scope: 0 }, Instruction { id: 6, name: "evaluate", input: ["CALL_EXPRESSION_FUNCTION_4", "CALL_EXPRESSION_ARG_1_2"], assign: "INPUT_VALUE_NAME_FOR_LET_1", scope: 0 }, Instruction { id: 7, name: "try_assign", input: ["INPUT_VALUE_NAME_FOR_LET_1", "Some(x)"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 9, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "8"], assign: "", scope: 0 }, Instruction { id: 10, name: "print", input: ["x"], assign: "", scope: 8 }, Instruction { id: 1, name: "jump", input: ["0"], assign: "", scope: 8 }] [INFO] [stdout] right: [Instruction { id: 5, name: "assign", input: ["Some"], assign: "CALL_EXPRESSION_FUNCTION_4", scope: 0 }, Instruction { id: 3, name: "assign", input: ["10"], assign: "CALL_EXPRESSION_ARG_1_2", scope: 0 }, Instruction { id: 6, name: "evaluate", input: ["CALL_EXPRESSION_FUNCTION_4", "CALL_EXPRESSION_ARG_1_2"], assign: "INPUT_VALUE_NAME_FOR_LET_1", scope: 0 }, Instruction { id: 7, name: "try_assign", input: ["INPUT_VALUE_NAME_FOR_LET_1", "Some(x)"], assign: "CONDITIONAL_JUMP_ASSIGNMENT_0", scope: 0 }, Instruction { id: 9, name: "jump", input: ["CONDITIONAL_JUMP_ASSIGNMENT_0", "8"], assign: "", scope: 0 }, Instruction { id: 10, name: "print", input: ["x"], assign: "", scope: 8 }, Instruction { id: 11, name: "jump", input: ["0"], assign: "", scope: 8 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f5b658 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::h8bd376a60e750d34 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:475:9 [INFO] [stdout] 22: 0x5d8805f5b827 - rust_to_dtr::translate::expression::if_expression::tests::test_handle_if_let_expression::{{closure}}::h87d213d65b45242a [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/if_expression.rs:470:39 [INFO] [stdout] 23: 0x5d880600e306 - core::ops::function::FnOnce::call_once::h3dc6d7fc67754c96 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::match_expression::tests::test_handle_match_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::match_expression::tests::test_handle_match_expression' (146) panicked at src/translate/expression/match_expression.rs:103:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 2, name: "assign", input: ["instance_of_struct"], assign: "THING_TO_COMPARE_AGAINST_1", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_3", scope: 0 }, Instruction { id: 3, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_1", "Struct::Variant2"], assign: "CONDITIONAL_JUMP_CHECK_2", scope: 0 }, Instruction { id: 6, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_3", "5"], assign: "", scope: 0 }, Instruction { id: 5, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_2", "4"], assign: "", scope: 0 }, Instruction { id: 7, name: "print", input: ["\"Variant1\""], assign: "", scope: 5 }, Instruction { id: 1, name: "jump", input: ["0"], assign: "", scope: 5 }, Instruction { id: 6, name: "print", input: ["\"Variant2\""], assign: "", scope: 4 }, Instruction { id: 7, name: "jump", input: ["0"], assign: "", scope: 4 }] [INFO] [stdout] right: [Instruction { id: 1, name: "assign", input: ["instance_of_struct"], assign: "THING_TO_COMPARE_AGAINST_0", scope: 0 }, Instruction { id: 3, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_0", "Struct::Variant1"], assign: "CONDITIONAL_JUMP_CHECK_2", scope: 0 }, Instruction { id: 9, name: "evaluate", input: ["equal_to", "THING_TO_COMPARE_AGAINST_0", "Struct::Variant2"], assign: "CONDITIONAL_JUMP_CHECK_8", scope: 0 }, Instruction { id: 5, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_2", "4"], assign: "", scope: 0 }, Instruction { id: 11, name: "jump", input: ["CONDITIONAL_JUMP_CHECK_8", "10"], assign: "", scope: 0 }, Instruction { id: 6, name: "print", input: ["\"Variant1\""], assign: "", scope: 4 }, Instruction { id: 7, name: "jump", input: ["0"], assign: "", scope: 4 }, Instruction { id: 12, name: "print", input: ["\"Variant2\""], assign: "", scope: 10 }, Instruction { id: 13, name: "jump", input: ["0"], assign: "", scope: 10 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d880600a7a5 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::h3e77389fd5f80d8e [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:103:9 [INFO] [stdout] 22: 0x5d880600a9b7 - rust_to_dtr::translate::expression::match_expression::tests::test_handle_match_expression::{{closure}}::h2066916a37527a4e [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/match_expression.rs:95:38 [INFO] [stdout] 23: 0x5d880600e3c6 - core::ops::function::FnOnce::call_once::h45635eea6ecb581d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression' (129) panicked at src/translate/expression/for_loop_expression.rs:325:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 10, name: "assign", input: ["0"], assign: "RANGE_START_8", scope: 0 }, Instruction { id: 12, name: "assign", input: ["10"], assign: "RANGE_END_9", scope: 0 }, Instruction { id: 1, name: "instantiate_object", input: ["Range", "RANGE_START_8", "RANGE_END_9"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 7, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "i", scope: 0 }, Instruction { id: 8, name: "end_of_iteration_check", input: ["i", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 14, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "12"], assign: "", scope: 0 }, Instruction { id: 27, name: "assign", input: ["1"], assign: "RANGE_START_23", scope: 12 }, Instruction { id: 30, name: "assign", input: ["5"], assign: "RANGE_END_25", scope: 12 }, Instruction { id: 32, name: "instantiate_object", input: ["Range", "RANGE_START_23", "RANGE_END_25"], assign: "ITERATOR_16", scope: 12 }, Instruction { id: 34, name: "evaluate", input: ["start", "ITERATOR_16"], assign: "j", scope: 12 }, Instruction { id: 35, name: "end_of_iteration_check", input: ["j", "ITERATOR_16"], assign: "CHECK_CONDITION_ASSIGNMENT_17", scope: 12 }, Instruction { id: 38, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_17", "37"], assign: "", scope: 12 }, Instruction { id: 43, name: "print", input: ["\"{} {}\"", "i", "j"], assign: "", scope: 37 }, Instruction { id: 46, name: "increment", input: ["j", "ITERATOR_16"], assign: "", scope: 37 }, Instruction { id: 47, name: "goto", input: ["35"], assign: "", scope: 37 }, Instruction { id: 48, name: "print", input: ["\"{}\"", "i"], assign: "", scope: 12 }, Instruction { id: 49, name: "increment", input: ["i", "ITERATOR_0"], assign: "", scope: 12 }, Instruction { id: 50, name: "goto", input: ["8"], assign: "", scope: 12 }] [INFO] [stdout] right: [Instruction { id: 4, name: "assign", input: ["0"], assign: "RANGE_START_2", scope: 0 }, Instruction { id: 5, name: "assign", input: ["10"], assign: "RANGE_END_3", scope: 0 }, Instruction { id: 6, name: "instantiate_object", input: ["Range", "RANGE_START_2", "RANGE_END_3"], assign: "ITERATOR_0", scope: 0 }, Instruction { id: 7, name: "evaluate", input: ["start", "ITERATOR_0"], assign: "i", scope: 0 }, Instruction { id: 8, name: "end_of_iteration_check", input: ["i", "ITERATOR_0"], assign: "CHECK_CONDITION_ASSIGNMENT_1", scope: 0 }, Instruction { id: 10, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_1", "9"], assign: "", scope: 0 }, Instruction { id: 15, name: "assign", input: ["1"], assign: "RANGE_START_13", scope: 9 }, Instruction { id: 16, name: "assign", input: ["5"], assign: "RANGE_END_14", scope: 9 }, Instruction { id: 17, name: "instantiate_object", input: ["Range", "RANGE_START_13", "RANGE_END_14"], assign: "ITERATOR_11", scope: 9 }, Instruction { id: 18, name: "evaluate", input: ["start", "ITERATOR_11"], assign: "j", scope: 9 }, Instruction { id: 19, name: "end_of_iteration_check", input: ["j", "ITERATOR_11"], assign: "CHECK_CONDITION_ASSIGNMENT_12", scope: 9 }, Instruction { id: 21, name: "jump", input: ["CHECK_CONDITION_ASSIGNMENT_12", "20"], assign: "", scope: 9 }, Instruction { id: 22, name: "print", input: ["\"{} {}\"", "i", "j"], assign: "", scope: 20 }, Instruction { id: 23, name: "increment", input: ["j", "ITERATOR_11"], assign: "", scope: 20 }, Instruction { id: 24, name: "goto", input: ["19"], assign: "", scope: 20 }, Instruction { id: 25, name: "print", input: ["\"{}\"", "i"], assign: "", scope: 9 }, Instruction { id: 26, name: "increment", input: ["i", "ITERATOR_0"], assign: "", scope: 9 }, Instruction { id: 27, name: "goto", input: ["8"], assign: "", scope: 9 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f95cd2 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression::h02bc5cfed81eb733 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:325:9 [INFO] [stdout] 22: 0x5d8805f96077 - rust_to_dtr::translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression::{{closure}}::hb8171827f1aef48c [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/for_loop_expression.rs:312:48 [INFO] [stdout] 23: 0x5d880600d4d6 - core::ops::function::FnOnce::call_once::h05b96293b84ee2ce [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_account stdout ---- [INFO] [stdout] DTR Code: [Contract]: AccountContract [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [init] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] signers: List [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 } [INFO] [stdout] { id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 } [INFO] [stdout] { id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 } [INFO] [stdout] { id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 8 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 8 } [INFO] [stdout] { id: 17, instruction: evaluate, input: (&, DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 } [INFO] [stdout] { id: 21, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_18, scope: 8 } [INFO] [stdout] { id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_18), scope: 8 } [INFO] [stdout] { id: 30, instruction: increment, input: (signer, ITERATOR_1), scope: 8 } [INFO] [stdout] { id: 31, instruction: goto, input: (7), scope: 8 } [INFO] [stdout] { id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.instance), assign: METHOD_CALL_EXPRESSION_42, scope: 0 } [INFO] [stdout] { id: 41, instruction: evaluate, input: (&, signers.len), assign: METHOD_CALL_ARG_2_36, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.set, &, DataKey::SignerCnt, METHOD_CALL_ARG_2_36), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [add_limit] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] token: Address [INFO] [stdout] limit: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 39, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_36, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.require_auth), scope: 0 } [INFO] [stdout] { id: 57, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_54, scope: 0 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.instance), assign: METHOD_CALL_EXPRESSION_53, scope: 0 } [INFO] [stdout] { id: 48, instruction: evaluate, input: (&, DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_41, scope: 0 } [INFO] [stdout] { id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_53.set, METHOD_CALL_ARG_1_41, &, limit), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]:* (AccSignature_STRUCT) [INFO] [stdout] { [INFO] [stdout] public_key: ByteStringSmall [INFO] [stdout] signature: ByteStringLarge [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] SignerCnt: () [INFO] [stdout] Signer: (ByteStringSmall) [INFO] [stdout] SpendLimit: (Address) [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] * (AccError_ENUM) [INFO] [stdout] { [INFO] [stdout] NotEnoughSigners = 1 [INFO] [stdout] NegativeAmount = 2 [INFO] [stdout] BadSignatureOrder = 3 [INFO] [stdout] UnknownSigner = 4 [INFO] [stdout] InvalidContext = 5 [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [State]: [INFO] [stdout] * [TRANSFER_FN] [INFO] [stdout] * Type: String [INFO] [stdout] * Initial Value: "transfer" [INFO] [stdout] :[State] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [authenticate] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] signature_payload: &ByteStringSmall [INFO] [stdout] signatures: &List [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 } [INFO] [stdout] { id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 } [INFO] [stdout] { id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 } [INFO] [stdout] { id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 } [INFO] [stdout] { id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 } [INFO] [stdout] { id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 } [INFO] [stdout] { id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 } [INFO] [stdout] { id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 } [INFO] [stdout] { id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 } [INFO] [stdout] { id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 } [INFO] [stdout] { id: 58, instruction: jump, input: (12), scope: 25 } [INFO] [stdout] { id: 78, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_75, scope: 12 } [INFO] [stdout] { id: 79, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.instance), assign: METHOD_CALL_EXPRESSION_74, scope: 12 } [INFO] [stdout] { id: 70, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_64, scope: 12 } [INFO] [stdout] { id: 73, instruction: evaluate, input: (&, DataKey::Signer, CALL_EXPRESSION_ARG_1_64), assign: METHOD_CALL_ARG_1_61, scope: 12 } [INFO] [stdout] { id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_74.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 } [INFO] [stdout] { id: 81, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 } [INFO] [stdout] { id: 83, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 82), scope: 12 } [INFO] [stdout] { id: 89, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_84, scope: 82 } [INFO] [stdout] { id: 90, instruction: return, input: (RETURN_VALUE_LABEL_84), scope: 82 } [INFO] [stdout] { id: 117, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_114, scope: 12 } [INFO] [stdout] { id: 105, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_102, scope: 12 } [INFO] [stdout] { id: 106, instruction: evaluate, input: (&, METHOD_CALL_EXPRESSION_102.into), assign: METHOD_CALL_ARG_2_99, scope: 12 } [INFO] [stdout] { id: 118, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.ed25519_verify, &signature.public_key, METHOD_CALL_ARG_2_99, &signature.signature), assign: Thing_to_return, scope: 12 } [INFO] [stdout] { id: 119, instruction: increment, input: (i, ITERATOR_1), scope: 12 } [INFO] [stdout] { id: 120, instruction: goto, input: (11), scope: 12 } [INFO] [stdout] { id: 122, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_121, scope: 0 } [INFO] [stdout] { id: 126, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_121), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [verify_authorization_policy] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: &Env [INFO] [stdout] context: &Context [INFO] [stdout] curr_contract: &Address [INFO] [stdout] all_signed: Boolean [INFO] [stdout] spend_left_per_token: &Dictionary [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 } [INFO] [stdout] { id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 } [INFO] [stdout] { id: 37, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_36, scope: 0 } [INFO] [stdout] { id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 } [INFO] [stdout] { id: 39, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_36, 38), scope: 0 } [INFO] [stdout] { id: 16, instruction: evaluate, input: (equal_to, &c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 } [INFO] [stdout] { id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 17), scope: 4 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 17 } [INFO] [stdout] { id: 24, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 23), scope: 17 } [INFO] [stdout] { id: 30, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_25, scope: 23 } [INFO] [stdout] { id: 31, instruction: return, input: (RETURN_VALUE_LABEL_25), scope: 23 } [INFO] [stdout] { id: 33, instruction: jump, input: (4), scope: 17 } [INFO] [stdout] { id: 35, instruction: jump, input: (0), scope: 4 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_40, scope: 38 } [INFO] [stdout] { id: 46, instruction: return, input: (RETURN_VALUE_LABEL_40), scope: 38 } [INFO] [stdout] { id: 58, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 } [INFO] [stdout] { id: 71, instruction: evaluate, input: (Symbol::new, env, "approve"), assign: BINARY_EXPRESSION_RIGHT_60, scope: 0 } [INFO] [stdout] { id: 72, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_60), assign: BINARY_EXPRESSION_RIGHT_50, scope: 0 } [INFO] [stdout] { id: 73, instruction: and, input: (BINARY_EXPRESSION_LEFT_49, BINARY_EXPRESSION_RIGHT_50), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 } [INFO] [stdout] { id: 75, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 74), scope: 0 } [INFO] [stdout] { id: 78, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_77, scope: 74 } [INFO] [stdout] { id: 82, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_77), assign: RETURN_VALUE_LABEL_76, scope: 74 } [INFO] [stdout] { id: 83, instruction: return, input: (RETURN_VALUE_LABEL_76), scope: 74 } [INFO] [stdout] { id: 93, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_87, scope: 0 } [INFO] [stdout] { id: 96, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_87), assign: INPUT_VALUE_NAME_FOR_LET_86, scope: 0 } [INFO] [stdout] { id: 97, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_86, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_85, scope: 0 } [INFO] [stdout] { id: 99, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_85, 98), scope: 0 } [INFO] [stdout] { id: 107, instruction: jump, input: (106), scope: 0 } [INFO] [stdout] { id: 104, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 98 } [INFO] [stdout] { id: 105, instruction: jump, input: (0), scope: 98 } [INFO] [stdout] { id: 127, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_124, scope: 106 } [INFO] [stdout] { id: 128, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_124.instance), assign: METHOD_CALL_EXPRESSION_123, scope: 106 } [INFO] [stdout] { id: 119, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_113, scope: 106 } [INFO] [stdout] { id: 122, instruction: evaluate, input: (&, DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_113), assign: METHOD_CALL_ARG_1_110, scope: 106 } [INFO] [stdout] { id: 129, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_123.get, METHOD_CALL_ARG_1_110), assign: INPUT_VALUE_NAME_FOR_LET_109, scope: 106 } [INFO] [stdout] { id: 130, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_109, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_108, scope: 106 } [INFO] [stdout] { id: 132, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_108, 131), scope: 106 } [INFO] [stdout] { id: 140, instruction: jump, input: (139), scope: 106 } [INFO] [stdout] { id: 137, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 131 } [INFO] [stdout] { id: 138, instruction: jump, input: (106), scope: 131 } [INFO] [stdout] { id: 141, instruction: assign, input: (None), assign: spend_left|||Option, scope: 139 } [INFO] [stdout] { id: 142, instruction: jump, input: (106), scope: 139 } [INFO] [stdout] { id: 143, instruction: jump, input: (0), scope: 106 } [INFO] [stdout] { id: 147, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_144, scope: 0 } [INFO] [stdout] { id: 149, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_144, 148), scope: 0 } [INFO] [stdout] { id: 162, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_154, scope: 148 } [INFO] [stdout] { id: 163, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_154.unwrap), assign: METHOD_CALL_EXPRESSION_153, scope: 148 } [INFO] [stdout] { id: 164, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_153.try_into_val, env), assign: METHOD_CALL_EXPRESSION_150, scope: 148 } [INFO] [stdout] { id: 165, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: spent|||BigInteger, scope: 148 } [INFO] [stdout] { id: 171, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_166, scope: 148 } [INFO] [stdout] { id: 173, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_166, 172), scope: 148 } [INFO] [stdout] { id: 179, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_174, scope: 172 } [INFO] [stdout] { id: 180, instruction: return, input: (RETURN_VALUE_LABEL_174), scope: 172 } [INFO] [stdout] { id: 187, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_183, scope: 148 } [INFO] [stdout] { id: 192, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_184, scope: 148 } [INFO] [stdout] { id: 193, instruction: and, input: (BINARY_EXPRESSION_LEFT_183, BINARY_EXPRESSION_RIGHT_184), assign: CONDITIONAL_JUMP_ASSIGNMENT_182, scope: 148 } [INFO] [stdout] { id: 195, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_182, 194), scope: 148 } [INFO] [stdout] { id: 201, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_196, scope: 194 } [INFO] [stdout] { id: 202, instruction: return, input: (RETURN_VALUE_LABEL_196), scope: 194 } [INFO] [stdout] { id: 210, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_204, scope: 148 } [INFO] [stdout] { id: 216, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_211, scope: 148 } [INFO] [stdout] { id: 219, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_204, METHOD_CALL_ARG_2_211), assign: Thing_to_return, scope: 148 } [INFO] [stdout] { id: 220, instruction: jump, input: (0), scope: 148 } [INFO] [stdout] { id: 222, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_221, scope: 0 } [INFO] [stdout] { id: 226, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_221), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Implementations]: [INFO] [stdout] [INFO] [stdout] -->(CustomAccountInterface)<-- [INFO] [stdout] -() [__check_auth] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] env: Env [INFO] [stdout] signature_payload: ByteStringSmall [INFO] [stdout] signatures: List [INFO] [stdout] auth_context: List [INFO] [stdout] } [INFO] [stdout] * Output: Result<(), AccError> [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 15, instruction: evaluate, input: (authenticate, &, env, &, signature_payload, &, signatures), scope: 0 } [INFO] [stdout] { id: 25, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_22, scope: 0 } [INFO] [stdout] { id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.instance), assign: METHOD_CALL_EXPRESSION_21, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.get, &, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_16, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.unwrap), assign: tot_signers|||Integer, scope: 0 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_30, scope: 0 } [INFO] [stdout] { id: 35, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_30), assign: all_signed, scope: 0 } [INFO] [stdout] { id: 38, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 } [INFO] [stdout] { id: 45, instruction: evaluate, input: (Map::new, &, env), assign: spend_left_per_token, scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_46, scope: 0 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (start, ITERATOR_46), assign: context, scope: 0 } [INFO] [stdout] { id: 52, instruction: end_of_iteration_check, input: (context, ITERATOR_46), assign: CHECK_CONDITION_ASSIGNMENT_47, scope: 0 } [INFO] [stdout] { id: 54, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_47, 53), scope: 0 } [INFO] [stdout] { id: 75, instruction: evaluate, input: (verify_authorization_policy, &, env, &, context, &, curr_contract, all_signed, &, spend_left_per_token), assign: Thing_to_return, scope: 53 } [INFO] [stdout] { id: 76, instruction: increment, input: (context, ITERATOR_46), scope: 53 } [INFO] [stdout] { id: 77, instruction: goto, input: (52), scope: 53 } [INFO] [stdout] { id: 79, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_78, scope: 0 } [INFO] [stdout] { id: 83, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_78), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Implementations] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_account' (86) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: AccountContract[Interface]:-() [init]* Inputs:{env: Envsigners: List}* Instructions:${ id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 }{ id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 }{ id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 }{ id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 8 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 8 }{ id: 17, instruction: evaluate, input: (&, DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 21, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_18, scope: 8 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_18), scope: 8 }{ id: 30, instruction: increment, input: (signer, ITERATOR_1), scope: 8 }{ id: 31, instruction: goto, input: (7), scope: 8 }{ id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.instance), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 41, instruction: evaluate, input: (&, signers.len), assign: METHOD_CALL_ARG_2_36, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.set, &, DataKey::SignerCnt, METHOD_CALL_ARG_2_36), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 39, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_36, scope: 0 }{ id: 40, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_36.require_auth), scope: 0 }{ id: 57, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_54, scope: 0 }{ id: 58, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_54.instance), assign: METHOD_CALL_EXPRESSION_53, scope: 0 }{ id: 48, instruction: evaluate, input: (&, DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_41, scope: 0 }{ id: 59, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_53.set, METHOD_CALL_ARG_1_41, &, limit), scope: 0 }$:[Interface][User Defined Types]:* (AccSignature_STRUCT){public_key: ByteStringSmallsignature: ByteStringLarge}* (DataKey_ENUM){SignerCnt: ()Signer: (ByteStringSmall)SpendLimit: (Address)}* (AccError_ENUM){NotEnoughSigners = 1NegativeAmount = 2BadSignatureOrder = 3UnknownSigner = 4InvalidContext = 5}:[User Defined Types][State]:* [TRANSFER_FN]* Type: String* Initial Value: \"transfer\":[State][Helpers]:-() [authenticate]* Inputs:{env: &Envsignature_payload: &ByteStringSmallsignatures: &List}* Output: Result<(), AccError>* Instructions:${ id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 }{ id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 }{ id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 }{ id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 }{ id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 }{ id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 }{ id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 }{ id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 }{ id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 }{ id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 }{ id: 58, instruction: jump, input: (12), scope: 25 }{ id: 78, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_75, scope: 12 }{ id: 79, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.instance), assign: METHOD_CALL_EXPRESSION_74, scope: 12 }{ id: 70, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_64, scope: 12 }{ id: 73, instruction: evaluate, input: (&, DataKey::Signer, CALL_EXPRESSION_ARG_1_64), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_74.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 81, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 83, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 82), scope: 12 }{ id: 89, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_84, scope: 82 }{ id: 90, instruction: return, input: (RETURN_VALUE_LABEL_84), scope: 82 }{ id: 117, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_114, scope: 12 }{ id: 105, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_102, scope: 12 }{ id: 106, instruction: evaluate, input: (&, METHOD_CALL_EXPRESSION_102.into), assign: METHOD_CALL_ARG_2_99, scope: 12 }{ id: 118, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.ed25519_verify, &signature.public_key, METHOD_CALL_ARG_2_99, &signature.signature), assign: Thing_to_return, scope: 12 }{ id: 119, instruction: increment, input: (i, ITERATOR_1), scope: 12 }{ id: 120, instruction: goto, input: (11), scope: 12 }{ id: 122, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_121, scope: 0 }{ id: 126, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_121), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [verify_authorization_policy]* Inputs:{env: &Envcontext: &Contextcurr_contract: &Addressall_signed: Booleanspend_left_per_token: &Dictionary}* Output: Result<(), AccError>* Instructions:${ id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 }{ id: 37, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_36, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 39, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_36, 38), scope: 0 }{ id: 16, instruction: evaluate, input: (equal_to, &c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 17), scope: 4 }{ id: 22, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 17 }{ id: 24, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 23), scope: 17 }{ id: 30, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_25, scope: 23 }{ id: 31, instruction: return, input: (RETURN_VALUE_LABEL_25), scope: 23 }{ id: 33, instruction: jump, input: (4), scope: 17 }{ id: 35, instruction: jump, input: (0), scope: 4 }{ id: 45, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_40, scope: 38 }{ id: 46, instruction: return, input: (RETURN_VALUE_LABEL_40), scope: 38 }{ id: 58, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 }{ id: 71, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_60, scope: 0 }{ id: 72, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_60), assign: BINARY_EXPRESSION_RIGHT_50, scope: 0 }{ id: 73, instruction: and, input: (BINARY_EXPRESSION_LEFT_49, BINARY_EXPRESSION_RIGHT_50), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 }{ id: 75, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 74), scope: 0 }{ id: 78, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_77, scope: 74 }{ id: 82, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_77), assign: RETURN_VALUE_LABEL_76, scope: 74 }{ id: 83, instruction: return, input: (RETURN_VALUE_LABEL_76), scope: 74 }{ id: 93, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_87, scope: 0 }{ id: 96, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_87), assign: INPUT_VALUE_NAME_FOR_LET_86, scope: 0 }{ id: 97, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_86, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_85, scope: 0 }{ id: 99, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_85, 98), scope: 0 }{ id: 107, instruction: jump, input: (106), scope: 0 }{ id: 104, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 98 }{ id: 105, instruction: jump, input: (0), scope: 98 }{ id: 127, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_124, scope: 106 }{ id: 128, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_124.instance), assign: METHOD_CALL_EXPRESSION_123, scope: 106 }{ id: 119, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_113, scope: 106 }{ id: 122, instruction: evaluate, input: (&, DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_113), assign: METHOD_CALL_ARG_1_110, scope: 106 }{ id: 129, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_123.get, METHOD_CALL_ARG_1_110), assign: INPUT_VALUE_NAME_FOR_LET_109, scope: 106 }{ id: 130, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_109, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_108, scope: 106 }{ id: 132, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_108, 131), scope: 106 }{ id: 140, instruction: jump, input: (139), scope: 106 }{ id: 137, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 131 }{ id: 138, instruction: jump, input: (106), scope: 131 }{ id: 141, instruction: assign, input: (None), assign: spend_left|||Option, scope: 139 }{ id: 142, instruction: jump, input: (106), scope: 139 }{ id: 143, instruction: jump, input: (0), scope: 106 }{ id: 147, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_144, scope: 0 }{ id: 149, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_144, 148), scope: 0 }{ id: 162, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_154, scope: 148 }{ id: 163, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_154.unwrap), assign: METHOD_CALL_EXPRESSION_153, scope: 148 }{ id: 164, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_153.try_into_val, env), assign: METHOD_CALL_EXPRESSION_150, scope: 148 }{ id: 165, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: spent|||BigInteger, scope: 148 }{ id: 171, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_166, scope: 148 }{ id: 173, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_166, 172), scope: 148 }{ id: 179, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_174, scope: 172 }{ id: 180, instruction: return, input: (RETURN_VALUE_LABEL_174), scope: 172 }{ id: 187, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_183, scope: 148 }{ id: 192, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_184, scope: 148 }{ id: 193, instruction: and, input: (BINARY_EXPRESSION_LEFT_183, BINARY_EXPRESSION_RIGHT_184), assign: CONDITIONAL_JUMP_ASSIGNMENT_182, scope: 148 }{ id: 195, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_182, 194), scope: 148 }{ id: 201, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_196, scope: 194 }{ id: 202, instruction: return, input: (RETURN_VALUE_LABEL_196), scope: 194 }{ id: 210, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_204, scope: 148 }{ id: 216, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_211, scope: 148 }{ id: 219, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_204, METHOD_CALL_ARG_2_211), assign: Thing_to_return, scope: 148 }{ id: 220, instruction: jump, input: (0), scope: 148 }{ id: 222, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_221, scope: 0 }{ id: 226, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_221), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][Implementations]:-->(CustomAccountInterface)<---() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignatures: Listauth_context: List}* Output: Result<(), AccError>* Instructions:${ id: 15, instruction: evaluate, input: (authenticate, &, env, &, signature_payload, &, signatures), scope: 0 }{ id: 25, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.instance), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.get, &, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 34, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_30, scope: 0 }{ id: 35, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_30), assign: all_signed, scope: 0 }{ id: 38, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 45, instruction: evaluate, input: (Map::new, &, env), assign: spend_left_per_token, scope: 0 }{ id: 50, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_46, scope: 0 }{ id: 51, instruction: evaluate, input: (start, ITERATOR_46), assign: context, scope: 0 }{ id: 52, instruction: end_of_iteration_check, input: (context, ITERATOR_46), assign: CHECK_CONDITION_ASSIGNMENT_47, scope: 0 }{ id: 54, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_47, 53), scope: 0 }{ id: 75, instruction: evaluate, input: (verify_authorization_policy, &, env, &, context, &, curr_contract, all_signed, &, spend_left_per_token), assign: Thing_to_return, scope: 53 }{ id: 76, instruction: increment, input: (context, ITERATOR_46), scope: 53 }{ id: 77, instruction: goto, input: (52), scope: 53 }{ id: 79, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_78, scope: 0 }{ id: 83, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_78), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Implementations]" [INFO] [stdout] right: "[Contract]: AccountContract[Interface]:-() [init]* Inputs:{env: Envsigners: List}* Instructions:${ id: 5, instruction: evaluate, input: (signers.iter), assign: ITERATOR_1, scope: 0 }{ id: 6, instruction: evaluate, input: (start, ITERATOR_1), assign: signer, scope: 0 }{ id: 7, instruction: end_of_iteration_check, input: (signer, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 9, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 8), scope: 0 }{ id: 27, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_24, scope: 8 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_24.instance), assign: METHOD_CALL_EXPRESSION_23, scope: 8 }{ id: 17, instruction: evaluate, input: (&, DataKey::Signer, signer), assign: METHOD_CALL_ARG_1_10, scope: 8 }{ id: 21, instruction: instantiate_object, input: (&, Tuple), assign: METHOD_CALL_ARG_2_18, scope: 8 }{ id: 29, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_23.set, METHOD_CALL_ARG_1_10, METHOD_CALL_ARG_2_18), scope: 8 }{ id: 30, instruction: increment, input: (signer, ITERATOR_1), scope: 8 }{ id: 31, instruction: goto, input: (7), scope: 8 }{ id: 46, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_43, scope: 0 }{ id: 47, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_43.instance), assign: METHOD_CALL_EXPRESSION_42, scope: 0 }{ id: 41, instruction: evaluate, input: (&, signers.len), assign: METHOD_CALL_ARG_2_36, scope: 0 }{ id: 48, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_42.set, &, DataKey::SignerCnt, METHOD_CALL_ARG_2_36), scope: 0 }$-() [add_limit]* Inputs:{env: Envtoken: Addresslimit: BigInteger}* Instructions:${ id: 52, instruction: evaluate, input: (env.current_contract_address), assign: METHOD_CALL_EXPRESSION_49, scope: 0 }{ id: 53, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_49.require_auth), scope: 0 }{ id: 70, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_67, scope: 0 }{ id: 71, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_67.instance), assign: METHOD_CALL_EXPRESSION_66, scope: 0 }{ id: 61, instruction: evaluate, input: (&, DataKey::SpendLimit, token), assign: METHOD_CALL_ARG_1_54, scope: 0 }{ id: 72, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_66.set, METHOD_CALL_ARG_1_54, &, limit), scope: 0 }$:[Interface][User Defined Types]:* (AccSignature_STRUCT){public_key: ByteStringSmallsignature: ByteStringLarge}* (DataKey_ENUM){SignerCnt: ()Signer: (ByteStringSmall)SpendLimit: (Address)}* (AccError_ENUM){NotEnoughSigners = 1NegativeAmount = 2BadSignatureOrder = 3UnknownSigner = 4InvalidContext = 5}:[User Defined Types][State]:* [TRANSFER_FN]* Type: String* Initial Value: \"transfer\":[State][Helpers]:-() [authenticate]* Inputs:{env: &Envsignature_payload: &ByteStringSmallsignatures: &List}* Output: Result<(), AccError>* Instructions:${ id: 8, instruction: evaluate, input: (signatures.len), assign: RANGE_END_4, scope: 0 }{ id: 9, instruction: instantiate_object, input: (Range, 0, RANGE_END_4), assign: ITERATOR_1, scope: 0 }{ id: 10, instruction: evaluate, input: (start, ITERATOR_1), assign: i, scope: 0 }{ id: 11, instruction: end_of_iteration_check, input: (i, ITERATOR_1), assign: CHECK_CONDITION_ASSIGNMENT_2, scope: 0 }{ id: 13, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_2, 12), scope: 0 }{ id: 18, instruction: evaluate, input: (signatures.get_unchecked, i), assign: signature, scope: 12 }{ id: 24, instruction: evaluate, input: (greater_than, i, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 12 }{ id: 26, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 25), scope: 12 }{ id: 32, instruction: subtract, input: (i, 1), assign: METHOD_CALL_ARG_1_27, scope: 25 }{ id: 35, instruction: evaluate, input: (signatures.get_unchecked, METHOD_CALL_ARG_1_27), assign: prev_signature, scope: 25 }{ id: 47, instruction: evaluate, input: (greater_than_or_equal_to, prev_signature.public_key, signature.public_key), assign: CONDITIONAL_JUMP_ASSIGNMENT_36, scope: 25 }{ id: 49, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_36, 48), scope: 25 }{ id: 55, instruction: evaluate, input: (Err, AccError::BadSignatureOrder), assign: RETURN_VALUE_LABEL_50, scope: 48 }{ id: 56, instruction: return, input: (RETURN_VALUE_LABEL_50), scope: 48 }{ id: 58, instruction: jump, input: (12), scope: 25 }{ id: 78, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_75, scope: 12 }{ id: 79, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_75.instance), assign: METHOD_CALL_EXPRESSION_74, scope: 12 }{ id: 70, instruction: evaluate, input: (signature.public_key.clone), assign: CALL_EXPRESSION_ARG_1_64, scope: 12 }{ id: 73, instruction: evaluate, input: (&, DataKey::Signer, CALL_EXPRESSION_ARG_1_64), assign: METHOD_CALL_ARG_1_61, scope: 12 }{ id: 80, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_74.has, METHOD_CALL_ARG_1_61), assign: UNARY_ARGUMENT_60, scope: 12 }{ id: 81, instruction: evaluate, input: (!, UNARY_ARGUMENT_60), assign: CONDITIONAL_JUMP_ASSIGNMENT_59, scope: 12 }{ id: 83, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_59, 82), scope: 12 }{ id: 89, instruction: evaluate, input: (Err, AccError::UnknownSigner), assign: RETURN_VALUE_LABEL_84, scope: 82 }{ id: 90, instruction: return, input: (RETURN_VALUE_LABEL_84), scope: 82 }{ id: 117, instruction: evaluate, input: (env.crypto), assign: METHOD_CALL_EXPRESSION_114, scope: 12 }{ id: 105, instruction: evaluate, input: (signature_payload.clone), assign: METHOD_CALL_EXPRESSION_102, scope: 12 }{ id: 106, instruction: evaluate, input: (&, METHOD_CALL_EXPRESSION_102.into), assign: METHOD_CALL_ARG_2_99, scope: 12 }{ id: 118, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_114.ed25519_verify, &signature.public_key, METHOD_CALL_ARG_2_99, &signature.signature), assign: Thing_to_return, scope: 12 }{ id: 119, instruction: increment, input: (i, ITERATOR_1), scope: 12 }{ id: 120, instruction: goto, input: (11), scope: 12 }{ id: 122, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_121, scope: 0 }{ id: 126, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_121), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [verify_authorization_policy]* Inputs:{env: &Envcontext: &Contextcurr_contract: &Addressall_signed: Booleanspend_left_per_token: &Dictionary}* Output: Result<(), AccError>* Instructions:${ id: 1, instruction: assign, input: (context), assign: THING_TO_COMPARE_AGAINST_0, scope: 0 }{ id: 3, instruction: evaluate, input: (equal_to, context, Context::Contract(c)), assign: CONDITIONAL_JUMP_CHECK_2, scope: 0 }{ id: 37, instruction: evaluate, input: (equal_to, THING_TO_COMPARE_AGAINST_0, Context::CreateContractHostFn(_)), assign: CONDITIONAL_JUMP_CHECK_36, scope: 0 }{ id: 5, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_2, 4), scope: 0 }{ id: 39, instruction: jump, input: (CONDITIONAL_JUMP_CHECK_36, 38), scope: 0 }{ id: 16, instruction: evaluate, input: (equal_to, &c.contract, curr_contract), assign: CONDITIONAL_JUMP_ASSIGNMENT_6, scope: 4 }{ id: 18, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_6, 17), scope: 4 }{ id: 22, instruction: evaluate, input: (!, all_signed), assign: CONDITIONAL_JUMP_ASSIGNMENT_19, scope: 17 }{ id: 24, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_19, 23), scope: 17 }{ id: 30, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_25, scope: 23 }{ id: 31, instruction: return, input: (RETURN_VALUE_LABEL_25), scope: 23 }{ id: 33, instruction: jump, input: (4), scope: 17 }{ id: 35, instruction: jump, input: (0), scope: 4 }{ id: 45, instruction: evaluate, input: (Err, AccError::InvalidContext), assign: RETURN_VALUE_LABEL_40, scope: 38 }{ id: 46, instruction: return, input: (RETURN_VALUE_LABEL_40), scope: 38 }{ id: 58, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, TRANSFER_FN), assign: BINARY_EXPRESSION_LEFT_49, scope: 0 }{ id: 71, instruction: evaluate, input: (Symbol::new, env, \"approve\"), assign: BINARY_EXPRESSION_RIGHT_60, scope: 0 }{ id: 72, instruction: evaluate, input: (not_equal_to, contract_context.fn_name, BINARY_EXPRESSION_RIGHT_60), assign: BINARY_EXPRESSION_RIGHT_50, scope: 0 }{ id: 73, instruction: and, input: (BINARY_EXPRESSION_LEFT_49, BINARY_EXPRESSION_RIGHT_50), assign: CONDITIONAL_JUMP_ASSIGNMENT_48, scope: 0 }{ id: 75, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_48, 74), scope: 0 }{ id: 78, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_77, scope: 74 }{ id: 82, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_77), assign: RETURN_VALUE_LABEL_76, scope: 74 }{ id: 83, instruction: return, input: (RETURN_VALUE_LABEL_76), scope: 74 }{ id: 93, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_87, scope: 0 }{ id: 96, instruction: evaluate, input: (spend_left_per_token.get, METHOD_CALL_ARG_1_87), assign: INPUT_VALUE_NAME_FOR_LET_86, scope: 0 }{ id: 97, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_86, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_85, scope: 0 }{ id: 99, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_85, 98), scope: 0 }{ id: 107, instruction: jump, input: (106), scope: 0 }{ id: 104, instruction: evaluate, input: (Some, spend_left), assign: spend_left|||Option, scope: 98 }{ id: 105, instruction: jump, input: (0), scope: 98 }{ id: 127, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_124, scope: 106 }{ id: 128, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_124.instance), assign: METHOD_CALL_EXPRESSION_123, scope: 106 }{ id: 119, instruction: evaluate, input: (contract_context.contract.clone), assign: CALL_EXPRESSION_ARG_1_113, scope: 106 }{ id: 122, instruction: evaluate, input: (&, DataKey::SpendLimit, CALL_EXPRESSION_ARG_1_113), assign: METHOD_CALL_ARG_1_110, scope: 106 }{ id: 129, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_123.get, METHOD_CALL_ARG_1_110), assign: INPUT_VALUE_NAME_FOR_LET_109, scope: 106 }{ id: 130, instruction: try_assign, input: (INPUT_VALUE_NAME_FOR_LET_109, Some(limit_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_108, scope: 106 }{ id: 132, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_108, 131), scope: 106 }{ id: 140, instruction: jump, input: (139), scope: 106 }{ id: 137, instruction: evaluate, input: (Some, limit_left), assign: spend_left|||Option, scope: 131 }{ id: 138, instruction: jump, input: (106), scope: 131 }{ id: 141, instruction: assign, input: (None), assign: spend_left|||Option, scope: 139 }{ id: 142, instruction: jump, input: (106), scope: 139 }{ id: 143, instruction: jump, input: (0), scope: 106 }{ id: 147, instruction: try_assign, input: (spend_left, Some(spend_left)), assign: CONDITIONAL_JUMP_ASSIGNMENT_144, scope: 0 }{ id: 149, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_144, 148), scope: 0 }{ id: 162, instruction: evaluate, input: (contract_context.args.get, 2), assign: METHOD_CALL_EXPRESSION_154, scope: 148 }{ id: 163, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_154.unwrap), assign: METHOD_CALL_EXPRESSION_153, scope: 148 }{ id: 164, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_153.try_into_val, env), assign: METHOD_CALL_EXPRESSION_150, scope: 148 }{ id: 165, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_150.unwrap), assign: spent|||BigInteger, scope: 148 }{ id: 171, instruction: evaluate, input: (less_than, spent, 0), assign: CONDITIONAL_JUMP_ASSIGNMENT_166, scope: 148 }{ id: 173, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_166, 172), scope: 148 }{ id: 179, instruction: evaluate, input: (Err, AccError::NegativeAmount), assign: RETURN_VALUE_LABEL_174, scope: 172 }{ id: 180, instruction: return, input: (RETURN_VALUE_LABEL_174), scope: 172 }{ id: 187, instruction: evaluate, input: (!, all_signed), assign: BINARY_EXPRESSION_LEFT_183, scope: 148 }{ id: 192, instruction: evaluate, input: (greater_than, spent, spend_left), assign: BINARY_EXPRESSION_RIGHT_184, scope: 148 }{ id: 193, instruction: and, input: (BINARY_EXPRESSION_LEFT_183, BINARY_EXPRESSION_RIGHT_184), assign: CONDITIONAL_JUMP_ASSIGNMENT_182, scope: 148 }{ id: 195, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_182, 194), scope: 148 }{ id: 201, instruction: evaluate, input: (Err, AccError::NotEnoughSigners), assign: RETURN_VALUE_LABEL_196, scope: 194 }{ id: 202, instruction: return, input: (RETURN_VALUE_LABEL_196), scope: 194 }{ id: 210, instruction: evaluate, input: (contract_context.contract.clone), assign: METHOD_CALL_ARG_1_204, scope: 148 }{ id: 216, instruction: subtract, input: (spend_left, spent), assign: METHOD_CALL_ARG_2_211, scope: 148 }{ id: 219, instruction: evaluate, input: (spend_left_per_token.set, METHOD_CALL_ARG_1_204, METHOD_CALL_ARG_2_211), assign: Thing_to_return, scope: 148 }{ id: 220, instruction: jump, input: (0), scope: 148 }{ id: 222, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_221, scope: 0 }{ id: 226, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_221), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Helpers][Implementations]:-->(CustomAccountInterface)<---() [__check_auth]* Inputs:{env: Envsignature_payload: ByteStringSmallsignatures: Listauth_context: List}* Output: Result<(), AccError>* Instructions:${ id: 15, instruction: evaluate, input: (authenticate, &, env, &, signature_payload, &, signatures), scope: 0 }{ id: 25, instruction: evaluate, input: (env.storage), assign: METHOD_CALL_EXPRESSION_22, scope: 0 }{ id: 26, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_22.instance), assign: METHOD_CALL_EXPRESSION_21, scope: 0 }{ id: 27, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_21.get, &, DataKey::SignerCnt), assign: METHOD_CALL_EXPRESSION_16, scope: 0 }{ id: 28, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_16.unwrap), assign: tot_signers|||Integer, scope: 0 }{ id: 34, instruction: evaluate, input: (signatures.len), assign: BINARY_EXPRESSION_RIGHT_30, scope: 0 }{ id: 35, instruction: evaluate, input: (equal_to, tot_signers, BINARY_EXPRESSION_RIGHT_30), assign: all_signed, scope: 0 }{ id: 38, instruction: evaluate, input: (env.current_contract_address), assign: curr_contract, scope: 0 }{ id: 45, instruction: evaluate, input: (Map::new, &, env), assign: spend_left_per_token, scope: 0 }{ id: 50, instruction: evaluate, input: (auth_context.iter), assign: ITERATOR_46, scope: 0 }{ id: 51, instruction: evaluate, input: (start, ITERATOR_46), assign: context, scope: 0 }{ id: 52, instruction: end_of_iteration_check, input: (context, ITERATOR_46), assign: CHECK_CONDITION_ASSIGNMENT_47, scope: 0 }{ id: 54, instruction: jump, input: (CHECK_CONDITION_ASSIGNMENT_47, 53), scope: 0 }{ id: 75, instruction: evaluate, input: (verify_authorization_policy, &, env, &, context, &, curr_contract, all_signed, &, spend_left_per_token), assign: Thing_to_return, scope: 53 }{ id: 76, instruction: increment, input: (context, ITERATOR_46), scope: 53 }{ id: 77, instruction: goto, input: (52), scope: 53 }{ id: 79, instruction: instantiate_object, input: (Tuple), assign: CALL_EXPRESSION_ARG_1_78, scope: 0 }{ id: 83, instruction: evaluate, input: (Ok, CALL_EXPRESSION_ARG_1_78), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Implementations]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc8525 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::hc825de3a70f24204 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc8567 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_account::{{closure}}::h676f24430c096acd [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600dc56 - core::ops::function::FnOnce::call_once::h1fe67faaa4ca083f [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::method_call_expression::tests::test_handle_method_call_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::method_call_expression::tests::test_handle_method_call_expression' (147) panicked at src/translate/expression/method_call_expression.rs:93:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Instruction { id: 5, name: "assign", input: ["\"hello\""], assign: "METHOD_CALL_EXPRESSION_4", scope: 0 } [INFO] [stdout] right: Instruction { id: 6, name: "assign", input: ["\"hello\""], assign: "METHOD_CALL_EXPRESSION_5", scope: 0 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b886 - core::panicking::assert_failed::h4f3490fc5c9c34bc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f6a3a1 - rust_to_dtr::translate::expression::method_call_expression::tests::test_handle_method_call_expression::hb4b508c22c71fb13 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/method_call_expression.rs:93:9 [INFO] [stdout] 22: 0x5d8805f6b0d7 - rust_to_dtr::translate::expression::method_call_expression::tests::test_handle_method_call_expression::{{closure}}::h8e4d5ebece815e80 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/method_call_expression.rs:81:44 [INFO] [stdout] 23: 0x5d880600f2a6 - core::ops::function::FnOnce::call_once::h964db0a1937efc76 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::path_expression::tests::test_handle_path_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::path_expression::tests::test_handle_path_expression' (149) panicked at src/translate/expression/path_expression.rs:43:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 3, name: "assign", input: ["Struct"], assign: "SomeAssignment", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 0, name: "assign", input: ["Struct"], assign: "SomeAssignment", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f73d65 - rust_to_dtr::translate::expression::path_expression::tests::test_handle_path_expression::h6a0695b1827692b6 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/path_expression.rs:43:9 [INFO] [stdout] 22: 0x5d8805f73e17 - rust_to_dtr::translate::expression::path_expression::tests::test_handle_path_expression::{{closure}}::h221e116a89c80b41 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/path_expression.rs:35:37 [INFO] [stdout] 23: 0x5d880600db66 - core::ops::function::FnOnce::call_once::h1cf40638272472e3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- tests::full_contract_tests::test_stellar_official_repo_examples_single_offer stdout ---- [INFO] [stdout] DTR Code: [Contract]: SingleOffer [INFO] [stdout] [INFO] [stdout] [Interface]: [INFO] [stdout] -() [create] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] seller: Address [INFO] [stdout] sell_token: Address [INFO] [stdout] buy_token: Address [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 } [INFO] [stdout] { id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 } [INFO] [stdout] { id: 14, instruction: exit_with_message, input: ("offer is already created"), scope: 12 } [INFO] [stdout] { id: 23, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_17, scope: 0 } [INFO] [stdout] { id: 28, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_18, scope: 0 } [INFO] [stdout] { id: 29, instruction: or, input: (BINARY_EXPRESSION_LEFT_17, BINARY_EXPRESSION_RIGHT_18), assign: CONDITIONAL_JUMP_ASSIGNMENT_16, scope: 0 } [INFO] [stdout] { id: 31, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_16, 30), scope: 0 } [INFO] [stdout] { id: 32, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 30 } [INFO] [stdout] { id: 36, instruction: evaluate, input: (seller.require_auth), scope: 0 } [INFO] [stdout] { id: 49, instruction: instantiate_object, input: (&, UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_41, scope: 0 } [INFO] [stdout] { id: 53, instruction: evaluate, input: (write_offer, &, e, CALL_EXPRESSION_ARG_2_41), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [trade] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] buyer: Address [INFO] [stdout] buy_token_amount: BigInteger [INFO] [stdout] min_sell_token_amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 129, instruction: evaluate, input: (buyer.require_auth), scope: 0 } [INFO] [stdout] { id: 136, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 150, instruction: evaluate, input: (token::Client::new, &, e, &offer.sell_token), assign: sell_token_client, scope: 0 } [INFO] [stdout] { id: 164, instruction: evaluate, input: (token::Client::new, &, e, &offer.buy_token), assign: buy_token_client, scope: 0 } [INFO] [stdout] { id: 175, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_167, scope: 0 } [INFO] [stdout] { id: 176, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_167.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_165, scope: 0 } [INFO] [stdout] { id: 181, instruction: divide, input: (BINARY_EXPRESSION_LEFT_165, offer.buy_price), assign: sell_token_amount, scope: 0 } [INFO] [stdout] { id: 2, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_182, scope: 0 } [INFO] [stdout] { id: 4, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_182, 3), scope: 0 } [INFO] [stdout] { id: 5, instruction: exit_with_message, input: ("price is too low"), scope: 3 } [INFO] [stdout] { id: 9, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 } [INFO] [stdout] { id: 31, instruction: evaluate, input: (buy_token_client.transfer, &, buyer, &, contract, &, buy_token_amount), scope: 0 } [INFO] [stdout] { id: 55, instruction: evaluate, input: (sell_token_client.transfer, &, contract, &, buyer, &, sell_token_amount), scope: 0 } [INFO] [stdout] { id: 84, instruction: evaluate, input: (buy_token_client.transfer, &, contract, &offer.seller, &, buy_token_amount), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [withdraw] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] token: Address [INFO] [stdout] amount: BigInteger [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 15, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 21, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 50, instruction: evaluate, input: (token::Client::new, &, e, &, token), assign: METHOD_CALL_EXPRESSION_39, scope: 0 } [INFO] [stdout] { id: 27, instruction: evaluate, input: (&, e.current_contract_address), assign: METHOD_CALL_ARG_1_22, scope: 0 } [INFO] [stdout] { id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.transfer, METHOD_CALL_ARG_1_22, &offer.seller, &, amount), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [updt_price] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 17, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_11, scope: 0 } [INFO] [stdout] { id: 22, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_12, scope: 0 } [INFO] [stdout] { id: 23, instruction: or, input: (BINARY_EXPRESSION_LEFT_11, BINARY_EXPRESSION_RIGHT_12), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 } [INFO] [stdout] { id: 25, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 24), scope: 0 } [INFO] [stdout] { id: 26, instruction: exit_with_message, input: ("zero price is not allowed"), scope: 24 } [INFO] [stdout] { id: 34, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 } [INFO] [stdout] { id: 40, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 } [INFO] [stdout] { id: 48, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 } [INFO] [stdout] { id: 56, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 } [INFO] [stdout] { id: 67, instruction: evaluate, input: (write_offer, &, e, &, offer), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [get_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: Env [INFO] [stdout] } [INFO] [stdout] * Output: Offer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (load_offer, &, e), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] :[Interface] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [User Defined Types]: [INFO] [stdout] * (DataKey_ENUM) [INFO] [stdout] { [INFO] [stdout] Offer: () [INFO] [stdout] } [INFO] [stdout] * (Offer_STRUCT) [INFO] [stdout] { [INFO] [stdout] seller: Address [INFO] [stdout] sell_token: Address [INFO] [stdout] buy_token: Address [INFO] [stdout] sell_price: Integer [INFO] [stdout] buy_price: Integer [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] :[User Defined Types] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [Helpers]: [INFO] [stdout] -() [load_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: &Env [INFO] [stdout] } [INFO] [stdout] * Output: Offer [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, &, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 } [INFO] [stdout] { id: 0, instruction: return, input: (Thing_to_return), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] -() [write_offer] [INFO] [stdout] * Inputs: [INFO] [stdout] { [INFO] [stdout] e: &Env [INFO] [stdout] offer: &Offer [INFO] [stdout] } [INFO] [stdout] * Instructions: [INFO] [stdout] $ [INFO] [stdout] { id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 } [INFO] [stdout] { id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 } [INFO] [stdout] { id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.set, &, DataKey::Offer, offer), scope: 0 } [INFO] [stdout] $ [INFO] [stdout] [INFO] [stdout] :[Helpers] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] thread 'tests::full_contract_tests::test_stellar_official_repo_examples_single_offer' (105) panicked at src/tests.rs:25:17: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "[Contract]: SingleOffer[Interface]:-() [create]* Inputs:{e: Envseller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 14, instruction: exit_with_message, input: (\"offer is already created\"), scope: 12 }{ id: 23, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_17, scope: 0 }{ id: 28, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_18, scope: 0 }{ id: 29, instruction: or, input: (BINARY_EXPRESSION_LEFT_17, BINARY_EXPRESSION_RIGHT_18), assign: CONDITIONAL_JUMP_ASSIGNMENT_16, scope: 0 }{ id: 31, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_16, 30), scope: 0 }{ id: 32, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 30 }{ id: 36, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 49, instruction: instantiate_object, input: (&, UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_41, scope: 0 }{ id: 53, instruction: evaluate, input: (write_offer, &, e, CALL_EXPRESSION_ARG_2_41), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 129, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 136, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 150, instruction: evaluate, input: (token::Client::new, &, e, &offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 164, instruction: evaluate, input: (token::Client::new, &, e, &offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 175, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_167, scope: 0 }{ id: 176, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_167.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_165, scope: 0 }{ id: 181, instruction: divide, input: (BINARY_EXPRESSION_LEFT_165, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 2, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_182, scope: 0 }{ id: 4, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_182, 3), scope: 0 }{ id: 5, instruction: exit_with_message, input: (\"price is too low\"), scope: 3 }{ id: 9, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 31, instruction: evaluate, input: (buy_token_client.transfer, &, buyer, &, contract, &, buy_token_amount), scope: 0 }{ id: 55, instruction: evaluate, input: (sell_token_client.transfer, &, contract, &, buyer, &, sell_token_amount), scope: 0 }{ id: 84, instruction: evaluate, input: (buy_token_client.transfer, &, contract, &offer.seller, &, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 15, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 21, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 50, instruction: evaluate, input: (token::Client::new, &, e, &, token), assign: METHOD_CALL_EXPRESSION_39, scope: 0 }{ id: 27, instruction: evaluate, input: (&, e.current_contract_address), assign: METHOD_CALL_ARG_1_22, scope: 0 }{ id: 51, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_39.transfer, METHOD_CALL_ARG_1_22, &offer.seller, &, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 17, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_11, scope: 0 }{ id: 22, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_12, scope: 0 }{ id: 23, instruction: or, input: (BINARY_EXPRESSION_LEFT_11, BINARY_EXPRESSION_RIGHT_12), assign: CONDITIONAL_JUMP_ASSIGNMENT_10, scope: 0 }{ id: 25, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_10, 24), scope: 0 }{ id: 26, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 24 }{ id: 34, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 40, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 48, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 56, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 67, instruction: evaluate, input: (write_offer, &, e, &, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 9, instruction: evaluate, input: (load_offer, &, e), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Offer: ()}* (Offer_STRUCT){seller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}:[User Defined Types][Helpers]:-() [load_offer]* Inputs:{e: &Env}* Output: Offer* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, &, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [write_offer]* Inputs:{e: &Envoffer: &Offer}* Instructions:${ id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.set, &, DataKey::Offer, offer), scope: 0 }$:[Helpers]" [INFO] [stdout] right: "[Contract]: SingleOffer[Interface]:-() [create]* Inputs:{e: Envseller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.has, &, DataKey::Offer), assign: CONDITIONAL_JUMP_ASSIGNMENT_0, scope: 0 }{ id: 13, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_0, 12), scope: 0 }{ id: 14, instruction: exit_with_message, input: (\"offer is already created\"), scope: 12 }{ id: 23, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_17, scope: 0 }{ id: 28, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_18, scope: 0 }{ id: 29, instruction: or, input: (BINARY_EXPRESSION_LEFT_17, BINARY_EXPRESSION_RIGHT_18), assign: CONDITIONAL_JUMP_ASSIGNMENT_16, scope: 0 }{ id: 31, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_16, 30), scope: 0 }{ id: 32, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 30 }{ id: 36, instruction: evaluate, input: (seller.require_auth), scope: 0 }{ id: 49, instruction: instantiate_object, input: (&, UDT, Offer, seller, sell_token, buy_token, sell_price, buy_price), assign: CALL_EXPRESSION_ARG_2_41, scope: 0 }{ id: 53, instruction: evaluate, input: (write_offer, &, e, CALL_EXPRESSION_ARG_2_41), scope: 0 }$-() [trade]* Inputs:{e: Envbuyer: Addressbuy_token_amount: BigIntegermin_sell_token_amount: BigInteger}* Instructions:${ id: 56, instruction: evaluate, input: (buyer.require_auth), scope: 0 }{ id: 63, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 77, instruction: evaluate, input: (token::Client::new, &, e, &offer.sell_token), assign: sell_token_client, scope: 0 }{ id: 91, instruction: evaluate, input: (token::Client::new, &, e, &offer.buy_token), assign: buy_token_client, scope: 0 }{ id: 102, instruction: evaluate, input: (buy_token_amount.checked_mul, offer.sell_price), assign: METHOD_CALL_EXPRESSION_94, scope: 0 }{ id: 103, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_94.unwrap_optimized), assign: BINARY_EXPRESSION_LEFT_92, scope: 0 }{ id: 108, instruction: divide, input: (BINARY_EXPRESSION_LEFT_92, offer.buy_price), assign: sell_token_amount, scope: 0 }{ id: 114, instruction: evaluate, input: (less_than, sell_token_amount, min_sell_token_amount), assign: CONDITIONAL_JUMP_ASSIGNMENT_109, scope: 0 }{ id: 116, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_109, 115), scope: 0 }{ id: 117, instruction: exit_with_message, input: (\"price is too low\"), scope: 115 }{ id: 121, instruction: evaluate, input: (e.current_contract_address), assign: contract, scope: 0 }{ id: 136, instruction: evaluate, input: (buy_token_client.transfer, &, buyer, &, contract, &, buy_token_amount), scope: 0 }{ id: 151, instruction: evaluate, input: (sell_token_client.transfer, &, contract, &, buyer, &, sell_token_amount), scope: 0 }{ id: 169, instruction: evaluate, input: (buy_token_client.transfer, &, contract, &offer.seller, &, buy_token_amount), scope: 0 }$-() [withdraw]* Inputs:{e: Envtoken: Addressamount: BigInteger}* Instructions:${ id: 176, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 182, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 211, instruction: evaluate, input: (token::Client::new, &, e, &, token), assign: METHOD_CALL_EXPRESSION_200, scope: 0 }{ id: 188, instruction: evaluate, input: (&, e.current_contract_address), assign: METHOD_CALL_ARG_1_183, scope: 0 }{ id: 212, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_200.transfer, METHOD_CALL_ARG_1_183, &offer.seller, &, amount), scope: 0 }$-() [updt_price]* Inputs:{e: Envsell_price: Integerbuy_price: Integer}* Instructions:${ id: 220, instruction: evaluate, input: (equal_to, buy_price, 0), assign: BINARY_EXPRESSION_LEFT_214, scope: 0 }{ id: 225, instruction: evaluate, input: (equal_to, sell_price, 0), assign: BINARY_EXPRESSION_RIGHT_215, scope: 0 }{ id: 226, instruction: or, input: (BINARY_EXPRESSION_LEFT_214, BINARY_EXPRESSION_RIGHT_215), assign: CONDITIONAL_JUMP_ASSIGNMENT_213, scope: 0 }{ id: 228, instruction: jump, input: (CONDITIONAL_JUMP_ASSIGNMENT_213, 227), scope: 0 }{ id: 229, instruction: exit_with_message, input: (\"zero price is not allowed\"), scope: 227 }{ id: 237, instruction: evaluate, input: (load_offer, &, e), assign: offer, scope: 0 }{ id: 243, instruction: evaluate, input: (offer.seller.require_auth), scope: 0 }{ id: 251, instruction: assign, input: (sell_price), assign: offer.sell_price, scope: 0 }{ id: 259, instruction: assign, input: (buy_price), assign: offer.buy_price, scope: 0 }{ id: 270, instruction: evaluate, input: (write_offer, &, e, &, offer), scope: 0 }$-() [get_offer]* Inputs:{e: Env}* Output: Offer* Instructions:${ id: 277, instruction: evaluate, input: (load_offer, &, e), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$:[Interface][User Defined Types]:* (DataKey_ENUM){Offer: ()}* (Offer_STRUCT){seller: Addresssell_token: Addressbuy_token: Addresssell_price: Integerbuy_price: Integer}:[User Defined Types][Helpers]:-() [load_offer]* Inputs:{e: &Env}* Output: Offer* Instructions:${ id: 9, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 10, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.instance), assign: METHOD_CALL_EXPRESSION_5, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_5.get, &, DataKey::Offer), assign: METHOD_CALL_EXPRESSION_0, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_0.unwrap), assign: Thing_to_return, scope: 0 }{ id: 0, instruction: return, input: (Thing_to_return), scope: 0 }$-() [write_offer]* Inputs:{e: &Envoffer: &Offer}* Instructions:${ id: 10, instruction: evaluate, input: (e.storage), assign: METHOD_CALL_EXPRESSION_7, scope: 0 }{ id: 11, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_7.instance), assign: METHOD_CALL_EXPRESSION_6, scope: 0 }{ id: 12, instruction: evaluate, input: (METHOD_CALL_EXPRESSION_6.set, &, DataKey::Offer, offer), scope: 0 }$:[Helpers]" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9b8c5 - core::panicking::assert_failed::h607f9e05e0114c5c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805fc7e70 - rust_to_dtr::tests::full_contract_tests::assert_transpiled_code::h73566a6620eeaffc [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:25:17 [INFO] [stdout] 22: 0x5d8805fc9245 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::h9c81d3d66884e722 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:43:21 [INFO] [stdout] 23: 0x5d8805fc9287 - rust_to_dtr::tests::full_contract_tests::test_stellar_official_repo_examples_single_offer::{{closure}}::hc3f689b8413bd1ec [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:41:67 [INFO] [stdout] 24: 0x5d880600e926 - core::ops::function::FnOnce::call_once::h606263f765644ca7 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 44: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x78de3fe54aa4 - [INFO] [stdout] 46: 0x78de3fee1a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- translate::expression::repeat_expression::tests::test_handle_repeat_expression stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'translate::expression::repeat_expression::tests::test_handle_repeat_expression' (151) panicked at src/translate/expression/repeat_expression.rs:67:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: [Instruction { id: 8, name: "assign", input: ["hello"], assign: "REPEAT_EXPRESSION_VALUE_1", scope: 0 }, Instruction { id: 9, name: "assign", input: ["3"], assign: "REPEAT_EXPRESSION_LENGTH_3", scope: 0 }, Instruction { id: 10, name: "evaluate", input: ["repeat", "REPEAT_EXPRESSION_VALUE_1", "REPEAT_EXPRESSION_LENGTH_3"], assign: "foobar", scope: 0 }] [INFO] [stdout] right: [Instruction { id: 2, name: "assign", input: ["hello"], assign: "REPEAT_EXPRESSION_VALUE_0", scope: 0 }, Instruction { id: 3, name: "assign", input: ["3"], assign: "REPEAT_EXPRESSION_LENGTH_1", scope: 0 }, Instruction { id: 4, name: "evaluate", input: ["repeat", "REPEAT_EXPRESSION_VALUE_0", "REPEAT_EXPRESSION_LENGTH_1"], assign: "foobar", scope: 0 }] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d8806204c42 - std::backtrace_rs::backtrace::libunwind::trace::h62f3c6bea0fedab3 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d8806204c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hc41aaca6c0af0bde [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d8806204c42 - std::sys::backtrace::_print_fmt::h33ac2b97007106cc [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d8806204c42 - ::fmt::h4e0a3aeea0f9c085 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d8806216a4f - core::fmt::rt::Argument::fmt::h1edd6a3e00b22f10 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d8806216a4f - core::fmt::write::hecf68a131630c74d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d88061d1fd1 - std::io::default_write_fmt::ha6b238eff7f0ef8a [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d88061d1fd1 - std::io::Write::write_fmt::h9846fe3d2a36c1ea [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d88061de0a2 - std::sys::backtrace::BacktraceLock::print::h75160192768e5621 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d88061e2c3f - std::panicking::default_hook::{{closure}}::h14d82797cfb1ddcb [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d88061e2ad1 - std::panicking::default_hook::h63f9bf8161c5d325 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5d8806033c6e - as core::ops::function::Fn>::call::hb8126f8384f98101 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5d8806033c6e - test::test_main_with_exit_callback::{{closure}}::hae96ae0cd2f2ce70 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5d88061e33af - as core::ops::function::Fn>::call::ha703f6686c81d0c6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5d88061e33af - std::panicking::panic_with_hook::h3173740e06bd0752 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5d88061e315a - std::panicking::panic_handler::{{closure}}::hbac492c61eb56a87 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5d88061de1d9 - std::sys::backtrace::__rust_end_short_backtrace::haa3eac3df9535320 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5d88061c5e6d - __rustc[de0091b922c53d7e]::rust_begin_unwind [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5d880621ebf0 - core::panicking::panic_fmt::h5138da2ef87be35b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5d880621e9f3 - core::panicking::assert_failed_inner::h1c85740028aaa416 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5d8805f9bb7a - core::panicking::assert_failed::he930e08ed882f3e6 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5d8805f8cd09 - rust_to_dtr::translate::expression::repeat_expression::tests::test_handle_repeat_expression::h9ddc36b4cb703265 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/repeat_expression.rs:67:9 [INFO] [stdout] 22: 0x5d8805f8ce07 - rust_to_dtr::translate::expression::repeat_expression::tests::test_handle_repeat_expression::{{closure}}::ha6bd6ab6392fabb0 [INFO] [stdout] at /opt/rustwide/workdir/src/translate/expression/repeat_expression.rs:59:39 [INFO] [stdout] 23: 0x5d8806010046 - core::ops::function::FnOnce::call_once::hdf00e8b773af7743 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5d8806033a4b - core::ops::function::FnOnce::call_once::h8f50ae93d93b62b4 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5d8806033a4b - test::__rust_begin_short_backtrace::h447963718d05a644 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5d8806049685 - test::run_test_in_process::{{closure}}::hf890ba4755ca86c0 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5d8806049685 - as core::ops::function::FnOnce<()>>::call_once::h31e4b2860e583faa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5d8806049685 - std::panicking::catch_unwind::do_call::hec7cdbbe797e2cab [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5d8806049685 - std::panicking::catch_unwind::h24d3b93458b5ba67 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5d8806049685 - std::panic::catch_unwind::h46eeec7cf9c9336c [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5d8806049685 - test::run_test_in_process::h290de6e559006104 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5d8806049685 - test::run_test::{{closure}}::h26eeb2c5f7e9a995 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5d880601fe84 - test::run_test::{{closure}}::h85af00882daabeaa [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5d880601fe84 - std::sys::backtrace::__rust_begin_short_backtrace::h9d9305dda51fa5f2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc6aada8b43f0527b [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x5d880602382a - as core::ops::function::FnOnce<()>>::call_once::ha89fe5505c1206f5 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5d880602382a - std::panicking::catch_unwind::do_call::he3e0bef721d99583 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5d880602382a - std::panicking::catch_unwind::ha8241964d3d773cd [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5d880602382a - std::panic::catch_unwind::ha8554bc7696cae72 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5d880602382a - std::thread::Builder::spawn_unchecked_::{{closure}}::he06f1f62b4c90f8d [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x5d880602382a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha7fd20ecae19b9b9 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5d88061d93cf - as core::ops::function::FnOnce>::call_once::h43642ed9c40e0ab2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x5d88061d93cf - std::sys::thread::unix::Thread::new::thread_start::h38da0f633f090ce2 [INFO] [stdout] at /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x78de3fe54aa4 - [INFO] [stdout] 45: 0x78de3fee1a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_break_statement_not_too_many_scope_jumps [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_closure_around_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_count_zero_to_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_get_force_type_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_if_else_let_return_some_or_none [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_if_let_expression [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_increment_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_innerds_of_enums [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_let_else_expression [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_log_if_answer_to_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_match_on_numbers [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_non_range_for_loop [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_numbered_enums_to_the_answer_of_life [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_return_if_expression_assignment [INFO] [stdout] tests::full_contract_tests::test_digicus_unofficial_examples_simple_sum_in_for_loop [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_account [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_alloc [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_multiswap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_atomic_swap [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_auth [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_cross_contract_a [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_custom_types [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_deployer_contract [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_deployer_deployer [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_events [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_fuzzing [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_increment [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_mint_lock [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_simple_account [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_single_offer [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_timelock [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_ttl [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_new_contract [INFO] [stdout] tests::full_contract_tests::test_stellar_official_repo_examples_upgradable_contract_old_contract [INFO] [stdout] translate::expression::assign_expression::tests::test_handle_assign_expression [INFO] [stdout] translate::expression::binary_expression::tests::test_binary_expression_simple_subtraction_and_assignment [INFO] [stdout] translate::expression::cast_expression::tests::test_handle_cast_expression [INFO] [stdout] translate::expression::field_expression::tests::test_handle_field_expression_index [INFO] [stdout] translate::expression::for_loop_expression::tests::test_handle_for_loop_non_range_iterator_expression [INFO] [stdout] translate::expression::for_loop_expression::tests::test_handle_nested_for_loop_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_elseif_else_expression [INFO] [stdout] translate::expression::if_expression::tests::test_handle_if_let_expression [INFO] [stdout] translate::expression::match_expression::tests::test_handle_match_expression [INFO] [stdout] translate::expression::method_call_expression::tests::test_handle_method_call_expression [INFO] [stdout] translate::expression::path_expression::tests::test_handle_path_expression [INFO] [stdout] translate::expression::repeat_expression::tests::test_handle_repeat_expression [INFO] [stdout] [INFO] [stdout] test result: FAILED. 98 passed; 47 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0644193b2c99c8627f7feaceca83d520c46ca176b7dba11a21f6007f6c97a21b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0644193b2c99c8627f7feaceca83d520c46ca176b7dba11a21f6007f6c97a21b", kill_on_drop: false }` [INFO] [stdout] 0644193b2c99c8627f7feaceca83d520c46ca176b7dba11a21f6007f6c97a21b